Dual Monitors - Issue with Button Menu popup location
Dual Monitors - Issue with Button Menu popup location
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.
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.
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
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.
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
-
- Site Admin
- Posts: 63412
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Dual Monitors - Issue with Button Menu popup location
1) Is that a new problem?
2) All other menus pop at the right place?
2) All other menus pop at the right place?
FAQ | XY News RSS | XY Bluesky
Re: Dual Monitors - Issue with Button Menu popup location
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
-
- Site Admin
- Posts: 63412
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Dual Monitors - Issue with Button Menu popup location
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.
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.
FAQ | XY News RSS | XY Bluesky
Re: Dual Monitors - Issue with Button Menu popup location
Weird eh?
yes 2 on top of 1
Yes, Open With works as designed.
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
yes 2 on top of 1
Yes, Open With works as designed.
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
-
- Site Admin
- Posts: 63412
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Dual Monitors - Issue with Button Menu popup location
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.:
* to enable this logging run this through the address bar:
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.
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

::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.
FAQ | XY News RSS | XY Bluesky
Re: Dual Monitors - Issue with Button Menu popup location
Thanks, I'll do that.
Re: Dual Monitors - Issue with Button Menu popup location
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
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
-
- Site Admin
- Posts: 63412
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Dual Monitors - Issue with Button Menu popup location

screen;
FAQ | XY News RSS | XY Bluesky
Re: Dual Monitors - Issue with Button Menu popup location
Monitor 2 Screen showing popup at bottom:
Last edited by Wheathead on 11 Mar 2023 18:36, edited 1 time in total.
-
- Site Admin
- Posts: 63412
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Dual Monitors - Issue with Button Menu popup location
I meant run this script through the address bar:
Code: Select all
screen;
FAQ | XY News RSS | XY Bluesky
Re: Dual Monitors - Issue with Button Menu popup location
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
-
- Site Admin
- Posts: 63412
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Dual Monitors - Issue with Button Menu popup location
Thanks. When you make another button with a very simple menu, eg:
is it also misplaced?
Code: Select all
echo "a";
echo "b";
FAQ | XY News RSS | XY Bluesky
Re: Dual Monitors - Issue with Button Menu popup location
No it is not misplaced.
monitor=2, X=-1, Y=-1, flags=0, nested=False
monitor=2, X=-1, Y=-1, flags=0, nested=False
-
- Site Admin
- Posts: 63412
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Dual Monitors - Issue with Button Menu popup location
Ok. I have to think about that. Will probably take till Monday... 

FAQ | XY News RSS | XY Bluesky