Bug 183710 - Dictionary plasmoid should focus its text field automatically when its panel icon is clicked
Summary: Dictionary plasmoid should focus its text field automatically when its panel ...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-misc (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-08 18:08 UTC by Stephan Sokolow
Modified: 2011-12-06 13:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Proposed patch to workaround this issue (951 bytes, patch)
2009-04-27 04:29 UTC, Dario Andres
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Sokolow 2009-02-08 18:08:15 UTC
Version:           unknown (using 4.2.00 (KDE 4.2.0), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.25-gentoo-r7-20080501

Currently, when I click the dictionary icon in my panel, I have to then manually click the text field in the dictionary pop-up before I can enter text. It should automatically focus the text field when the icon is clicked.
Comment 1 Dario Andres 2009-04-27 04:29:16 UTC
Created attachment 33144 [details]
Proposed patch to workaround this issue

This is a "strange" workaround to the bug. (It seems to be a focus bug elsewhere.)
The workaround is not perfect as it doesn't show the cursor, but it set the focus to the line edit.
Comment 2 Artur Souza (MoRpHeUz) 2009-05-20 18:42:45 UTC
SVN commit 970732 by asouza:

Commiting Dario's patch regarding focus problem on dict applet

The cursor is not shown due to the same bug with focus+QGraphicsView,
so we can consider _this_ bug closed. As soon as we fix the other bug
everything will be perfect.

BUG:183710


 M  +5 -4      dict.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=970732
Comment 3 Michele Gastaldo 2011-12-06 13:18:04 UTC
in KDE 4.7.2, focus is addressed correctly with mouse click.

but if a keyboard shortcut is used instead, focus doesn't go to text field

guess this is the same issue, if not tell me, I'll open another bug report