Bug 155869

Summary: Fifteen puzzle plasmoid can't be removed from the panel
Product: [Unmaintained] plasma4 Reporter: Ryan Paul <segphault>
Component: widget-fifteenpuzzleAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screen shot of the Fifteen Puzzle plasmoid embedded in the panel

Description Ryan Paul 2008-01-16 01:59:30 UTC
Version:            (using KDE KDE 4.0.0)
Installed from:    SuSE RPMs
OS:                Linux

When the Fifteen Puzzle plasmoid is added to the panel, it can't be removed. Right-clicking the Fifteen Puzzle plasmoid causes the blocks to move and doesn't provide a context menu with a Remove option.

Steps to reproduce: right-click the desktop and select Add Widgets from the context menu, drag the Fifteen Puzzle item from the Add Widgets dialog into the panel, right-click the Fifteen Puzzle plasmoid.
Comment 1 Anne-Marie Mahfouf 2008-01-16 07:33:14 UTC
I cannot reproduce. What happens when you right click on the Fifteen Puzzle plasmoid?
What about other widgets like Picture Frame or Twitter?

Also: I suggest you go to konsole, you type
killall plasma && plasma
and after plasma is restarted you add the Fifteen Puzzle widget. In konsole, give a few Return to easily know where the output is. Then right click on the Fifteen Puzzle. Please paste the relevant output from Konsole in this bug report.
Comment 2 Ryan Paul 2008-01-16 08:01:19 UTC
Right-clicking on the Fifteen Puzzle plasmoid has the exact same effect as left-clicking. I don't get any output at the command line when I right-click.

The Fifteen Puzzle plasmoid is the only one that doesn't provide a right-click context menu. I can remove the twitter and picture frame plasmoids from the panel.
Comment 3 Anne-Marie Mahfouf 2008-01-16 08:38:32 UTC
The game uses both mouse buttons to play (you can move the tiles with any mouse button) so in order to get the right click menu you need to right click the mouse not on a tile but on the frame around the applet.
Comment 4 Ryan Paul 2008-01-16 09:01:32 UTC
Created attachment 23069 [details]
Screen shot of the Fifteen Puzzle plasmoid embedded in the panel

The frame around the plasmoid isn't visible when it is embedded in the panel,
so there isn't anything to click except for the tiles. I'm including a
screenshot to help provide some additional clarification.
Comment 5 Anne-Marie Mahfouf 2008-01-16 10:56:40 UTC
I missed the "in the panel" bit... Thanks for your prompt answers!

You have to remove it via the Add Widgets dialog, clicking on the -

Developer mumbling: The mouse event calls both mouse buttons. The question is to know whether calling the mouse event only on the left mouse button and leaving the right button without anything will automatically assign the context menu to the right click.

I'm going to investigate more on it as it's a global problem (at the moment maybe it happens only on 15 Puzzle but it can happen on new applets as well)
Comment 6 Anne-Marie Mahfouf 2008-01-23 08:22:19 UTC
Fixed by Aaron
r765006
http://lists.kde.org/?l=kde-commits&m=120104517931905&w=2

You can right click and get the menu now.