[Digikam-devel] Preview behaviour

Arnd Baecker arnd.baecker at web.de
Fri Apr 18 17:13:12 BST 2008


On Thu, 17 Apr 2008, Mikolaj Machowski wrote:
> Dnia Thursday 17 of April 2008, Arnd Baecker napisaƂ:
> > On Thu, 17 Apr 2008, Mikolaj Machowski wrote:
[...]
> > > > b) the slider should "snap" to 100% when one is in the range
> > > >    95% < x < 105%
> > >
> > > Works, thanks. But IMO this should go further: snapping should work
> > > also zoom factors: fit into window; fit width; fit height. But it
> > > would require to compute snapping factors for each image separately.
> >
> > Ok, this wish makes sense. However, it is
> > not that easy to implement. So I would suggest that this
> > should be filed as a separate wish in the BKO.
>
> It works in gwenview and KPDF. You can look there.
>
> > > Another place where "snapping" could help are zoom buttons: when
> > > clicking on them it should stop not only on apparently random chosen
> > > steps but also: fit to window; fit width; fit height; 100%. It should
> > > work in all appropriate places: preview mode, lighttable, Image
> > > Editor.
> >
> > Not sure that I understand...
> > Would you like to have additional buttons?
>
> Definitely no! Example: slider is on 90% zoom factor, if I use now
> +zoom button it will jump to 108% - it should jump to 100%. Everytime
> - now it works from time to time.

OK, I have attached a modified patch at
http://bugs.kde.org/show_bug.cgi?id=157314
(This one does not address the CTRL+SHIFT+0 centering anymore,
as these are separate issues.
I will attach that stuff once it works properly to
http://bugs.kde.org/show_bug.cgi?id=155046
)

Best, Arnd



More information about the Digikam-devel mailing list