Dual Monitors - Issue with Button Menu popup location

Things you’d like to miss in the future...
Wheathead
Posts: 34
Joined: 18 Sep 2021 13:31

Dual Monitors - Issue with Button Menu popup location

Post 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.
Monitor 1 (Laptop Screen) 1920x1080 screen pic of XYplorer popup correct
Monitor 1 (Laptop Screen) 1920x1080 screen pic of XYplorer popup correct
2023-03-09 09_18_40-.png (240.52 KiB) Viewed 484 times
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.
Monitor 2 (HNC monitor) 1920x1200 screen pic of XYplorer popup at bottom
Monitor 2 (HNC monitor) 1920x1200 screen pic of XYplorer popup at bottom
2023-03-09 09_23_40-.png (243.75 KiB) Viewed 484 times
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

admin
Site Admin
Posts: 60557
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Dual Monitors - Issue with Button Menu popup location

Post by admin »

1) Is that a new problem?

2) All other menus pop at the right place?

Wheathead
Posts: 34
Joined: 18 Sep 2021 13:31

Re: Dual Monitors - Issue with Button Menu popup location

Post 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
2023-03-10 08_53_44-.png (70.01 KiB) Viewed 454 times

admin
Site Admin
Posts: 60557
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Dual Monitors - Issue with Button Menu popup location

Post 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.

Wheathead
Posts: 34
Joined: 18 Sep 2021 13:31

Re: Dual Monitors - Issue with Button Menu popup location

Post 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_19_41-Settings.png (5.62 KiB) Viewed 433 times
2023-03-10 16_23_13-My Default - Downloads   •   Downloads - XYplorer 24.20.png
2023-03-10 16_23_13-My Default - Downloads • Downloads - XYplorer 24.20.png (37.38 KiB) Viewed 433 times
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

admin
Site Admin
Posts: 60557
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Dual Monitors - Issue with Button Menu popup location

Post 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

:arrow: * 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.

Wheathead
Posts: 34
Joined: 18 Sep 2021 13:31

Re: Dual Monitors - Issue with Button Menu popup location

Post by Wheathead »

Thanks, I'll do that.

Wheathead
Posts: 34
Joined: 18 Sep 2021 13:31

Re: Dual Monitors - Issue with Button Menu popup location

Post 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

admin
Site Admin
Posts: 60557
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Dual Monitors - Issue with Button Menu popup location

Post by admin »

:tup: Could you also post the return of this: screen;

Wheathead
Posts: 34
Joined: 18 Sep 2021 13:31

Re: Dual Monitors - Issue with Button Menu popup location

Post by Wheathead »

Monitor 2 Screen showing popup at bottom:
2023-03-11 12_23_21-Greenshot.png
2023-03-11 12_23_21-Greenshot.png (166.56 KiB) Viewed 381 times
Effect of popup from "Fresh" perspective
Effect of popup from "Fresh" perspective
2023-03-11 12_35_10-Greenshot.png (168.49 KiB) Viewed 380 times
Last edited by Wheathead on 11 Mar 2023 18:36, edited 1 time in total.

admin
Site Admin
Posts: 60557
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Dual Monitors - Issue with Button Menu popup location

Post by admin »

I meant run this script through the address bar:

Code: Select all

screen;

Wheathead
Posts: 34
Joined: 18 Sep 2021 13:31

Re: Dual Monitors - Issue with Button Menu popup location

Post 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

admin
Site Admin
Posts: 60557
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Dual Monitors - Issue with Button Menu popup location

Post by admin »

Thanks. When you make another button with a very simple menu, eg:

Code: Select all

echo "a";
echo "b";
is it also misplaced?

Wheathead
Posts: 34
Joined: 18 Sep 2021 13:31

Re: Dual Monitors - Issue with Button Menu popup location

Post by Wheathead »

No it is not misplaced.

monitor=2, X=-1, Y=-1, flags=0, nested=False

admin
Site Admin
Posts: 60557
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Dual Monitors - Issue with Button Menu popup location

Post by admin »

Ok. I have to think about that. Will probably take till Monday... :maf:

Post Reply