Make sure Desktop environments use normal hint type and tiling window managers use utility hint type
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.
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.
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?
OK made a revision let me know if this works for you.
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.