Page 1 of 2

Hoverbox pops up on wrong monitor

Posted: 14 Mar 2017 08:19
by avsfan
I can certainly see how the HoverBox can be an addictive new feature -- very cool!

However, when I enable it, the box pops up on a different monitor from the one where XY is running, which isn't what I want or expect. Is there a setting to have this pop up on the same monitor?

Thanks!

andy

Re: Hoverbox pops up on wrong monitor

Posted: 14 Mar 2017 09:33
by admin
Where does your Floating Preview (F11) pop? Right or wrong monitor?

Re: Hoverbox pops up on wrong monitor

Posted: 14 Mar 2017 13:47
by TheQwerty
First FP in a session opens centered over XY even on non-primary monitors.
All following FPs open in the last position regardless of XY.


When XY is on two of my monitors HB shows up in the correct position, but when XY is on the third HB shows up on the primary monitor (has the correct Y but not X.)

Oddly, Windows has my monitors identified as 1>2*>3, but Intel's drivers identify them as 3>1*>2, as shown below XY reports the Intel values. (* denotes main/primary)

The wrong HB position occurs when XY is on my right-most monitor - what it claims is 2.

Perhaps related to this old post about tooltip positioning: viewtopic.php?p=103359#p103359
A quick test shows this seems to still be an issue.

With XY positioned in the top-left of each monitor, screen; gives me the following from my left-most monitor to right-most:
screen wrote:Left Screen

Virtual Screen:
X = -1920
Y = 0
Width = 5120
Height = 1080

Screen.Width = 1920
Screen.Height = 1080

GetCursorPos = 0, 0

Current monitor: 3 (Secondary)
Number of monitors: 3
Work Area: (0, 0) - (1920, 1040)

Main form: (-1920, 0) - (-720, 800)

Screen DPI: 96 (100%)
Screen Color Depth: 32
--------------------------------------------
Middle Screen

Virtual Screen:
X = -1920
Y = 0
Width = 5120
Height = 1080

Screen.Width = 1920
Screen.Height = 1080

GetCursorPos = 0, 0

Current monitor: 1 (Primary)
Number of monitors: 3
Work Area: (0, 0) - (1920, 1040)

Main form: (0, 0) - (1200, 800)

Screen DPI: 96 (100%)
Screen Color Depth: 32
--------------------------------------------
Right Screen

Virtual Screen:
X = -1920
Y = 0
Width = 5120
Height = 1080

Screen.Width = 1920
Screen.Height = 1080

GetCursorPos = 0, 0

Current monitor: 2 (Secondary)
Number of monitors: 3
Work Area: (0, 0) - (1920, 1040)

Main form: (1920, 56) - (3120, 856)

Screen DPI: 96 (100%)
Screen Color Depth: 32

Re: Hoverbox pops up on wrong monitor

Posted: 14 Mar 2017 17:58
by avsfan
I see the same results as TheQwerty -- HB only appears on the wrong monitor when XY is on my right-most monitor (I also have 3). It appears against the right edge of monitor 2 when XY is on monitor 3.

Not sure if it will help, but here are the results of screen; when XY is on monitor 3:
Screen

Virtual Screen:
X = -2560
Y = 0
Width = 7680
Height = 1440

Screen.Width = 2560
Screen.Height = 1440

GetCursorPos = 3470, 59

Current monitor: 3 (Secondary)
Number of monitors: 3
Work Area: (0, 0) - (2560, 1378)

Main form: (2562, 1) - (4480, 1139)

Screen DPI: 96 (100%)
Screen Color Depth: 32

Re: Hoverbox pops up on wrong monitor

Posted: 15 Mar 2017 21:05
by admin
TheQwerty wrote:First FP in a session opens centered over XY even on non-primary monitors.
All following FPs open in the last position regardless of XY.
Really??? :shock: But only in a multi monitor setup, right?

Re: Hoverbox pops up on wrong monitor

Posted: 15 Mar 2017 21:14
by TheQwerty
admin wrote:
TheQwerty wrote:First FP in a session opens centered over XY even on non-primary monitors.
All following FPs open in the last position regardless of XY.
Really??? :shock: But only in a multi monitor setup, right?
Maybe not... I cannot reproduce that now and don't recall the exact steps I took.
EDIT 2: It's possible I was testing with fresh which would of course treat the first FP in a session the same as the first FP from fresh. :veryconfused: /edit

From fresh first FP opens centered over XY after that it always opens in its last position.

EDIT: And sorry but I don't feel like playing around with my monitor configuration right now to see what happens without them.

Re: Hoverbox pops up on wrong monitor

Posted: 15 Mar 2017 21:27
by admin
No problem. From code POV it cannot happen.

Conc. the OT: tricky! I tried something... let's see.

Re: Hoverbox pops up on wrong monitor

Posted: 15 Mar 2017 22:09
by avsfan
admin wrote:No problem. From code POV it cannot happen.

Conc. the OT: tricky! I tried something... let's see.
Version 17.70.0203 didn't fix it for me, unfortunately....

Re: Hoverbox pops up on wrong monitor

Posted: 15 Mar 2017 22:13
by admin
So, is HB the only thing that pops at the wrong monitor?

Re: Hoverbox pops up on wrong monitor

Posted: 15 Mar 2017 22:28
by avsfan
admin wrote:So, is HB the only thing that pops at the wrong monitor?
Yes. The file properties (for non-image files) pops up as expected, right in the XY window, and F11 pops up on the same monitor as well.

Re: Hoverbox pops up on wrong monitor

Posted: 16 Mar 2017 08:54
by admin
I try something else next beta...

Re: Hoverbox pops up on wrong monitor

Posted: 16 Mar 2017 11:35
by TheQwerty
Given v17.70.0203 and the following:
screen; wrote:Virtual Screen:
X = -1920
Y = 0
Width = 5120
Height = 1080

Screen.Width = 1920
Screen.Height = 1080

<see below>

Current monitor: 2 (Secondary)
Number of monitors: 3
Work Area: (0, 0) - (1920, 1040)

Main form: (2000, 280) - (3200, 1080)

Screen DPI: 96 (100%)
Screen Color Depth: 32
When I mouse over the item:
GetCursorPos = 2326, 490 = Wrong monitor. :bug:
GetCursorPos = 2325, 506 = Correct monitor. :tup:

The displayed HB size is 317 wide x 507 tall if that helps any.

Wild guess! Are you perhaps checking conflict with taskbar before conflict with monitor edge and possibly not accounting for the taskbar not necessarily being shown on a monitor?


What is somewhat tricky about my layout (and I don't believe shown in the screen output) is one monitor is not like the others:

Code: Select all

Pos: -1920,  0; Size: 1920 x 1080
Pos:     0,  0; Size: 1920 x 1080
Pos:  1920, 56; Size: 1280 x 1024
XY only seems to have trouble when on that last monitor.

Further shouldn't more than just the index change in various info?
Various Info wrote:Screen: 1920x1080, 1/3 (Primary), Virtual: (-1920, 0) - (5120, 1080), Work: (0, 0) - (1920, 1040)
Screen: 1920x1080, 2/3 (Secondary), Virtual: (-1920, 0) - (5120, 1080), Work: (0, 0) - (1920, 1040)
Screen: 1920x1080, 3/3 (Secondary), Virtual: (-1920, 0) - (5120, 1080), Work: (0, 0) - (1920, 1040)

Hover Preview Wrong Monitor

Posted: 16 Mar 2017 15:22
by ethanpil
I am running a dual monitor setup. I often keep XYplorer on the secondary monitor.

When XYplorer is on the primary monitor, and I hover, the new hover preview shows near my mouse pointer on the XYplorer window.

When XYplorer is on the secondary monitor, the new hover preview shows on the wrong (primary) monitor. The preview window appears at the edge of the first monitor, far away from the mouse pointer and far away from the XYplorer window.

I am using the latest 17.70.0200 version of XYPlorer on Windows 10, Microsoft Surface Pro 3 with a dual monitor setup.

Re: Hoverbox pops up on wrong monitor

Posted: 16 Mar 2017 15:27
by TheQwerty
*merged topics*

Re: Hoverbox pops up on wrong monitor

Posted: 16 Mar 2017 15:34
by admin
TheQwerty wrote:Wild guess! Are you perhaps checking conflict with taskbar before conflict with monitor edge and possibly not accounting for the taskbar not necessarily being shown on a monitor?
Good guess. I saw that myself in the meantime. Check out v17.70.0204...

TheQwerty wrote:Further shouldn't more than just the index change in various info?
Various Info wrote:Screen: 1920x1080, 1/3 (Primary), Virtual: (-1920, 0) - (5120, 1080), Work: (0, 0) - (1920, 1040)
Screen: 1920x1080, 2/3 (Secondary), Virtual: (-1920, 0) - (5120, 1080), Work: (0, 0) - (1920, 1040)
Screen: 1920x1080, 3/3 (Secondary), Virtual: (-1920, 0) - (5120, 1080), Work: (0, 0) - (1920, 1040)
Yes, but currently I do "Work: ..." only for the primary monitor. So here shows my laziness.