Bug 181031 - Enusre tasks context menu is at least as wide as the task button
Summary: Enusre tasks context menu is at least as wide as the task button
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-taskbar (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2009-01-16 23:39 UTC by Pascal Bakhuis
Modified: 2009-04-27 04:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot displaying the mouse position / menu position problem (42.52 KB, image/png)
2009-01-16 23:45 UTC, Pascal Bakhuis
Details
Screenshot demonstrating menu behaviours (102.90 KB, image/png)
2009-01-25 20:58 UTC, Pascal Bakhuis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Bakhuis 2009-01-16 23:39:51 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

When rightclicking an entry (running task) in the task manager the menu pops up aligned along the left side of the task instead of at the mouse position.

Can only assume this a bug instead of a 'wish' as everything else within KDE does have the 'at mouse cursor' behavior.
Comment 1 Pascal Bakhuis 2009-01-16 23:45:31 UTC
Created attachment 30330 [details]
Screenshot displaying the mouse position / menu position problem

The red circle is the position of the cursor / where the right click occured.

used ksnapshot to make the screenshot, but it hides the cursor.
Comment 2 Aaron J. Seigo 2009-01-17 10:07:50 UTC
popping it up at the click point in this case would look ugly and inconsistent with the left click menus. what should be enforced is that the menu is at least as wide as the button.


Comment 3 Pascal Bakhuis 2009-01-25 20:58:05 UTC
Created attachment 30600 [details]
Screenshot demonstrating menu behaviours

red dot represents the cursor position again.

Left is current behaviour.
Center is the above posters wished behaviour.
Right is the expected behaviour (or at least what I would expect as it work like that everywhere else)
Comment 4 FiNeX 2009-04-26 16:22:14 UTC
Actually current trunk behave like the second image on the screenshot (almost). It is at least wide like the task. It seems good to me.

Should HIG team be CC-ed for this bug?
Comment 5 Aaron J. Seigo 2009-04-27 04:01:38 UTC
SVN commit 959750 by aseigo:

make the popups at least as wide as the buttons
BUG:181031


 M  +1 -1      abstracttaskitem.cpp  
 M  +19 -0     taskgroupitem.cpp  
 M  +8 -9      taskgroupitem.h  
 M  +5 -0      windowtaskitem.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=959750