Bug 501830

Summary: unexpected exit of screen mode when enter canvas-only mode in full screen when title bar is set to be hidden in related preference
Product: [Applications] krita Reporter: Matthew <matthewDingL>
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: ghevan
Priority: NOR    
Version First Reported In: 5.2.9   
Target Milestone: ---   
Platform: Homebrew (macOS)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: include Help ‣ Show system information and Help ‣ Show krita log.Both saved to single file

Description Matthew 2025-03-21 14:09:49 UTC
Created attachment 179631 [details]
include Help ‣ Show system information and Help ‣ Show krita log.Both saved to single file

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
unexpected exit of screen mode when enter canvas-only mode in full screen when title bar is set to be hidden in related preference

STEPS TO REPRODUCE
1. open krita
2. open any picture(or create a new one)
3. open Preference, make sure "canvas-only settings"-"Titlebar" is ticked
4. enter full screen mode via buttons in upper left corner of the window ( the green round button provided by macOS )
5. enter canvas-only mode via shortcut or menu, then do it again to exit canvas-only mode

OBSERVED RESULT
krita exit canvas-only mode and exit full screen ( that is to say, it back to a window )

EXPECTED RESULT
krita will exit canvas-only mode but stay at full screen when entered canvas-only mode in full screen

SOFTWARE/OS VERSIONS
macOS: 15.3.2 (24D81)

ADDITIONAL INFORMATION
when disable Titlebar in Preference, the program will stay at full screen when exit a canvas-only mode which is entered from full screen mode. This is the behavior I hope it can have
Comment 1 vanyossi 2025-05-20 19:34:20 UTC
When checking Titlebar on Canvas-only mode the behavior you are describing is the expected one. Since we hide/unhide the tittle bar the Window manager on MacOS enters and exits fullscreen and we have no control over it. If you need that to hide and show panels in fullscreen, you do need to disable title bar and enter fullscreen from the window menu or the green dot in the upper left corner.