Bug 165938 - Select all (ctrl-a) doesn't work in plasmoid
Summary: Select all (ctrl-a) doesn't work in plasmoid
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-07 13:28 UTC by Thomas Zander
Modified: 2008-12-16 05:36 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Zander 2008-07-07 13:28:33 UTC
Version:            (using Devel)

To reproduce;

Insert a sticky-note plasmoid.
Type some text
Make sure your focus is in the sticky-note and press 'ctrl-a'  Which is select-all.

What happens;  the plasma-wide dialog to add a plasmoid shows up.
What I expected to happen; the 'select all' action to be triggered.

Important observations; 
* if you already have the 'Add widgets' dialog open and again place your caret in the sticky-note app then press ctrl-a all the items in the add widgets dialog will be selected.
* If you right click on the Notes plasmoid you will see that there is indeed a select-all action and that its shortcut is indeed ctrl-a ;)
Comment 1 Aaron J. Seigo 2008-07-07 22:46:45 UTC
welcome to the insane world of focus on QGraphicsView. there are a number of issues that remain, hopefully more (all? =) of them will be sorted in Qt 4.5.

i'm 95% sure this is due to these upstream issues, but don't have time to verify right now; i'll leave this one open until someone (e.g. me) confirms (or not). if someone can track it back to a Qt issue, we can close it here.
Comment 2 Christoph Burgmer 2008-08-02 12:47:55 UTC
Can you "move" this report to widget-misc? I was going to file the same bug there. Or what's the best place for it?
Comment 3 Gabriel Ramirez 2008-10-09 05:32:57 UTC
this bug still exists in kde 4.1.1 with rpms from fedora 9, I think which the problem is the shorcut choosen to open the plasmoid dialog and not the focus in QgraphicView, because ctrl-a historically is a shortcut to select things (objects) in a window (text, icons, objects depending the apllication), plasma is a new way to program a graphic interface in kde, maybe is better to select new shorcuts for plasma actions instead of getting old ones because that confuse some users.
Comment 4 Sebastian Sauer 2008-12-16 04:13:23 UTC
In the Containment::init() method in kdelibs/plasma/containment.cpp we register following shortcuts;
* ctrl+a (conflicts with select all)
* ctrl+n
* ctrl+p (conflicts with paste)
* ctrl+l
* QKeySequence::ZoomIn
* ctrl+=
* QKeySequence::ZoomOut)
* ctrl+shift+a
Comment 5 Sebastian Sauer 2008-12-16 05:36:13 UTC
eh, my fault. ctrl+p doesn't conflicts with paste cause that's ctrl+v :-/
anyway, it's fixed now with r897447. Thanks for the feedback!