Bug 355766

Summary: Canvas is off centered when switching between windows
Product: [Applications] krita Reporter: icecrystallord
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: dimula73, halla, raghu
Priority: NOR    
Version First Reported In: 2.9.9   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Video screen capture of canvas centering bug in krita

Description icecrystallord 2015-11-23 00:49:04 UTC
Hi KDE bugtracking,

I've noticed this in the current build of Krita 2.9.9 for MintOS, the canvas is not centred when I switch  between 2 canvas windows. It offsets towards the upper left whenever switching to a smaller canvas. Switching to large canvases seems to centre properly. It makes it a bit awkward to work on several different images at once, as it's not in the same position as I left it. I wouldn't consider it a major bug, but it is quite irritating.

It seems like a fairly simple fix.

Thanks!
Comment 1 Halla Rempt 2016-03-31 00:06:55 UTC
Hi,

I'm sorry, but I haven't been able to reproduce this issue. I might be misunderstanding your report though. is Krita configured to show subwindows and is one of those smaller than the other? Or are these separate windows? If the former, how do you switch between the two subwindows?
Comment 2 Raghavendra kamath 2016-04-02 06:57:03 UTC
@ boudewijn I think the reporter is referring to the sub-window mode.

I quickly tested this and minimising and maximising the window from a sub-window mode makes the canvas to position itself at the edges and not at the centre. 

To explain myself better i made a video, notice how the pseudo infinite canvas buttons appear due to the canvas getting off centred.

the video can be found here -> https://dl.dropboxusercontent.com/u/37777793/window-center.mp4 ( I am attaching this video to bug report too)
Comment 3 Raghavendra kamath 2016-04-02 06:59:23 UTC
Created attachment 98200 [details]
Video screen capture of canvas centering bug in krita

please find the attached video explaining the problem
Comment 4 Halla Rempt 2016-06-16 11:57:03 UTC
Okay, I can confirm that that happens. I don't know whether we can actually fix it, though.
Comment 5 Dmitry Kazakov 2020-08-20 22:37:21 UTC
The bug seem to be fixed in krita/4.3. I cannot reproduce it anymore :)