Summary: | Toolbox tooltips of Path/Bezier/Polygon/Polyline tools do not reflect customized Canvas Shortcuts Modifiers | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Tyson Tan <tysontanx> |
Component: | Tools/Vector | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | griffinvalley |
Priority: | NOR | Keywords: | triaged |
Version First Reported In: | 4.4.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/08fb201ef09190cc4abc14cfe51cabc76580dbb0 | Version Fixed In: | |
Sentry Crash Report: |
Description
Tyson Tan
2021-01-25 03:06:04 UTC
Git commit 08fb201ef09190cc4abc14cfe51cabc76580dbb0 by Mathias Wein. Committed on 31/05/2022 at 08:36. Pushed by mwein into branch 'master'. Make Tool Box update tooltips on shortcut changes For this to work, KoToolBoxDocker was made a KisMainWindowObserver. And the main window has to create tool actions before passing the view manager to the observers. This allows the docker to fetch the actual QAction objects responding to the shortcuts, and synchronize with their tooltip. Maybe KoToolBox should now just use KisHighlightedToolButton instead of yet another custom button class. Related: bug 425654 M +5 -5 libs/ui/KisMainWindow.cpp M +17 -0 libs/ui/toolbox/KoToolBox.cpp M +30 -12 libs/ui/toolbox/KoToolBoxButton.cpp M +4 -1 libs/ui/toolbox/KoToolBoxButton_p.h M +5 -0 libs/ui/toolbox/KoToolBoxDocker.cpp M +4 -2 libs/ui/toolbox/KoToolBoxDocker_p.h M +2 -0 libs/ui/toolbox/KoToolBox_p.h https://invent.kde.org/graphics/krita/commit/08fb201ef09190cc4abc14cfe51cabc76580dbb0 Thank you, Lynx! |