Closed jing2uo closed 5 years ago
- add mate-applet-appmenu to mate-panel
- open copyq
What's mate-applet-appmenu? Can you explain in more details how to reproduce this?
I see tray icon in the panel but don't experience any issues when opening menu or main window.
This is probably an issue in Mate tray icon/menu integration (or in Qt framework).
mate-applet-appment will provide global menu, like os x ,all applications's menu will display on the top panel. repo: https://github.com/rilian-la-te/vala-panel-appmenu
if you have debian+mate environment, this is the steps to reproduce :
1 .apt install mate-applet-appmenu appmenu-qt appmenu-gtk2-module appmenu-gtk3-module appmenu-gtk-module-common
I am sorry that my English is not good. CopyQ is awesome and greatly helped me, thanks for your work !
Other QT5 applications works normal , like Virtualbox goldendict vlc zeal ...
Thanks for detailed description.
I cannot reproduce this on Ubuntu 18.04 -- most probably different component versions and theming.
What do you see in the context menu (when you right click a clipboard item in CopyQ)? The Item menu contains basically the same entries.
I am inclined to close this issue since it's problem with some other component related to appmenu.
Oh, never mind, I can reproduce the crashes occasionally, I'll try to investigate further.
Looks like /usr/lib/mate-panel/appmenu-mate
crashes when the menus contain separators (maybe at some point when these are being removed).
Not sure what to do with this - looks like this needs to be fixed elsewhere.
Can the log in ~/.xsession-errors provide some help?
https://gist.github.com/jing2uo/73717ae774f0bf08e1e9eb8e26f88524
Can the log in ~/.xsession-errors provide some help?
Nope. As I mentioned the workaround would be to remove separators in menus which would make the menus less clear.
You better report the bug for vala-panel-appmenu.
Is this the separator you said?
Is this the separator you said?
Yes. If I remove it from menu [1] everything seems to work.
[1] I.e. remove all addSeparator() calls.
I check the menu of chromium / goldendict / caja, these apps also have the separators..
Yeah, I noticed that also Qt Creator has also menus with separators. Perhaps the important difference is that in CopyQ the Item menu is dynamic so sometimes (e.g. selecting other clipboard item or tab) the menu is cleared and the menu entries with separators are created again.
Seems like there is some data race in the appmenu (it's constructing the menu while CopyQ is updating it).
So, should I submit a bug to appmenu ? or, you will fix this . 🏵️
So, should I submit a bug to appmenu ? or, you will fix this .
If you can, please submit bug report for appmenu. I really have no idea how to fix this in CopyQ, unless I just remove all menu separators (and that's not a good idea).
@jing2uo Did you end up creating a bug report for appmenu perhaps? If so, could you link it please? I appear to be experiencing the same issue now with budgie-panel.
FYI looks like this was fixed in the vala-panel source: Vala-Panel Commits
Describe the bug
mate-applet-appmenu can provide global menu on mate-panel, but when I open copyq, mate-panel will restart very often. copyq will lost focus, I cant select any item (
To Reproduce Steps to reproduce the behavior:
Expected behavior copyq work normal with appmenu
Screenshots
The screenshot is not convenient to see the problem, I recorded this video...
2019-08-22 10-44-29.flv.zip
Version, OS and Environment (Get details from
copyq version
command if possible.)Additional context copyq and mate-panel work fine when appmenu-applet was deleted.
there is some log in ~/.xsession-errors :
https://gist.github.com/jing2uo/73717ae774f0bf08e1e9eb8e26f88524