Bug 718197

Summary: YaST2 Qt package manager opens RMB context menus at a wrong position, usability issue
Product: [openSUSE] openSUSE 12.1 Reporter: Christoph Feck <cfeck>
Component: YaST2Assignee: Thomas Göttlicher <tgoettlicher>
Status: VERIFIED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: tgoettlicher
Version: Factory   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Christoph Feck 2011-09-15 18:30:31 UTC
User-Agent:       Mozilla/5.0 (X11; Linux) KHTML/4.7.1 (like Gecko) Konqueror/4.7

I am using yast2-qt-pkg-2.21.6-2.2.i586 and the following regression is visible compared to the version from openSUSE 11.4:

When I am in a package list and I click right mouse button (RMB) to open context menus, those menus do not open at the Qt default positition, but horizontally and vertically shifted, so that the mouse pointer is _inside_ the menu instead of at the edge.

Because Qt both handles RMB click as well as RMB drag to select menu items, it now happens that when I click to open the menu, it immediately closes, because my mouse pointer moves on each click slightly (I use a stylus). This is a severe usability problem.


Reproducible: Always

Steps to Reproduce:
1. Open YaST2 Qt package manager, and go into any package list
2. RMB click on a package item
3. 
Actual Results:  
The menu opens horizontally and vertically inside the menu

Expected Results:  
It should open at the edge, like any other Qt menus
Comment 1 Thomas Göttlicher 2011-10-07 10:25:18 UTC
This bug has been fixed in yast2-qt-pkg version 2.21.10.
Comment 2 Christoph Feck 2011-10-08 00:43:44 UTC
There is still an offset compared to all other Qt menus. If you can point me to the source code, I can have a look why it does not work as all other Qt menus do.
Comment 3 Thomas Göttlicher 2011-10-10 10:17:13 UTC
(In reply to comment #2)
> There is still an offset compared to all other Qt menus. If you can point me to
> the source code, I can have a look why it does not work as all other Qt menus
> do.
You can find the source code in YaST's svn repository:

http://svn.opensuse.org/svn/yast/trunk/qt-pkg/


Thanks in advance.
Comment 4 Christoph Feck 2011-10-11 11:09:52 UTC
Could you please test http://paste.kde.org/132337/ ?
Comment 5 Thomas Göttlicher 2011-10-11 12:18:09 UTC
(In reply to comment #4)
> Could you please test http://paste.kde.org/132337/ ?

Works like a charm! Thank you very much. 
Fixed in yast2-qt-pkg-2.21.11.
Comment 6 Thomas Göttlicher 2011-10-11 12:18:24 UTC
.