keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
21.27k stars 1.47k forks source link

Artifacts or some of that kind around keepasxc icon in tray. #1733

Closed Niroday closed 6 years ago

Niroday commented 6 years ago

As for me the problem appears in 2-3 out of 10 starts of keepassxc.

Expected Behavior

Icon without artifacts around it.

Current Behavior

https://i.imgur.com/DBi7zMa.png

Possible Solution

Don't know.

Steps to Reproduce (for bugs)

Turn on option "Minimize window at application startup".

Context

...

Debug Info

KeePassXC - Version 2.3.1 Revision: 2fcaeea

Libraries:

Operating system: Arch Linux CPU architecture: x86_64 Kernel: linux 4.15.8-1-ARCH

Enabled extensions:

WM: i3 (w/o DE). Bar: i3blocks with built-in tray (the problem appears as well with trayer, stalonetray and xmobar).

P.S. If "enabled" in debug info means turned on, it's not correct. All of the extensions except Auto-type are disabled.

droidmonkey commented 6 years ago

Your example image is very hard to tell what artifacts are from its small size and imgur and what are from the error you are reporting. Do any other apps with tray icons exhibit this issue?

Niroday commented 6 years ago

This is a normal state: normal And these are with artifacts: bug2 bug1 I have never experienced anything similar with other tray icons.

P.S. Sorry for missclick.

droidmonkey commented 6 years ago

This doesn't seem like anything that keepassxc is doing to cause this. Do they appear randomly or when you lock/unlock the database?

In image 3 the horizontal lines clearly go behind the icon which leads me to believe noise/corrup data is being "painted" before the keepassxc icon is painted.

Niroday commented 6 years ago

They appear when i start keepass, when i restart i3 and when locked and unlocked icons swap. I have 4 more apps with tray icons (claws-mail, pidgin, gajim, gtk-recordmydesktop) and none of them behave like keeppass icon.

TheZ3ro commented 6 years ago

maybe a qt bug with i3? Are claws-mail, pidgin, gajim all gtk application?

Niroday commented 6 years ago

I got your point. I just installed a few qt apps (qbittorrent, clementine, notepadqq). None of the apps tray icons has similar artifcats. Tryed ~ 10 relogins with autostart and ~30 i3 restarts.

droidmonkey commented 6 years ago

I wonder if it is trying to use the SVG icon and that is causing the artifacts. Try deleting/moving the SVG's from /usr/local/share/keepassxc/icons/ to isolate the issue.

Niroday commented 6 years ago

I removed all svg and svgz icons that could be related to keepass but still no result...

Niroday commented 6 years ago

I was wrong. After several restarts i found this: qt-bug Now i can't blame keepass... I'm sorry i wasted your time.

droidmonkey commented 6 years ago

No problem, recommend you open an issue with i3