KDocker icon indicating copy to clipboard operation
KDocker copied to clipboard

Tray icon is always a question mark

Open Victor239 opened this issue 4 years ago • 8 comments

How do I get KDocker to use the unique desktop icon for each application?

If I use the "Set Icon" option by right-clicking the docked application I can set the icon temporarily, but when the application is closed and then reopened it will be back to the question mark icon again.

Victor239 avatar Nov 19 '20 08:11 Victor239

I've got the same issue here with 5.3 release.

Justinzobel avatar Nov 19 '20 22:11 Justinzobel

Is it possible to save preferences for each application that is docked to ~/.config/KDockerrc?

Justinzobel avatar Nov 23 '20 00:11 Justinzobel

For version 5.1 and above, per-application and global settings are stored wherever Qt defaults to. For me, it's "~/.config/com.kdocker/KDocker.conf" but there's no need to edit that.

Set Icon ... ( e.g. for "DockedApp4" ) Save settings ... ( "DockedApp4 only" option -- because Global (all new) would be silly ;) )

Daxx avatar Mar 05 '21 20:03 Daxx

OK, so there seems to be a bug in the menu display.

The first time I right-click on a docked icon I get the below, the Save settings item is cut off: image

The second time I right-click on the docked icon I get the full menu with the Save settings item.

Not sure if this is a Plasma/kwin issue or kdocker.

Justinzobel avatar Mar 05 '21 22:03 Justinzobel

Wow, that's awful. I've never seen that from KDocker or from any other app that I can recall. I rely on QMenu to do all those calculations for me. No warnings in the docs. I assume you compiled it yourself; please show kdocker -v output for Qt version.

Not much help from these search results: QMenu opens first time off screen How to prevent QMenu from going out of the main window

Daxx avatar Mar 06 '21 00:03 Daxx

I didn't compile myself, this one is from the Solus repository.

kdocker -v
KDocker version: 5.2
Using Qt version: 5.15.2

How it's compiled by the Solus team: https://dev.getsol.us/source/kdocker/browse/master/package.yml

Justinzobel avatar Mar 06 '21 00:03 Justinzobel

I might compile 5.3 and test.

Justinzobel avatar Mar 06 '21 00:03 Justinzobel

Same with 5.3 unfortunately.

Justinzobel avatar Mar 06 '21 00:03 Justinzobel