CopyQ icon indicating copy to clipboard operation
CopyQ copied to clipboard

The menu is always on the top

Open refparo opened this issue 4 years ago • 2 comments

Before creating a new issue, see list of known issues.

Describe the bug The menu is always on the top, even if there isn't enough space on the top but enough space on the bottom.

To Reproduce

  1. Click on any menu

Expected behavior The menu should normally appear on the bottom, except when there is no enough space on the bottom.

Screenshots 图片

Version, OS and Environment CopyQ Clipboard Manager v4.1.0 Qt: 5.15.2 KNotifications: 5.81.0 Compiler: GCC Arch: x86_64-little_endian-lp64 OS: Arch Linux Desktop environment: Sway

Additional context The "help" menu, which is the shortest menu, doesn't have this issue. Sometimes the context menu on clipboard entries also has this issue, but it seems to occur randomly.

refparo avatar Jul 14 '21 11:07 refparo

This looks like a Qt bug - possibly related to multi-monitor layout.

Does it help if you disable "Set colors for tabs, tool bar and menus" option in appearance config tab (in Preferences dialog)?

hluk avatar Jul 18 '21 08:07 hluk

BTW, in Sway I had to change monitor layout so x,y coordinates of each output are always non-negative. Otherwise, menus were positioned incorrectly and I got some other strange UI behavior in Qt apps.

hluk avatar Jul 18 '21 09:07 hluk