Location/display scaling for context menu
This is a bug report, but the problem I'm having isn't captured by a standard error report.
I am using Windows 10 on a laptop along with an external monitor, with the display "extended" across the two screens. The screens are stacked on top of one another, rather than side-by-side. They have different resolutions and hence, different display scaling settings. The problem is that when I have Zotero open on the top screen, and right-click on an item in the bottom hemisphere of that screen, the context menu doesn't display in the right place or the right size.
With any other program (e.g. File Explorer or a browser), right-clicking in the bottom part of the top screen causes the context menu to appear above the location of the right-click, so that it displays on the same screen—like this:
https://www.dropbox.com/s/rwymzkaxt21fff8/Screenshot 2018-04-13 15.05.10.png?dl=0
But doing this in Zotero, the context menu appears on the bottom screen and it's the wrong size. It's either too big or too small (depending on whether the high-res laptop screen or the lower-res monitor is designated as the "top" position in Windows's display settings). See screenshots below.
https://www.dropbox.com/s/7xx7ahiujskstpp/Screenshot 2018-04-13 15.05.26.png?dl=0
https://www.dropbox.com/s/qtcqgfvuhxrd0gh/Screenshot 2018-04-13 15.17.26.png?dl=0
I've fiddled with the program-specific DPI settings (in the "Compatibility" tab of the zotero.exe "Properties" menu), but it didn't have any effect on this behavior.
This is not a major issue, but is rather annoying, so just wanted to get it on the devs' radar.
I am using Windows 10 on a laptop along with an external monitor, with the display "extended" across the two screens. The screens are stacked on top of one another, rather than side-by-side. They have different resolutions and hence, different display scaling settings. The problem is that when I have Zotero open on the top screen, and right-click on an item in the bottom hemisphere of that screen, the context menu doesn't display in the right place or the right size.
With any other program (e.g. File Explorer or a browser), right-clicking in the bottom part of the top screen causes the context menu to appear above the location of the right-click, so that it displays on the same screen—like this:
https://www.dropbox.com/s/rwymzkaxt21fff8/Screenshot 2018-04-13 15.05.10.png?dl=0
But doing this in Zotero, the context menu appears on the bottom screen and it's the wrong size. It's either too big or too small (depending on whether the high-res laptop screen or the lower-res monitor is designated as the "top" position in Windows's display settings). See screenshots below.
https://www.dropbox.com/s/7xx7ahiujskstpp/Screenshot 2018-04-13 15.05.26.png?dl=0
https://www.dropbox.com/s/qtcqgfvuhxrd0gh/Screenshot 2018-04-13 15.17.26.png?dl=0
I've fiddled with the program-specific DPI settings (in the "Compatibility" tab of the zotero.exe "Properties" menu), but it didn't have any effect on this behavior.
This is not a major issue, but is rather annoying, so just wanted to get it on the devs' radar.
https://www.dropbox.com/s/ohbmgcv3sgroz3d/Screenshot 2018-04-13 15.53.12.png?dl=0
https://www.dropbox.com/s/ngcugp85x5ta871/Screenshot 2018-04-13 16.02.17.png?dl=0
Same thing with right-clicking on something at the very bottom of the info pane. (Although in that case there's only one item in the context menu ("Transform text") so there's no issue with not having enough room to display it below the location of the right-click.)
https://www.dropbox.com/s/nu67omkitowqsey/Screenshot 2018-04-13 16.01.13.png?dl=0
Finally, if the right-click occurs in the bottom "hemisphere" of the screen, then the issue occurs even it looks like there should be enough room to display the context menu below the location of the right-click. It's like there's an imaginary horizontal line dividing the screen in half, and the problem occurs anytime a right-click happens in the bottom half (and you're in the items pane or tag selector). In this screenshot, you can see that the context menu displays correctly, and there's still plenty of room between the bottom of the context menu and the bottom of the screen:
https://www.dropbox.com/s/o7pouf3f5i061ue/Screenshot 2018-04-13 16.18.40.png?dl=0
But then if I right-click on the item immediately below, the context menu jumps to the other screen:
https://www.dropbox.com/s/eetw8oc3sijw3j6/Screenshot 2018-04-13 16.12.07.png?dl=0
Hope this helps.
Thanks.