Page 1 of 1

Panel position not retained between XY sessions

Posted: 07 Dec 2014 13:32
by Zardoz2293
Until the last few weeks the Panel and LV maintained their size between XY sessions (terminate/execute). Now the Panel is very small (about an inch or two) while the LV takes up most of the client real estate. Is there an option to retain between sessions now or is this a bug with some monitor configurations based on some new change?

Thanks!

Re: Panel position not retained between XY sessions

Posted: 07 Dec 2014 14:08
by admin
The Info Panel is too small? Strange, I fixed a bug there on 20141112. I don't see where this could have negative effects.

Does it help if you resize the window?

Re: Panel position not retained between XY sessions

Posted: 07 Dec 2014 20:52
by Zardoz2293
Desktop configuration is Monitor 1 (2560 x 1440) Landscape, Monitor 2 (1440 x 2560) is Portrait. XY is always located on Monitor 2.

I always keep XY maximized. Resized XY as requested and Panel/LV position is now being saved correctly. Apparently there is something about the routine based on my desktop configuration with XY maximized where resizing the Panel/LV doesn't cause that information to be updated from whatever data was previously retained (prior to resizing XY).
417.png
415.png

Re: Panel position not retained between XY sessions

Posted: 08 Dec 2014 10:35
by admin
ATM I cannot see what could cause that.

Re: Panel position not retained between XY sessions

Posted: 08 Dec 2014 15:41
by Zardoz2293
admin wrote:ATM I cannot see what could cause that.
I restored my prior XYplorer.ini and the problem didn't occur. Should it occur again, I'll perform an immediate backup of the XY data folder, then perform the correction procedure and if it works, compare against the backup data. If I can replicate I'll provided how to reproduce.

Thanks for the solution. :D

Re: Panel position not retained between XY sessions

Posted: 08 Dec 2014 16:01
by admin
Cool, that should bring out the truth.

Re: Panel position not retained between XY sessions

Posted: 08 Jan 2015 00:55
by Zardoz2293
admin wrote:Cool, that should bring out the truth.
Procedure to reproduce:

The specific landscape/portrait dual monitor configuration in conjunction with updating the NVIDIA video driver while XY is loaded causes XY to obtain and retain incorrect WinW and WinH values for which the panel will never retain sizing changes.

LEFT-SIDE, Monitor #1 (2560 x 1440 landscape); RIGHT-SIDE, Monitor #2 (1440 x 2560), AND if XY is loaded and the video driver is updated XY is MOVED to Monitor #1 during the video reconfiguration as Monitor #2 is briefly deactivated and XY will retain (or obtain) incorrect WinW and WinH values once the driver is finished installing. Why WinX is 2 pixels larger than the monitor size is a mystery.

Invalid XYplorer.ini values which PREVENT PANEL from retaining position set.

Code: Select all

WinW=132
WinH=82
WinX=2562
InfoPanelHeight=1281
InfoPanelHeightJump=1281
Valid XYplorer.ini values which ALLOW PANEL to retain position set.

Code: Select all

WinW=1384
WinH=2371
WinX=2560
InfoPanelHeight=1044
InfoPanelHeightJump=1044
The workaround is taking XY from Maximized mode, resizing, then Maximized mode again.

Seems that if the panel is moved it XY might check the WinW and WinH values and if they don't make sense update them to the current XY application values. Obviously, one could perform the workaround or unload XY, but it seems this panel anomaly might occur with screen sizing software or in VM environment with sizing as well.

What are your thoughts?