Tray menu displayed wrong size after menu content changes #1988
-
Using CopyQ on Xubuntu 22.04, and overall it's awesome! Its flexibility makes clipboard management much nicer. Unfortunately there is an issue with the display of the tray menu: if the content of the menu changed since last time the tray menu opened, the "display size" of the menu doesn't change in light of the new menu content. If there are more entries than when tray menu was last opened, it's too short for the content, and has scroll arrows. If there are fewer entries, the menu will again open with scroll arrows, scrolled partially out of view, but this time covering more vertical space than is needed to display all the menu items. If I close and immediately re-open the tray menu, only then does it have the correct display size. But it will usually still open partially scrolled out of view. This happens both with standard Ubuntu repository version of CopyQ and with PPA version -
It happens even in completely default configuration of CopyQ. I have CopyQ tray icon in the Xfce "Status Tray Plugin". Other apps tray menus don't have this problem and are sized normally. Is this Xfce issue or CopyQ issue? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
This is a bug in the tray menu integration - it does not update menu size if menu items are added dynamically when the menu shows. Not sure if there is a good workaround I can add to CopyQ - in some older versions, the menu was created and updated in the background whenever clipboard has changed, but I removed this because it wastes CPU cycles needlessly. The internal menu in CopyQ should work well - this is launched with |
Beta Was this translation helpful? Give feedback.
Try running command
copyq config tray_menu_open_on_left_click true
and see if left mouse button opens the menu. Middle mouse button may also open the menu unless the tray area overrides the action.