Bug 441483

Summary: Zoom widget on toolbar zooms wrong view on subwindow mode with multiple views
Product: [Applications] krita Reporter: Sam Thomas <mobilosam>
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alvin
Priority: NOR    
Version First Reported In: 5.0.0-beta1   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Sam Thomas 2021-08-24 15:45:57 UTC
SUMMARY
With Krita in subwindow mode with multiple views and files open, the custom widget on the toolbar 'Zoom' seems to always zoom the same seemingly random view regardless of which is selected

STEPS TO REPRODUCE
1.Configure toolbars and add the 'Zoom' widget,
2.Set Krita to subwindow mode,
3.Open a new view of a file,
4.try using the zoom widget to adjust zoom with different subwindows selected.

OBSERVED RESULT
The same window is always zoomed regardless of the selected subwindow.

EXPECTED RESULT
The selected subwindow is zoomed

SOFTWARE/OS VERSIONS
 OS: Ubuntu 20.04 focal
 Kernel: x86_64 Linux 5.8.0-43-generic
 Uptime: 2h 35m
 Packages: 2692
 Shell: bash 5.0.17
 Resolution: 1600x1924
 DE: Xfce
 WM: Xfwm4
 WM Theme: Greybird
 GTK Theme: Greybird [GTK2]
 Icon Theme: elementary-xfce-darker
 Font: Noto Sans 9
 Disk: 561G / 946G (63%)
 CPU: AMD A8-7650K Radeon R7, 10 Compute Cores 4C+6G @ 4x 3.3GHz
 GPU: AMD Radeon Graphics
 RAM: 4547MiB / 6895MiB
Comment 1 Alvin Wong 2021-08-26 15:38:30 UTC
Reproduced on Windows with nightly 2ce5348.

I don't think it is the intended use of the "zoom" widget though, as restarting Krita causes the widget to not show on the toolbar. The "zoom" widget appears to be designed to be fixed on the status bar. My first guess is that view change events aren't delivered to other custom-added "zoom" widgets.
Comment 2 Alvin Wong 2021-08-26 16:42:23 UTC

*** This bug has been marked as a duplicate of bug 401434 ***