CopyQ icon indicating copy to clipboard operation
CopyQ copied to clipboard

Wrong icon is displayed in tray

Open rooselle opened this issue 1 year ago • 13 comments

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:

  1. Install CopyQ
  2. Start CopyQ
  3. See wrong icon in tray

Expected behavior See same CopyQ icon as in dashboard

Screenshots CopyQ

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

rooselle avatar Sep 08 '22 13:09 rooselle

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

hluk avatar Sep 11 '22 04:09 hluk

On my system this icon

image

CopyQ 6.3.2 OS: Ubuntu 22.04.1 LTS Desktop environment: Unity

VladimirMrzv avatar Oct 28 '22 14:10 VladimirMrzv

env COPYQ_DEFAULT_ICON=1 copyq

with this command the same

VladimirMrzv avatar Oct 28 '22 14:10 VladimirMrzv

On my system this icon

image

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

JackThird avatar Nov 04 '22 15:11 JackThird

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.

dreamonhigh avatar Dec 21 '22 03:12 dreamonhigh

image

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

Creteil avatar Feb 09 '23 00:02 Creteil

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)

JackThird avatar Apr 16 '24 08:04 JackThird

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?

hluk avatar Apr 17 '24 04:04 hluk

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).

Garrett-R avatar Apr 17 '24 04:04 Garrett-R

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?

rooselle avatar Apr 17 '24 07:04 rooselle

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

image

VladimirMrzv avatar Apr 17 '24 09:04 VladimirMrzv

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. 1

JackThird avatar Apr 17 '24 13:04 JackThird

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

Garrett-R avatar May 28 '24 03:05 Garrett-R