Bug 393325

Summary: Add icons for tool-buttons on toolbar
Product: [Applications] krita Reporter: Leonid Deburger <deburger>
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: animtim, halla
Priority: NOR    
Version First Reported In: 4.0.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot

Description Leonid Deburger 2018-04-20 09:34:32 UTC
Created attachment 112132 [details]
screenshot

There is a lot of unused space at the toolbar. So i used it for tools docker for a wile and it is very handy I should say. 

Today I've noticed than we can add tools buttons on toolbar and it works nice but there is one problem. There are no icons for tool-buttons, lables only.

So I curious, is there any way to add icons there? If not would be nuice to have such option for tool-buttons in the future. There's no need to make this as an option actually, just fix issue with text labels on tool-buttons to show icons instead ( e.g. like "undo/redo" toolbar buttons) 

Thanks.

https://goo.gl/GgTcSr (screenshot. same as atached)
Comment 1 animtim 2018-04-20 10:01:23 UTC
Agree that would be nice, though there is another issue: those are part of the actions that are not loaded on the bar when restarting krita, at least until there is an interaction with the toolbar config to re-load it...
Comment 2 animtim 2018-04-20 10:21:10 UTC
Another note: tried to just add the icons in krita.action, it works, but then when switching dark/light theme the icon in the toolbar switches but not the one in the toolbox...
Comment 3 Halla Rempt 2019-05-03 13:16:24 UTC
This is really tricky. I've managed to make sure that the actions that tools supply now can be put in the toolbar and stay there. But those actions are only active if the tool is active. The action that activates the tool is also dependent on the tool instance, but if the tool is not active, that action is inactive, and cannot be used to activate the tool...
Comment 4 Halla Rempt 2020-04-10 12:19:49 UTC
Ah, my comment wasn't even relevant for this bug.
Comment 5 Halla Rempt 2021-09-09 12:27:53 UTC
It's not possible to add the actions that activate tools to the toolbars, and those buttons will survive a restart.