SystemTrayMenu icon indicating copy to clipboard operation
SystemTrayMenu copied to clipboard

[BUG] Menu appears way up and wider

Open crazyrabbit0 opened this issue 1 year ago • 2 comments

Description

The menu appears way up at first and it's permanently wider.

  • OS: Windows 11
  • Version: 1.3.5.0

Steps to reproduce

Use the settings bellow:

  • Size And Location > Main menu appears > At mouse location
  • Directories
    • Check Show only as search result
    • Add any directory

Screenshots

Without adding a directory:

without

After adding a directory:

  1. First call:

with-startup

  1. Following calls:

with 2

crazyrabbit0 avatar Feb 20 '24 10:02 crazyrabbit0

@crazyrabbit0 Thank you for the feedback!

This is due to the fact that the content length is also included, which is only visible when you search. Otherwise, resizing would be necessary when searching, and that could be disruptive.

The best practice is to search for everything using something like "*", so you can see all the items. There may be a few that are very long, and you can reduce those to make the automatic width calculation less broad.

Another option is to adjust the width under the settings in 'Size and Location' to make it smaller.

(related to ' it appears way up at first' that's because it appears at mouse location when you set the option 'Size And Location > Main menu appears > At mouse location' ; ) was you mouse at this location?)

Hofknecht avatar Mar 11 '25 19:03 Hofknecht

@crazyrabbit0 Thank you for the feedback!

You are very welcome! 🙏

This is due to the fact that the content length is also included, which is only visible when you search. Otherwise, resizing would be necessary when searching, and that could be disruptive.

Oh ok, I get it 👌

(related to ' it appears way up at first' that's because it appears at mouse location when you set the option 'Size And Location > Main menu appears > At mouse location' ; ) was you mouse at this location?)

No, my mouse was on the tray icon. This happens every time I restart SystemTrayMenu, on first click it always shows up there

crazyrabbit0 avatar Mar 11 '25 20:03 crazyrabbit0