Bug 437036

Summary: Incorrect description of parameter in python scripting docs.
Product: [Applications] krita Reporter: noccu <noccu.x>
Component: DocumentationAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description noccu 2021-05-13 11:33:56 UTC
SUMMARY
Concerns: https://api.kde.org/appscomplete-api/krita-apidocs/libs/libkis/html/classWindow.html#a72ec58e53844076c1461966c34a9115c

The description for the text parameter looks to be wrong. Leaving it empty falls back to the id for shortcut labeling and results in no text for menu bar entries.
Comment 1 Halla Rempt 2021-05-14 08:49:42 UTC
Git commit 58e06ffe2c8814263495fedfb6855de82ce744ff by Halla Rempt.
Committed on 14/05/2021 at 08:48.
Pushed by rempt into branch 'master'.

Don't set the menu text on the action if it's empty

M  +3    -1    libs/libkis/Window.cpp

https://invent.kde.org/graphics/krita/commit/58e06ffe2c8814263495fedfb6855de82ce744ff
Comment 2 Halla Rempt 2021-05-14 09:46:30 UTC
Git commit 1d07c8937050a22a70262c04e59fb5400fcc4ad6 by Halla Rempt.
Committed on 14/05/2021 at 09:46.
Pushed by rempt into branch 'krita/4.3'.

Don't set the menu text on the action if it's empty
(cherry picked from commit 58e06ffe2c8814263495fedfb6855de82ce744ff)

M  +3    -1    libs/libkis/Window.cpp

https://invent.kde.org/graphics/krita/commit/1d07c8937050a22a70262c04e59fb5400fcc4ad6