CopyQ
CopyQ copied to clipboard
Wrong icon is displayed in tray
Describe the bug
CopyQ works perfect. Desktop icon shows in "dashboard" (if I right-click on CopyQ app in my Applications Menu > Add to dashboard), but when CopyQ is started, the icon displayed in the tray is a grayish image that doesn't have anything to do with CopyQ. I guess it has something to do with "Qt", whatever that is, because here's what I have in CopyQ logs: Warning [2022-09-08 14:47:54.639] <Server-9504>: [qt.qpa.xcb] QtWarning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 8669, resource id: 21053800, major code: 40 (TranslateCoords), minor code: 0
. I added a CopyQ svg icon in my theme but that didn't change a thing. How could I have the right icon? It's not much, but enough to bother me and thus to not want to use it.
Thanks!
To Reproduce Steps to reproduce the behavior:
- Install CopyQ
- Start CopyQ
- See wrong icon in tray
Expected behavior See same CopyQ icon as in dashboard
Screenshots
Version, OS and Environment CopyQ Clipboard Manager 6.0.1 Qt: 5.15.2 KNotifications: 5.89.0 Compiler: GCC Arch: x86_64-little_endian-lp64 OS: Ubuntu 22.04.1 LTS Desktop environment: XFCE
Maybe it is a bug in the tray or icon theme.
Try exiting CopyQ and launching it from terminal with:
env COPYQ_DEFAULT_ICON=1 copyq
On my system this icon
CopyQ 6.3.2 OS: Ubuntu 22.04.1 LTS Desktop environment: Unity
env COPYQ_DEFAULT_ICON=1 copyq
with this command the same
On my system this icon
CopyQ 6.3.2 OS: Ubuntu 22.04.1 LTS Desktop environment: Unity
same here. Ubuntu Unity 22.04 Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy Kernel: Linux 5.15.0-52-generic
same wrong Icons here on xubuntu 22.04. tried other icon set none of them worked.. env COPYQ_DEFAULT_ICON=1 copyq → same wrong icon.
same here. Ubuntu Unity 22.04 Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy Kernel: 6.1.10-060110-generic
wow it was 2022 :D I'm here to ping this request, same issue with CopyQ ver. 8.0.0 (Ubuntu Unity 22.04 - Kernel 6.5.0-26-generic)
I assume this is still a problem. In which desktop environment? What icon theme do you use? Could this be related to a tray/notification-area Gnome addon?
I think so, I still have it on Ubuntu 22.04 with Unity.
I notice that no one here has reported seeing this on stock Ubuntu (with Gnome).
Maybe it is a bug in the tray or icon theme.
Try exiting CopyQ and launching it from terminal with:
env COPYQ_DEFAULT_ICON=1 copyq
Sorry @hluk I realise I'd never seen this message. Coming back here following the latest messages.
I also have the app installed on my computer running on Ubuntu/Gnome (I initially posted the issue for my computer on Xubuntu) and the tray icon indeed has always been displayed correctly. I recently had to reinstall my computer on Xubuntu, and now the tray icon is correctly displayed. Here's the result of copyq version
command now:
CopyQ Clipboard Manager 8.0.0~jammy
Qt: 5.15.3
KNotifications: 5.92.0
Compiler: GCC
Arch: x86_64-little_endian-lp64
OS: Ubuntu 22.04.4 LTS
So since I've posted the issue, CopyQ, Qt and KNotifications versions changed. People who commented lately, what are the result of your copyq version
command?
mine
$ copyq version
CopyQ Clipboard Manager 8.0.0~jammy
Qt: 5.15.3
KNotifications: 5.92.0
Compiler: GCC
Arch: x86_64-little_endian-lp64
OS: Ubuntu 22.04.4 LTS
CopyQ Clipboard Manager 8.0.0~jammy Qt: 5.15.3 KNotifications: 5.92.0 Compiler: GCC Arch: x86_64-little_endian-lp64 OS: Ubuntu 22.04.4 LTS
I'm using ubuntu unity distro with theme Yaru.
Just confirming this is still a bug on the new version of Ubuntu, 24.04 with Unity installed.
~ $ copyq version
CopyQ Clipboard Manager 8.0.0~noble
Qt: 5.15.12
KNotifications: 5.115.0
Compiler: GCC
Arch: x86_64-little_endian-lp64
OS: Ubuntu 24.04 LTS