List Info

Thread: Problems integrating OfficeBean on gtk+




Problems integrating OfficeBean on gtk+
user name
2007-02-15 11:13:43
Hello List,

I am trying to implement an OfficeBean beside several AWT
TextAreas. 

It has an AWT-Frame containing two TextAreas and an
officeFrame.
Running it on win32 works fine but it fails under gtk+. 

When the officeControle receives KeyFocus, it refuses to
lose it afterwards.
It is still possible to give focus to a textArea which
results in two
cursors blinking in different frequencies. From then, every
typed key is
recognized and displayed by both, officeControl and
textArea. Furthermore
the position of the mouse has a strange effect; holding it
above the
selected textArea or the officeControl stops the
respectively other from
receiving key strokes.

I do not know if this is an gtk+ or officeBean-issue since
it works fine
with win32/sun-java but fails using gtk+/sun-java and
gtk+/classpath.

Any ideas? Maybe one could force officeControl to loose
focus?

Thanks and regards

Andreas
-- 
View this message in context: http://www.nabble.com/Pro
blems-integrating-OfficeBean-on-gtk%2B-tf3234960.html#a89895
75
Sent from the openoffice - api dev mailing list archive at
Nabble.com.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org


Re: Problems integrating OfficeBean on gtk+
user name
2007-02-16 02:08:22
Hello Joachim,

thanks for the link, but it does not solve the problem.
The OOoBean always has focus. Even when I select another
control the OOoBean
does not loose it.
Is it possible to force OOoBean to drop focus?

Andreas


Joachim Lingner wrote:
> 
> Hello,
> 
> This is a known problem, which is currently being
worked on. There is a
> workaround explained at
> 
> http
://wiki.services.openoffice.org/wiki/OOoBean
> 
> 
> Joachim
> 
> *alice* wrote:
>> Hello List,
>> 
>> I am trying to implement an OfficeBean beside
several AWT TextAreas. 
>> 
>> It has an AWT-Frame containing two TextAreas and an
officeFrame.
>> Running it on win32 works fine but it fails under
gtk+. 
>> 
>> When the officeControle receives KeyFocus, it
refuses to lose it
>> afterwards.
>> It is still possible to give focus to a textArea
which results in two
>> cursors blinking in different frequencies. From
then, every typed key is
>> recognized and displayed by both, officeControl and
textArea. Furthermore
>> the position of the mouse has a strange effect;
holding it above the
>> selected textArea or the officeControl stops the
respectively other from
>> receiving key strokes.
>> 
>> I do not know if this is an gtk+ or
officeBean-issue since it works fine
>> with win32/sun-java but fails using gtk+/sun-java
and gtk+/classpath.
>> 
>> Any ideas? Maybe one could force officeControl to
loose focus?
>> 
>> Thanks and regards
>> 
>> Andreas
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
> For additional commands, e-mail: dev-helpapi.openoffice.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Pro
blems-integrating-OfficeBean-on-gtk%2B-tf3234960.html#a90003
12
Sent from the openoffice - api dev mailing list archive at
Nabble.com.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org


Re: Problems integrating OfficeBean on gtk+
user name
2007-02-16 03:35:36
*alice* wrote:
> Hello Joachim,
> 
> thanks for the link, but it does not solve the
problem.
> The OOoBean always has focus. Even when I select
another control the OOoBean
> does not loose it.
> Is it possible to force OOoBean to drop focus?
Not that I know of. However, we hope that we have soon a fix
for GTK,
which will eventually solve this problem.

Joachim

> 
> Andreas
> 
> 
> Joachim Lingner wrote:
>> Hello,
>>
>> This is a known problem, which is currently being
worked on. There is a
>> workaround explained at
>>
>> http
://wiki.services.openoffice.org/wiki/OOoBean
>>
>>
>> Joachim
>>
>> *alice* wrote:
>>> Hello List,
>>>
>>> I am trying to implement an OfficeBean beside
several AWT TextAreas. 
>>>
>>> It has an AWT-Frame containing two TextAreas
and an officeFrame.
>>> Running it on win32 works fine but it fails
under gtk+. 
>>>
>>> When the officeControle receives KeyFocus, it
refuses to lose it
>>> afterwards.
>>> It is still possible to give focus to a
textArea which results in two
>>> cursors blinking in different frequencies. From
then, every typed key is
>>> recognized and displayed by both, officeControl
and textArea. Furthermore
>>> the position of the mouse has a strange effect;
holding it above the
>>> selected textArea or the officeControl stops
the respectively other from
>>> receiving key strokes.
>>>
>>> I do not know if this is an gtk+ or
officeBean-issue since it works fine
>>> with win32/sun-java but fails using
gtk+/sun-java and gtk+/classpath.
>>>
>>> Any ideas? Maybe one could force officeControl
to loose focus?
>>>
>>> Thanks and regards
>>>
>>> Andreas
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
>> For additional commands, e-mail: dev-helpapi.openoffice.org
>>
>>
>>
> 

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org


Re: Problems integrating OfficeBean on gtk+
user name
2007-02-16 05:43:08
I tried sun-java1.6 and it solves my primary problem .
But now the office window does not get keyboard focus after
window has been
resized or lost focus.
Joachim's tip "setting sun.awt.noxembed to true"
doesn't solve this.

Andreas


Joachim Lingner wrote:
> 
> *alice* wrote:
>> Hello Joachim,
>> 
>> thanks for the link, but it does not solve the
problem.
>> The OOoBean always has focus. Even when I select
another control the
>> OOoBean
>> does not loose it.
>> Is it possible to force OOoBean to drop focus?
> Not that I know of. However, we hope that we have soon
a fix for GTK,
> which will eventually solve this problem.
> 
> Joachim
> 
>> 
>> Andreas
>> 
>> 
>> Joachim Lingner wrote:
>>> Hello,
>>>
>>> This is a known problem, which is currently
being worked on. There is a
>>> workaround explained at
>>>
>>> http
://wiki.services.openoffice.org/wiki/OOoBean
>>>
>>>
>>> Joachim
>>>
>>> *alice* wrote:
>>>> Hello List,
>>>>
>>>> I am trying to implement an OfficeBean
beside several AWT TextAreas. 
>>>>
>>>> It has an AWT-Frame containing two
TextAreas and an officeFrame.
>>>> Running it on win32 works fine but it fails
under gtk+. 
>>>>
>>>> When the officeControle receives KeyFocus,
it refuses to lose it
>>>> afterwards.
>>>> It is still possible to give focus to a
textArea which results in two
>>>> cursors blinking in different frequencies.
From then, every typed key
>>>> is
>>>> recognized and displayed by both,
officeControl and textArea.
>>>> Furthermore
>>>> the position of the mouse has a strange
effect; holding it above the
>>>> selected textArea or the officeControl
stops the respectively other
>>>> from
>>>> receiving key strokes.
>>>>
>>>> I do not know if this is an gtk+ or
officeBean-issue since it works
>>>> fine
>>>> with win32/sun-java but fails using
gtk+/sun-java and gtk+/classpath.
>>>>
>>>> Any ideas? Maybe one could force
officeControl to loose focus?
>>>>
>>>> Thanks and regards
>>>>
>>>> Andreas
>>>
------------------------------------------------------------
---------
>>> To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
>>> For additional commands, e-mail: dev-helpapi.openoffice.org
>>>
>>>
>>>
>> 
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
> For additional commands, e-mail: dev-helpapi.openoffice.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Pro
blems-integrating-OfficeBean-on-gtk%2B-tf3234960.html#a90028
72
Sent from the openoffice - api dev mailing list archive at
Nabble.com.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )