Minimized window misbehaviour on resolution change

Things you’d like to miss in the future...
Post Reply
Creat
Posts: 224
Joined: 22 Sep 2005 18:27

Minimized window misbehaviour on resolution change

Post by Creat » 30 Nov 2009 16:52

Found another bug (that has been around for a while), and now I'm finally reporting it :)

Background: I often work logged in on my server (which doesn't have a monitor attached) via Remote Desktop from various PCs including my Laptop. This causes the screen resolution to change frequently since it's obviously bounded by the resolution of the host-PC I'm connecting from.

The problem: If XYplorer is minimized when the resolution is changed (this is NOT limited to remote desktop sessions, that's just the reason I notice it frequently!) and then subsequently restored the window layout isn't updated properly to reflect the new window size. See the attached screenshot for an example...
Attachments
misbehaving window.jpg
XYplorer Window after resolution change
misbehaving window.jpg (68.64 KiB) Viewed 630 times

admin
Site Admin
Posts: 49053
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Minimized window misbehaviour on resolution change

Post by admin » 02 Dec 2009 09:32

OK, thanks for reporting. Allow me to give this a low prio because the conditions are pretty exotic IMO, and it's totally harmless, and it should go away by itself once you resize the window (right?).
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Wear a mask! 😷

Creat
Posts: 224
Joined: 22 Sep 2005 18:27

Re: Minimized window misbehaviour on resolution change

Post by Creat » 02 Dec 2009 13:29

Yea of course, just wanted to finally report it since I notice it pretty much daily and haven't said anything :)

paludis
Posts: 38
Joined: 22 Apr 2017 15:57

Re: Minimized window misbehaviour on resolution change

Post by paludis » 23 Jul 2020 14:47

I find myself hitting this bug on a regular basis.

There is also the inversion of this problem. If you go from a lager resolution to a smaller one, the window is cut off and the status bar is not visible anymore.

I run XYplorer maximized by default and I use Remote Desktop quite frequently (on a daily basis actually), so it quite tedious to adjust the window size every single time.

Is there a chance this bug could get some higher priority? After all it has been around quite a while now. ;)

Thank you.

admin
Site Admin
Posts: 49053
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Minimized window misbehaviour on resolution change

Post by admin » 23 Jul 2020 16:18

Wow, 11 years old topic revived. Zombie. Anyway, this is one of the things that just will disappear with the new 64-bit edition.
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Wear a mask! 😷

Creat
Posts: 224
Joined: 22 Sep 2005 18:27

Re: Minimized window misbehaviour on resolution change

Post by Creat » 27 Jul 2020 14:16

Wow it surely has been a hot minute, appreciate the update very much! Also first heard about the 64 bit / C# version through this, so appreciate it even more! Can't wait!

And yes, this bug still exists in the current release version, and is still annoying me almost daily :oops:

admin
Site Admin
Posts: 49053
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Minimized window misbehaviour on resolution change

Post by admin » 03 Aug 2020 23:06

Interesting because you seem to be the only one. The only one who reports it at least.
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Wear a mask! 😷

Borut
Posts: 1386
Joined: 19 Oct 2010 19:29

Re: Minimized window misbehaviour on resolution change

Post by Borut » 04 Aug 2020 15:56

Nope, he is not the only one.

I mentioned this in 2018 (and much much earlier, but now could not find my first post about it):
viewtopic.php?f=5&t=19610&p=163665#p163665

I guess you can not even imagine how distracting this is for power users who switch between tens of remote sessions on a daily bases.
Win 7 Pro 64bit

admin
Site Admin
Posts: 49053
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Minimized window misbehaviour on resolution change

Post by admin » 05 Aug 2020 11:41

I will (v20.90.0802) add a temporary scripting command to find out what's necessary to handle this. For now it should at least make it a one-click action for you.

Code: Select all

updatescreenmetrics;
In the misbehaviour situation please run this command and let me know if it does the job.
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Wear a mask! 😷

Borut
Posts: 1386
Joined: 19 Oct 2010 19:29

Re: Minimized window misbehaviour on resolution change

Post by Borut » 07 Aug 2020 11:36

I tried hard, but somehow have an impression that 20.90.0802 manages it already "automagically" :) in almost all cases. Do not know what have you done, but it seems good at my place. When it once happened I used the ::updatescreenmetrics; which did the right thing. Unfortunately I can not tell what was different when it happened. At the moment when I reactivated that remote session with other monitor the XY application did not have focus (and did not resize after getting it). I think that in other cases XY had focus, but am not 100% sure. In any case, thanks a lot!! :tup:
Win 7 Pro 64bit

admin
Site Admin
Posts: 49053
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Minimized window misbehaviour on resolution change

Post by admin » 07 Aug 2020 18:02

So waving the debug command intimidated the bug, cool! Fix by threat, I'll keep that in mind.
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Wear a mask! 😷

Post Reply