Bug 264755

Summary: Marble 4.6.0 mouse drag actions reverse when zoomed when Marble is used as desktop wallpaper
Product: [Applications] marble Reporter: Mike Bonar <mike.bonar>
Component: wallpaperAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: normal CC: aseigo, gregor, moltonel, nienhueser, saschpe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mike Bonar 2011-01-29 16:14:28 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

When you select the Globe as a desktop wallpaper, dragging the globe works correctly until you zoom in to make the globe fill the screen.  Then the mouse action for left and right reverses.  Up and down still works.  This doesn't happen in the Marble application itself, only when you use it as a wallpaper.

Reproducible: Didn't try

Steps to Reproduce:
Set background to globe, zoom and drag.

Actual Results:  
Left and right drag actions are reversed.  Dragging left causes the globe to rotate to the right.  Dragging right causes the globe to rotate to the left.

Expected Results:  
Dragging left should cause the globe to rotate to the left and vice versa.
Comment 1 Dennis Nienhüser 2011-01-29 23:40:51 UTC
void MarbleWallpaper::mouseMoveEvent(QGraphicsSceneMouseEvent *event) seems to be based on a copy (as in paste) of an old version of bool MarbleWidgetDefaultInputHandler::eventFilter( QObject* o, QEvent* e )

Other issues:
- Panning an OSM based map in Mercator projection results in a black background (zooming works)
- The wheel zoom factor is way too small. It takes ages to zoom in/out. The factor 10 should be replaced with 40.
- It feels really slow for some reason. Marble itself at the same size (fullscreen) displays maps way faster
Comment 2 Dennis Nienhüser 2011-02-13 17:32:36 UTC
Reassigning to plasma as the wallpaper is not maintained by the Marble team (please check that I chose the right product/component).
Comment 3 Vincent de Phily 2011-12-05 22:48:34 UTC
*** Bug 282243 has been marked as a duplicate of this bug. ***
Comment 4 Gregor Tätzner 2012-05-31 12:52:34 UTC
Can you have a look? https://git.reviewboard.kde.org/r/105118/
Comment 5 Gregor Tätzner 2012-05-31 13:51:33 UTC
Git commit a655300e649f03bfb9a378c2bca4d8556b53b568 by Gregor Tätzner.
Committed on 31/05/2012 at 15:48.
Pushed by gregort into branch 'master'.

Marble wallpaper: Increase scroll speed and fix spin direction
Related: bug 216156
REVIEW: 105118

M  +4    -16   wallpapers/marble/marble.cpp

http://commits.kde.org/kdeplasma-addons/a655300e649f03bfb9a378c2bca4d8556b53b568