Bug 368952

Summary: Full screen does not restore to maximized correctly on Windows
Product: [Applications] krita Reporter: aferguson1975
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: cheteron, griffinvalley, halla
Priority: NOR    
Version: 3.0.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
URL: https://youtu.be/93AeNywNVUo
Latest Commit: Version Fixed In:

Description aferguson1975 2016-09-17 14:48:53 UTC
When going into canvas only mode from normal workspace windowed it goes to full screen canvas only. When pressing tab again it goes to normal workspace full screen. If you tab back into canvas only again and then tab out the normal workspace will be minimized.

Reproducible: Always

Steps to Reproduce:
1. From normal workspace maximized window tab into canvas only. Canvas only will be fullscreen
2. Tab back out to normal workspace. Workspace will be fullscreen
3. Tab into canvas only. Canvas will be full screen
4. Tab into normal workspace. Workspace will be minimized.

Actual Results:  
Toggling canvas only changes windowing setting (fullscreen, maximized window, minimized window)

Expected Results:  
Toggling canvas only will maintain the windowing method ie: maximized window to maximized canvas
Comment 1 aferguson1975 2016-09-17 14:52:19 UTC
OS: Windows 10 ver. 1607
CPU: Intel Core I7
GPU: NVidia GeForce GTX 960M
Comment 2 Halla Rempt 2016-09-19 12:42:20 UTC
Are you talking about the subwindows containing the image in sub-window mode? I'm not sure I understand your report well enough to reproduce it.
Comment 3 aferguson1975 2016-09-19 20:00:05 UTC
Open Krita to the default workspace Maximized window.

Press 'Tab' to go to 'Canvas Only' workspace. Instead of being Maximized it's in Fullscreen.

Press 'Tab' again to go back to the default workspace. The default workspace is Fullscreen instead of Maximized window.

Press 'Tab' again to go to 'Canvas Only'. 'Canvas Only' is fullscreen

Press 'Tab' again to go to default workspace. The workspace is now in a small window instead of Fullscreen. 

In the video linked with this report the only button being pressed is 'Tab'.
Comment 4 aferguson1975 2016-10-05 16:28:30 UTC
This issue is still present in Krita 3.0.1.1. To replicate it all you have to do is open Krita, maximize the window, and press Tab 4 times. You will see the screen go from maximized 'default workspace' to full screen 'canvas only' (tab 1) to fullscreen 'default workspace' (tab 2) to fullscreen 'canvas only' (tab 3) to normal window 'default workspace' (tab 4). Since I use this function frequently I've had to roll back to 3.0.
Comment 5 wolthera 2016-10-05 16:52:40 UTC
This must be a windows only bug, I cannot reproduce on ubuntu.
Comment 6 Halla Rempt 2016-10-07 09:38:04 UTC
On windows we had to disable full-screen -- and that was later restored (483173aa8b0fb92e30fd3410a8989931dddb8882), but maybe something went wrong... It may even be a bug in Qt itself, we had to work around a couple of bugs to make fullscreen possible at all.
Comment 7 Halla Rempt 2016-10-07 09:38:41 UTC
The same happens, btw, when using the full-screen shortcut directly.
Comment 8 aferguson1975 2016-11-17 16:47:40 UTC
This bug is still present in the current beta.
Comment 9 Halla Rempt 2016-11-18 12:51:42 UTC
Yes -- otherwise the bug would have been marked as fixed. And no, it's not a high-priority bug.
Comment 10 aferguson1975 2016-11-18 15:31:45 UTC
In the mean time I've found a work around until someone decides to fix this. If you activate fullscreen intentionally (View -> Full Screen Mode or Ctrl+Shift+F) then the program will stick in Fullscreen mode and Tabbing back and forth between Canvas only and Normal won't dhange the window size.
Comment 11 aferguson1975 2016-12-15 01:17:05 UTC
(In reply to aferguson1975 from comment #10)
> In the mean time I've found a work around until someone decides to fix this.
> If you activate fullscreen intentionally (View -> Full Screen Mode or
> Ctrl+Shift+F) then the program will stick in Fullscreen mode and Tabbing
> back and forth between Canvas only and Normal won't change the window size.

Update: This workaround mentioned above doesn't work in 3.1.1. It looks like the ability to toggle Fullscreen has been disabled. The bug behavior, however, is still there. Since the workaround depends on being able to deliberately go into Fullscreen it is no longer an option.
Comment 12 cheteron 2017-04-01 16:33:21 UTC
Same problem. v3.1.3 alpha 2
Comment 13 aferguson1975 2017-04-05 04:39:44 UTC
(In reply to cheteron from comment #12)
> Same problem. v3.1.3 alpha 2

Just downloaded the portable of 3.1.3 and can confirm that the bug is still there. Oddly enough, when I first unpacked it and tried to go back and forth with canvas only it worked as it should. Normal window stayed in normal window and maximized window stayed in maximized. The problem only reappeared when I activated full screen and tried it again then the problem reappeared. From then on it was a permanent condition.
Comment 14 cheteron 2017-04-05 15:04:07 UTC
I always use portable version.
Comment 15 cheteron 2017-04-05 15:08:10 UTC
https://youtu.be/8sJNQd6oA28

1) Fullscreen - tab-tab
2) fullscreen off - tab-tab
Comment 17 aferguson1975 2017-08-18 15:03:47 UTC
This issue is fixed in the current release... mostly. If you do a clean install of Krita the Tab to Canvas Only will work fine. If you activate fullscreen the issue will come back when you go back to windowed mode. The only way I've found to get rid of the problem after that is to go to AppData -> Local and delete the kritarc file and allow Krita to rebuild the file on the next run.