LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Right clicking displays the menu far away from the mouse (4k montior)

Solved!
Go to solution

Hey all,

 

I am using a 4k monitor (3840x2160, 150% scaling) on windows 10 and when right clicking on the LabVIEW (2015) block diagram, any menu will display multiple inches away from my mouse or where I clicked. I believe this is due to a recent update although this started months ago (I've been using my 1080p laptop lately). 

 

For example, if I right click on the "Right Menu" cluster, the menu will display as follows.

 

Right click display errorRight click display error

 

 

Does anyone know a work around for this? 

 

Thanks

Message 1 of 23
(8,912 Views)

I saw this recently on a second screen (LV2016). It seemed to be related to the probe window being open. Closing the probe window " solved" the issue. Not really a solution, but a) it would be interesting to know if it's the same issue and b) it might be a workaround.

Message 2 of 23
(8,865 Views)

wiebe@CARYA wrote:

I saw this recently on a second screen (LV2016). It seemed to be related to the probe window being open. Closing the probe window " solved" the issue. Not really a solution, but a) it would be interesting to know if it's the same issue and b) it might be a workaround.


The probe window doesn't have to be open for this to happen. It happens every time I right click regardless of whether the probe window is open. It might be worth mentioning that this only happens on the block diagram. The Front Panel seems to scale correctly and right clicking causes menus to show up at the right spot. The function palate on the front panel is the correct size and scaled for a 4k resolution. On the block diagram, the function palate is tiny and obviously isn't scaled correctly.

 

If I turn my resulotion down to 1080p and scaling to 100% the issue goes away.

0 Kudos
Message 3 of 23
(8,853 Views)

I've seen this happen to me when I had a two monitor mixed resolution environment.  My laptop screen with a higher resolution, and a larger second monitor that is older and has a lower resolution.

Message 4 of 23
(8,847 Views)

@RavensFan wrote:

I've seen this happen to me when I had a two monitor mixed resolution environment.  My laptop screen with a higher resolution, and a larger second monitor that is older and has a lower resolution.


Ah yes I do have a second screen at 1080p. Could this have something to do with my 4k monitor being "display 2"? I will check this out when I get home today.

0 Kudos
Message 5 of 23
(8,842 Views)

@collinpc wrote:

@RavensFan wrote:

I've seen this happen to me when I had a two monitor mixed resolution environment.  My laptop screen with a higher resolution, and a larger second monitor that is older and has a lower resolution.


Ah yes I do have a second screen at 1080p. Could this have something to do with my 4k monitor being "display 2"? I will check this out when I get home today.


I found swapping screens did not work, except when it incidentally mend my probe window was hidden in the action (e.g. the real solution added to the confusion).

0 Kudos
Message 6 of 23
(8,838 Views)

If I were writing a GUI-based Graphical Editor (or something with right-click options), I'd spend a little time trying to make sure that pop-up windows appeared in a "nice location" on the Screen.  To do this, I'd query Windows and figure out (a) the Screen size I have available, (b) where items already were placed, and (c) where a good (preferably blank) place would be to put New Stuff.  With a single monitor, this is a relatively simple problem.  With multiple monitors, you have to know if they are treated as One Big Screen, a duplicate of the first screen, or are totally independent (one screen "reserved" for something else).

 

I'd say Windows is trying to be helpful, and you are unlikely to influence it (other than turning off the Dual Screen properties).

 

Bob Schor

0 Kudos
Message 7 of 23
(8,834 Views)

This seems to be more of an issue with having two monitors with two different scaling settings. When I have all my LabVIEW windows on my 4k monitor, everything on the block diagram is scaled fine. If I have part of the window on the other monitor (1080p) then there is no scaling on the 4k monitor and the right click is off.

 

Has anyone found a solution to this or is this just something that NI will have to fix?

0 Kudos
Message 8 of 23
(8,784 Views)
Solution
Accepted by topic author collinpc

I've also had this issue, I have a 4 screen setup and it causes a nightmare. I have found a work around. The issue goes away if I right click on the block diagram and pin the pallette, further right clicks and any menu interactions work as normal. As soon as I unpin the pallette, the issue returns!

 

I have no idea why this works.

Message 9 of 23
(8,777 Views)

Simple suggestion -- do all of your LabVIEW work on an undocked Laptop.Smiley Wink  This is not entirely a faceious suggestion -- while standard size dual monitors can be useful to show simultaneous FP and BD for a VI, having too much "real estate" may encourage overly-large-and-complex BDs.  Since reading Peter Blume's "The LabVIEW Stylebook", I've become a convert to "Small (VI) Is Beautiful".

 

Bob Schor

 

 

 

 

0 Kudos
Message 10 of 23
(8,769 Views)