peek icon indicating copy to clipboard operation
peek copied to clipboard

Make sure Desktop environments use normal hint type and tiling window managers use utility hint type

Open gort818 opened this issue 6 years ago • 4 comments

Setting the window hint type to utility does not seem to function well with plasma, peek will not show up in the task manager or task switcher. This checks if the user is using plasma and changes the hint type to normal.

gort818 avatar Sep 25 '19 00:09 gort818

Good catch. Testing this I see this is not only about Plasma, same issue on Gnome. And probably with dock / taskbar implementations in general. I wonder if we should just revert that change and then selectively set the utility flag only for some known tiling window managers. After all the tiling WMs are not really the core target of peek.

phw avatar Sep 25 '19 06:09 phw

Yeah that would probably be a better solution since there a more people using traditional desktop environments.. I could create a list of desktop environments and if a user is not using one in the list is changes to window to utility hint type ... seems easier than testing for each tiling window manager I have no idea how many are being used. what do you think?

gort818 avatar Sep 25 '19 23:09 gort818

OK made a revision let me know if this works for you.

gort818 avatar Sep 26 '19 00:09 gort818

I guess that's ok for now. It kind of inverses my original idea, because I think tiling WMs are probably the special case. But you are right, the desktop environments are probably easier to detect.

phw avatar Sep 27 '19 08:09 phw