giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.34k stars 457 forks source link

Drop-down menu doesn't move with main window with multiple monitors #2296

Open cyber4n6pi opened 1 year ago

cyber4n6pi commented 1 year ago

Version, Operative system Ver 0.99.55, Windows 10 Pro 21H2

Describe the bug Installed Microsoft windows installer version of CherryTree from website (the EXE). No issues with installation. NOTE that default monitor is Monitor 1 (built-in on laptop). Opened app on Monitor 1, clicked a menu item and the drop-down menu opened relative to Menu bar as expected. If app is moved to Monitor 2 (LG) and a menu item is selected, the drop-down menus still appear on Monitor 1. Something similar occurred with another program which was fixed by moving the installation windows to Monitor 2 (rather than on the default Monitor 1) and going through the install process there which fixed the issue. I tried that with CherryTree but the issue persisted. The laptop has since been re-boot several times and OS is up-to-date but issue persists.

To Reproduce

  1. Download Win EXE and install on Win 10 Pro (DELL laptop). Default window is built-in monitor.
  2. After install, open CherryTree (on default monitor) and click on any Menu item (i.e. File).
  3. Note location of drop-down menu relative to menu item (directly below menu item and expanding to the right).
  4. Move app to a different location (still on default monitor) and click another menu item. Drop-down will still appear relative to menu item.
  5. Move app to another monitor and click a menu item. Drop-down menu will appear on the first (default) monitor relative to the position where the application was initially opened (in my case, on the left side of the laptop monitor).

Screenshots App opened on Default monitor (laptop). DropDownMenu_1

App open on Monitor 2 and drop-down menu showing up on Monitor 1. DropDownMenu_2

jogi19 commented 8 months ago

The same issue on my side. v 0.99.49. It alsways pops up on the very left monitor. So I have the monitors connected, I cherrytree is running on the left monitor, the menu is visible on the right monitor (not the middle one)

giuspen commented 8 months ago

Hey @jogi19 can you try the latest version v1.0.4 https://www.giuspen.net/cherrytree/#downl

cyber4n6pi commented 7 months ago

Hi @giuspen - I just tried the latest version but I'm having the same issue.

First attempt: updated previous version, opened app on primary monitor, moved it to secondary monitor --> menu still stays on primary monitor.

Second attempt: uninstalled app, installed v1.0.4 (on secondary monitor), opened the app --> menu still displayed on primary monitor.