Hi,
Having implemented a text input widget with CanvasGadget, I've a little issue on Linux (Ubuntu 12.04.1):
Once the CanvasGadget has focus, if I press CONTROL (+X/+C/+V to deal with clipboard) I immediately loose focus, the CONTROL key being intercepted by the desktop.
Do you know the trick for the CanvasGadget to keep focus even after a CONTROL press ?
Thanks,
Guy.
[SOLVED] [CanvasGadget] Focus Lost After CONTROL press
- grabiller
- Enthusiast

- Posts: 309
- Joined: Wed Jun 01, 2011 9:38 am
- Location: France - 89220 Rogny-Les-Septs-Ecluses
- Contact:
[SOLVED] [CanvasGadget] Focus Lost After CONTROL press
Last edited by grabiller on Mon Oct 01, 2012 2:29 pm, edited 1 time in total.
guy rabiller | radfac founder / ceo | raafal.org
Re: [CanvasGadget] Focus Lost After CONTROL press
yes I think I noticed that too, I will have look in the morning
Windows 11, Manjaro, Raspberry Pi OS


- grabiller
- Enthusiast

- Posts: 309
- Joined: Wed Jun 01, 2011 9:38 am
- Location: France - 89220 Rogny-Les-Septs-Ecluses
- Contact:
Re: [CanvasGadget] Focus Lost After CONTROL press
I solved the problem, Fred gave me a hint on the french forum.
I just had to setup keyboard shortcuts with AddKeyboardShortcut(), now it works perfectly.
Here is the result:
http://www.raafal.org/download/raafal.x ... nux.tar.gz
And on Windows & MacOSX to compare:
http://www.raafal.org/download/raafal.x ... indows.zip
http://www.raafal.org/download/raafal.x ... macosx.zip
(I still have a mysterious issue on Mac with one DrawImage though.. the 'Subscription' disabled button)
I just had to setup keyboard shortcuts with AddKeyboardShortcut(), now it works perfectly.
Here is the result:
http://www.raafal.org/download/raafal.x ... nux.tar.gz
And on Windows & MacOSX to compare:
http://www.raafal.org/download/raafal.x ... indows.zip
http://www.raafal.org/download/raafal.x ... macosx.zip
(I still have a mysterious issue on Mac with one DrawImage though.. the 'Subscription' disabled button)
guy rabiller | radfac founder / ceo | raafal.org
