[Marble-devel] Review Request: rework lmb and rmb menus

Bernhard Beschow bbeschow at cs.tu-berlin.de
Sun Nov 6 11:55:16 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103053/
-----------------------------------------------------------

Review request for Marble.


Description
-------

The lmb as well as the rmb menu offer actions regarding the current geo position. In particular, the lmb menu offers "Copy Coordinates" and "Address Details", while the rmb menu offers "Add Bookmark" and "Set Home Location". As a result, neither of the menus have precise duties, creating ambiguities, which this patch addresses. Moreover, this patch also addresses bug 282394.

The changes in the patch include:
* concentrate all actions regarding the current geo position in the rmb menu
* remove unimplemented planet action
* use the lmb menu only for resolving ambiguities when opening links

The lmb menu only appears when there are ambiguities. Otherwise, the internal browser is opened immediately or the lmb menu is ignored when there are no actions available.

The rmb menu got a new sub menu which includes the four actions from above. See screenshot for details.


This addresses bug 282394.
    http://bugs.kde.org/show_bug.cgi?id=282394


Diffs
-----

  src/lib/MarbleWidgetPopupMenu.h 3b0c643 
  src/lib/MarbleWidgetPopupMenu.cpp 762c406 

Diff: http://git.reviewboard.kde.org/r/103053/diff/diff


Testing
-------

The menus make more sense.


Screenshots
-----------

LMB menu resolving ambiguities
  http://git.reviewboard.kde.org/r/103053/s/324/
new RMB menu
  http://git.reviewboard.kde.org/r/103053/s/325/


Thanks,

Bernhard Beschow

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20111106/fa0a2db4/attachment.html>


More information about the Marble-devel mailing list