Personal tools
You are here: Home Forum Nice Office Access (NOA) Cannot type in SWT writer window on Linux

 • Cannot type in SWT writer window on Linux

Replies: 7   Views: 258
Up one level

 • Cannot type in SWT writer window on Linux

Posted by bt10000 at 2011-01-28 12:08:10
Hi,

Following the example code on the wiki for creating a writer window in SWT:
http://www.usegroup.de/software/noa/index.php/Hello_World_in_SWT/JFace

The window opens correctly - but I am not able to type anything in the window.

I can insert things like tables from the menu - but am unable to type any text.

Does anyone know why this is - and is there a solution?

Thanks
bt10000 Member
Posts: 10

 • Re: Cannot type in SWT writer window on Linux

Posted by xnopso at 2011-02-05 10:08:00
xnopso Member
Posts: 4

 • Re: Cannot type in SWT writer window on Linux

Posted by bt10000 at 2011-02-07 18:55:02
Thanks - yes seems to be related.

Am looking into how to work around this - will post back if I find a solution.
bt10000 Member
Posts: 10

 • Re: Cannot type in SWT writer window on Linux

Posted by xnopso at 2011-02-08 08:57:22
I would be very grateful if you post your workaround when you find one.

In the mean time, take a look at this either:
http://www.openoffice.org/issues/show_bug.cgi?id=97007
xnopso Member
Posts: 4

 • Re: Cannot type in SWT writer window on Linux

Posted by bt10000 at 2011-03-23 13:12:30
The only workaround I have found so far is, go into the embedded window and do window -> new window.

Typing in the new window adds text to the embedded window (yes that's quite horrible).

Tested today with Libreoffice too - same issue.

I will try posting a bug to Libreoffice.
bt10000 Member
Posts: 10

 • Re: Cannot type in SWT writer window on Linux

Posted by bt10000 at 2011-03-24 08:51:37
Have posted to the Libre Office mailing list here:
http://nabble.documentfoundation.org/Embedding-LibreOffice-in-SWT-on-Linux-td2720123.html

If your interested in this issue please also post there.

Thanks
bt10000 Member
Posts: 10

 • Re: Cannot type in SWT writer window on Linux

Posted by jstaerk at 2011-05-14 11:08:29
Hi bt10000,

http://wiki.services.openoffice.org/wiki/OOoBean#nofocus mentioned in your thread was actually a good tip, I have to confirm that but my app seems to work now. The caret is still missing but keyboard focus seems to be back.

kind regards
Jochen
jstaerk Member
Posts: 52

 • Re: Cannot type in SWT writer window on Linux

Posted by jstaerk at 2011-05-14 11:08:47
PS: I updated the tutorial.
jstaerk Member
Posts: 52

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: