mIRC Home    About    Download    Register    News    Help

Print Thread
Aero theme MDI issue #268483 21/02/21 06:56 PM
Joined: Jul 2014
Posts: 226
TECO Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Jul 2014
Posts: 226
Hi Khaled,

I notice in the new theme of the new beta version, that when we place the windows in Vertical or Horizontal, the windows that are in the corners, there is a small space in the background that I put in the mIRC. I put the green background so that you could check that the windows have a small space, not the whole space.

I leave two images for you to check.

Title Vertical
Title Horizontal

These situations do not occur in the latest version of mIRC 7.64

Hug!


TECO
irc.PTirc.org (Co-Admin)
Re: Aero theme MDI issue [Re: TECO] #268486 21/02/21 09:16 PM
Joined: Dec 2002
Posts: 4,919
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,919
Thanks for your bug report. This issue is also present in previous versions. It is due to the Windows WM_MDITILE message which will not make the windows at the right/bottom-most edge larger than others if it does not fit the MDI area exactly, depending on your mIRC window size.

Re: Aero theme MDI issue [Re: Khaled] #268492 22/02/21 09:00 PM
Joined: Sep 2015
Posts: 97
klez Offline
Babel fish
Offline
Babel fish
Joined: Sep 2015
Posts: 97
Don't want to create a separate thread, that's why i want to write here..

Aero theme on MDI windows is a great option and i'm glad to see this option that will be introduced in 7.65, but, is possible to make an option the user to choose: small, medium or large border size of the windows, because, for me, is too large the border size smile But, although, looks great! Congratulations Khaled for this major change smile

Last edited by klez; 22/02/21 09:01 PM.
Re: Aero theme MDI issue [Re: klez] #268496 23/02/21 03:21 PM
Joined: Dec 2002
Posts: 4,919
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,919
Quote
small, medium or large border size of the windows

I'm afraid not - the border/frame/etc. sizes you are seeing are the standard size for MDI windows. I will not be changing these and there are no plans to add any form of customization to this feature.

Re: Aero theme MDI issue [Re: TECO] #268503 26/02/21 06:35 PM
Joined: Dec 2002
Posts: 4,919
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,919
I had a look at the code where WM_MDITILE is used. There actually was some commented-out, non-working code there from a few years ago that attempted to resolve the issue with the right-bottom extra space left over after a tile completes.

I had another go and implemented a solution that adjusts the right/bottom-most windows after WM_MDITILE is used. It works. But... every time windows are tiled, they are re-sized by WM_MDITILE and have to be adjusted again. If you have many windows opening/closing at once, or often, and you have a feature like auto-tile enabled, this results in a visible flicker.

The only other solution was to implement my own tiling code, which usually isn't a good idea for a standard feature because it can be difficult to copy its behaviour exactly. It took several attempts but my final tiling function does seem to work in the same way as WM_MDITILE, without the bottom/right extra space. As far as I can tell, in both vertical and horizontal tiling, windows are placed in the same positions as WM_MDITILE and their Control+Tab positions are the same. It also doesn't move/size tool windows, moves but does not resize non-sizable windows, and so on. But there may be other contexts it doesn't take into account, so it will need testing. This will be in the next beta.

Re: Aero theme MDI issue [Re: Khaled] #268504 26/02/21 11:04 PM
Joined: Jul 2014
Posts: 226
TECO Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Jul 2014
Posts: 226
Thank you


TECO
irc.PTirc.org (Co-Admin)
Re: Aero theme MDI issue [Re: Khaled] #268506 01/03/21 04:10 AM
Joined: Jul 2014
Posts: 226
TECO Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Jul 2014
Posts: 226
Hi Khaled
I made a video where it shows in two positions of the status window, in which the mIRC if it is closed and returned to open the status window presents that space on the right side and the lower area of the window.

See if you can see if there is a way to improve this.

Video


TECO
irc.PTirc.org (Co-Admin)
Re: Aero theme MDI issue [Re: TECO] #268507 01/03/21 09:23 AM
Joined: Dec 2002
Posts: 4,919
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,919
Thanks this has been fixed for the next beta.

Re: Aero theme MDI issue [Re: Khaled] #268539 10/03/21 10:22 AM
Joined: Jul 2014
Posts: 226
TECO Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Jul 2014
Posts: 226
With the last beta update the problem has been solved. Thanks!


TECO
irc.PTirc.org (Co-Admin)