Summary: | "fit to window" button while using any tool does not permit panning | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | DrSlony <bugs> |
Component: | ImageEditor-Canvas | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugs, caulier.gilles |
Priority: | NOR | ||
Version: | 1.4.0 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 1.5.0 | |
Sentry Crash Report: | |||
Attachments: |
"fit to window" working correctly before
"fit to window" working correctly after "fit to window" working incorrectly before "fit to window" working incorrectly after |
Created attachment 51971 [details]
"fit to window" working correctly after
Created attachment 51972 [details]
"fit to window" working incorrectly before
Created attachment 51973 [details]
"fit to window" working incorrectly after
SVN commit 1179359 by aclemens: Set the zoomWidth and zoomHeight accordingly to the current zoom factor BUG: 252295 M +2 -1 NEWS M +3 -2 libs/widgets/common/previewwidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1179359 Still the button doesn't act the same for AlbumUI and ImageEditor: In AlbumUI it is a normal button, in ImageEditor it is a toggle button. Is this the intended usage? Andi, It's must be the same, as it's the same component. Doesn't it ? Gilles |
Created attachment 51970 [details] "fit to window" working correctly before Version: 1.4.0 (using KDE 4.5.1) OS: Linux Using the "fit to window" button while using any tool (e.g. auto-correction, noise reduction, curve editor, etc) does indeed zoom to 100%, but the scrollbars are not updated, which means there basically are no scrollbars, and trying to pan the image with the middle mouse button does not work either. While not using any tool, the button works as expected: if you click it, the image zooms to 100%, the scrollbars are updated accordingly, and you can pan using the middle mouse button. Reproducible: Always Steps to Reproduce: 1- Open image 2- Click on any tool so you get an extra tab on the far right 3- Try using the "fit to window" button on the bottom, next to "zoom to 100%" and "zoom out". Actual Results: Image zooms to 100% but is frozen there - no scrollbars, no panning. Expected Results: It should allow panning and the scrollbars should reflect that now large areas of the image are not visible because its larger than the viewable area.