[Bug 161087] New: conflicting directions of mouse scroll when zooming

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 161087] New: conflicting directions of mouse scroll when zooming

Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161087         
           Summary: conflicting directions of mouse scroll when zooming
           Product: digikam
           Version: 0.9.4-svn
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: Preview
        AssignedTo: digikam-devel kde org
        ReportedBy: mikmach wp pl


Version:           0.9.4-svn (using Devel)
Installed from:    Compiled sources
Compiler:          gcc4.3
OS:                Linux

In preview mode there are two ways to zoom with mouse wheel:

- hover mouse over slider and scroll wheel
- use Ctrl+mouse wheel over image

Both are good, logical, common actions for many applications.

Problem is: to zoom in (or out) in both ways you have to scroll wheel in opposite directions. To zoom in while hovering over slider you have to scroll mouse wheel "in" toward yourself. But to perform the same action with Ctrl you have to scroll "out" - in opposite direction. There should be consistency in both actions. To keep consistency with other KDE application behavior of hovering action should be changed.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161087] conflicting directions of mouse scroll when zooming

Arnd Baecker
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161087         




------- Additional Comments From arnd.baecker web de  2008-04-23 20:33 -------
Gilles, is digikam/libs/widgets/common/statuszoombar.cpp
the right place to modify?

I think for 0.10, this can be easily done
by defining the slider using
http://doc.trolltech.com/4.3/qabstractslider.html#invertedControls-prop

"""If this property is false, scrolling the mouse wheel "up" and using
keys like page up will increase the slider's value towards its
maximum. Otherwise pressing page up will move value towards the
slider's minimum."""

For 0.9.x: is it necessary to overwrite wheelEvent?
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161087] conflicting directions of mouse scroll when zooming

Gilles Caulier-4
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161087         




------- Additional Comments From caulier.gilles gmail com  2008-04-23 21:03 -------
Arnd,

> is digikam/libs/widgets/common/statuszoombar.cpp the right place to modify?

yes it is.

> I think for 0.10, this can be easily done by defining the slider using
> http://doc.trolltech.com/4.3/qabstractslider.html#invertedControls-prop 

right.

> For 0.9.x: is it necessary to overwrite wheelEvent?

yes.

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161087] conflicting directions of mouse scroll when zooming

Arnd Baecker
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161087         




------- Additional Comments From arnd.baecker web de  2008-04-25 13:03 -------
SVN commit 800977 by abaecker:

Enforce consistent behaviour when using the mouse wheel over the zoom slider.

CCBUGS: 161087
TODO:KDE4PORT



 M  +2 -1      NEWS  
 M  +39 -3     libs/widgets/common/statuszoombar.cpp  
 M  +21 -0     libs/widgets/common/statuszoombar.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=800977
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161087] conflicting directions of mouse scroll when zooming

Arnd Baecker
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161087         




------- Additional Comments From arnd.baecker web de  2008-04-25 13:06 -------
Note that the KDE4PORT will be much simpler: Adding
  d->zoomSlider->setInvertedControls(true);
should do the job.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 161087] conflicting directions of mouse scroll when zooming

Gilles Caulier-4
In reply to this post by Bugzilla from mikmach@wp.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161087         
caulier.gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From caulier.gilles gmail com  2008-04-25 13:29 -------
SVN commit 800982 by cgilles:

backport commit #800977 to KDE3 branch
BUG: 161087


 M  +1 -0      statuszoombar.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=800982
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel