Bug 391600

Summary: Text Editor Menu inaccessible on macOS
Product: [Applications] krita Reporter: Halla Rempt <halla>
Component: Tool/TextAssignee: Halla Rempt <halla>
Status: RESOLVED FIXED    
Severity: normal Keywords: release_blocker
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Halla Rempt 2018-03-09 09:31:25 UTC
On MacOS, there can be only one application menu that is shown in the top menubar. The svgtexteditor is a second main window with a menu, so the menu isn't shown. On removing the Tool window flag, this actually leads to a crash.

All menu options should be made available from a menu button or in the toolbar.
Comment 1 Halla Rempt 2018-03-16 09:09:15 UTC
Git commit ba17603826792acee3441578fc9eef448be185c3 by Boudewijn Rempt.
Committed on 16/03/2018 at 09:06.
Pushed by rempt into branch 'master'.

Show the text editor menu on macOS

The only problem was that the editor window had an owner; if it
doesn't, Qt uses the menubar correctly.

M  +1    -1    plugins/tools/svgtexttool/SvgTextTool.cpp

https://commits.kde.org/krita/ba17603826792acee3441578fc9eef448be185c3
Comment 2 Halla Rempt 2018-03-17 08:53:31 UTC
Git commit 444a549b161d280ac6a3ffe5e13f705c626cbc4d by Boudewijn Rempt.
Committed on 17/03/2018 at 08:50.
Pushed by rempt into branch 'krita/4.0'.

Show the text editor menu on macOS

The only problem was that the editor window had an owner; if it
doesn't, Qt uses the menubar correctly.
(cherry picked from commit ba17603826792acee3441578fc9eef448be185c3)

M  +1    -1    plugins/tools/svgtexttool/SvgTextTool.cpp

https://commits.kde.org/krita/444a549b161d280ac6a3ffe5e13f705c626cbc4d