New function "Hint" kills Icon functionality in Docky
In xfce with docky when DT hints that images have been imported or exported successfully the DT icon on my docky will not let me minimize, therefore I have to minimize from the window manager in DT, then after that the icon in Docky minimizes as it should.
Don't know if this affects other type of launchers like standard xfce panel or on other window managers. I understand that this function might still be a work in progress, just wanted to demonstrate what happens in my case.
This happens both when importing and exporting and the icon flashes red.
Affects both Debian and Xubuntu.
Attaching screencap for clearer understanding.
#1 Updated by Roman Lebedev over 3 years ago
commit 984c3e7b47f9bcf9643ab6c8eb1ca2cf0cff66cb Author: Tobias Ellinghaus <firstname.lastname@example.org> Date: Wed Oct 5 13:09:08 2016 +0200 Notify user when import/export is done Tell the window manager to draw the user's attention to dt when an import of a folder or an export is finished. Those two can take a long time to be processed so the user might want to do something else outside of dt in the meantime. Instead of listening to the CPU fan slowing down as an indication he will now be told by his window manager/desktop environment. On KDE for example the entry in the taskbar is highlighted.
I'd guess this is an upstream issue?
#4 Updated by Joe Giampaoli over 3 years ago
OK, so a quick follow-up:
Strangely if Darktable is minimized and I receive the hint in Docky and click on the launcher DT maximizes without issues. This makes me think that when we tested in IRC with Xchat, I had Xchat minimized so it had no issues. I would have to test with a maximized program, or maybe you have to see if you can somehow override the hint when DT is maximized. Can you do that? Is it possible? I think Xchat doesn't hint when maximized.
How can I test with a script or something to hint anything when maximized?
#8 Updated by Tobias Ellinghaus over 3 years ago
Of course XChat hints when maximized. Where do you see it not hinting? Just give focus to some other window.
Roman: We are using XChat to find out if it's a general problem of XFCE or a dt issue. If you know any other GTK3 programs using window manager hints we should use those of course.
#9 Updated by Joe Giampaoli over 3 years ago
Actually with Roman's comment that gave me an idea, I did that test. I imported and before it finished importing or before hinting I switched quickly to a terminal window to put it on focus and waited for DT's hint, when it hinted I clicked on DT icon which obviously switched to that window and minimize worked, so this is mostly when the DT window is in focus.