Plasmoid's TextField on Panel?

Zoltan Gyarmati mr.zoltan.gyarmati at gmail.com
Thu Mar 2 17:30:59 UTC 2017


On 03/02/2017 10:34 AM, Marco Martin wrote:
> On Thursday 02 March 2017 05:35:02 Zoltan Gyarmati wrote:
>> Dear All,
>>
>> I'm developing a simple plasmoid which has a few TextFields (imported
>> from org.kde.plasma.components 2.0) on it. When i add the plasmoid to
>> the desktop or run it with plasmawindowed the TextField accepts the
>> keyboard input as usual, but when i add the plasmoid to a Panel, it
>> doesn't accept keyboard input anymore: if i click in it, the cursor
>> appears in the TextField (and also my onFocusChanged handler is called),
>> but when i press any key it won't appear in the TextField.
>> Is it possible that a plasmoid placed on a Panel can't accept keyboard
>> input?
> when clicked on the text field in the panel you should set 
> plasmoid.state=PlasmaCore.Types.AcceptingInputStatus
Thanks for the hint! Unfortunately i still couldn't hunt this down. I
also found the related bug report [1], checked whether my version
(5.8.4) already got this commit (it does).
 I checked the minimal example attached to that bugreport [2], and it
doesn't work for me neither... Do you have any further hints by any chance?

[1] https://bugs.kde.org/show_bug.cgi?id=364276
[2] https://bugs.kde.org/attachment.cgi?id=99479

Thanks, regards,

Zoltan Gyarmati
https://zgyarmati.de


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170302/b2f72c49/attachment.sig>


More information about the Plasma-devel mailing list