Bug 155869 - Fifteen puzzle plasmoid can't be removed from the panel
Summary: Fifteen puzzle plasmoid can't be removed from the panel
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-fifteenpuzzle (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-16 01:59 UTC by Ryan Paul
Modified: 2008-01-23 08:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screen shot of the Fifteen Puzzle plasmoid embedded in the panel (65.47 KB, image/png)
2008-01-16 09:01 UTC, Ryan Paul
Details

Note You need to log in before you can comment on or make changes to this bug.
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.