Page 1 of 2
Dual Monitors - Issue with Button Menu popup location
Posted: 09 Mar 2023 15:43
by Wheathead
When I open XYplorer on the laptop screen Monitor 1, (1920 x 1080) - I get a predictable popup location beneath my "Misc" button on the toolbar as expected, right under the button.
2023-03-09 09_18_40-.png
When I open XYplorer on my second Monitor 2 which is a larger monitor with 1920 x 1200, the popup opens only at the bottom of the XYplorer window. I also tried setting Monitor 2 to a setting identical to 1920 x 1080 to see if that makes a difference, and it did not, the popup opened at the bottom. Also adjusted scale and layout from 125% to 100% and no change on the position of the popup at the bottom.
2023-03-09 09_23_40-.png
Is there something else I might try. I use the 2nd monitor mostly when I'm processing curated files and I'd like to use a button to organize some of my "moveto" utilities within the button
Wheathead
Re: Dual Monitors - Issue with Button Menu popup location
Posted: 10 Mar 2023 09:43
by admin
1) Is that a new problem?
2) All other menus pop at the right place?
Re: Dual Monitors - Issue with Button Menu popup location
Posted: 10 Mar 2023 14:59
by Wheathead
admin wrote: ↑10 Mar 2023 09:43
1) Is that a new problem?
2) All other menus pop at the right place?
1. Not a new problem — I just wasn't using configured buttons much so I wasn't over-concerned. As I find new features I like to exploit them. Note the position is always correct when I open on the laptop screen (monitor 1) but always on the bottom when I use (and prefer) to open XYplorer on 2nd monitor - Monitor 2.
2. All other menus pop at bottom on the 2nd monitor. Recently I scripted additional items in the hamburger menu
Here;s the pic showing the position of the popup from list header
2023-03-10 08_53_44-.png
Re: Dual Monitors - Issue with Button Menu popup location
Posted: 10 Mar 2023 16:13
by admin
Quite unusual, never heard of this issue.
1) How are you monitors positioned? One of top of the other?
2) And the standard button menus pop alright? For example the "Open With" button menu.
Re: Dual Monitors - Issue with Button Menu popup location
Posted: 10 Mar 2023 22:36
by Wheathead
Weird eh?
yes 2 on top of 1
Yes, Open With works as designed.
2023-03-10 16_19_41-Settings.png
2023-03-10 16_23_13-My Default - Downloads • Downloads - XYplorer 24.20.png
Monitor 2 is HNC monitor attached via HDMI directly from the laptop. The Laptop (Monitor 1) and (Monitor 2) use the built in graphics card (Intel HD Graphics 5500)
Monitor 3 is my JVC TV and it runs off a separate graphics card within the Dell Dock using Display Link and I don't use that for any data processing, just streaming videos or audio via the soundbar.
Wheathead
Listening to the Blues - Arrow Blues Box Radio Netherlands —
https://playerservices.streamtheworld.c ... BOXAAC.aac
Re: Dual Monitors - Issue with Button Menu popup location
Posted: 11 Mar 2023 10:18
by admin
Tricky, cannot really see it from the code.
In the next beta, when you pop such a popup menu you
can* get a debug log in the status about the current monitor and the coords of the popup menu, e.g.:
monitor=1, X=643, Y=186

* to enable this logging run this through the address bar:
::logchange 16 (not remembered across sessions)
You can copy the value to the clipboard via Ctrl+Right-Click on that text on the status bar (that little popup menu itself is not debug-logged).
I'm curious about the difference we will see between the menus that work OK and the others.
Re: Dual Monitors - Issue with Button Menu popup location
Posted: 11 Mar 2023 13:03
by Wheathead
Thanks, I'll do that.
Re: Dual Monitors - Issue with Button Menu popup location
Posted: 11 Mar 2023 14:04
by Wheathead
Using Monitor 2, HNC Monitor above Laptop
1. For Monitor 2 using the OpenWith toolbar button where the popup emanates from the toolbar button at the top:
Monitor — OpenWith toolbar button
monitor=2, X=57, Y=-1080, flags=0, nested=False
2. For Monitor 2 using my own Misc toolbar button where the popup emanates from the bottom:
Monitor 2 — Misc toolbar button
monitor=2, X=1514, Y=-1, flags=0, nested=True
Using Monitor 1, Laptop screen —
1. For Monitor 1 using OpenWith toolbar button,
monitor=1, X=57, Y=120, flags=0, nested=False
2. For Monitor 1 using my own Misc toolbar button the popup emanates from the toolbar button at the top as designed:
Monitor 1 — Misc toolbar button
monitor=1, X=1514, Y=120, flags=0, nested=True
Re: Dual Monitors - Issue with Button Menu popup location
Posted: 11 Mar 2023 15:39
by admin

Could you also post the return of this:
screen;
Re: Dual Monitors - Issue with Button Menu popup location
Posted: 11 Mar 2023 18:28
by Wheathead
Monitor 2 Screen showing popup at bottom:
2023-03-11 12_23_21-Greenshot.png
2023-03-11 12_35_10-Greenshot.png
Re: Dual Monitors - Issue with Button Menu popup location
Posted: 11 Mar 2023 18:31
by admin
I meant run this script through the address bar:
Re: Dual Monitors - Issue with Button Menu popup location
Posted: 11 Mar 2023 18:41
by Wheathead
Sorry, yes.
- Virtual Screen: (0, -1200) - (3840, 2280)
Screen.Width (screenW) = 1920 (1920)
Screen.Height (screenH) = 1080 (1200)
Current Monitor: 2 (Secondary)
Current Work Area: (0, -1200) - (1920, 0)
Number of Monitors: 3
Monitor 1 Area: (0, 0) - (1920, 1080) = 1920x1080
Monitor 1 Area Work: (0, 0) - (1920, 1030)
Monitor 1 DPI: 120 (125%)
Monitor 2 Area: (0, -1200) - (1920, 0) = 1920x1200
Monitor 2 Area Work: (0, -1200) - (1920, 0)
Monitor 2 DPI: 120 (125%)
Monitor 3 Area: (1920, -85) - (3840, 995) = 1920x1080
Monitor 3 Area Work: (1920, -85) - (3840, 995)
Monitor 3 DPI: 144 (150%)
Startup Work Area: (0, 0) - (1920, 1030)
GetCursorPos = 244, -1054
XY Main Window: (-9, -1209) - (1929, 9) = 1938x1218, Scale: 1920x1146
Monitor: 2/3 (Secondary)
Screen: 1920x1200 Virtual: (0, -1200) - (3840, 2280) Work: (0, 0) - (1920, 1030)
Screen DPI: 120 (125%) twX: 12 (12) Stretch: 1.25 sLF: 1.25 Toolbar Zoom: 1 (0;0)
Screen Color Depth: 32 Line Spacing: 2 (2.5)
DPI awareness: Per monitor Auto Scaling: Yes, Yes
UseDPIAwareIconSizes: Yes
Icon Size: Small=16, Large=32, Extra Large=48, Jumbo=256
Icon Size Controls: Small=20, Large=40, Extra Large=48, Jumbo=256
Icon Size Recommended: Small=20, Large=40, Extra Large=48, Jumbo=256
Re: Dual Monitors - Issue with Button Menu popup location
Posted: 11 Mar 2023 18:55
by admin
Thanks. When you make another button with a very simple menu, eg:
is it also misplaced?
Re: Dual Monitors - Issue with Button Menu popup location
Posted: 11 Mar 2023 19:01
by Wheathead
No it is not misplaced.
monitor=2, X=-1, Y=-1, flags=0, nested=False
Re: Dual Monitors - Issue with Button Menu popup location
Posted: 11 Mar 2023 19:04
by admin
Ok. I have to think about that. Will probably take till Monday...
