List Info

Thread: Java 1.5, KWin and rolled windows




Java 1.5, KWin and rolled windows
user name
2007-07-23 05:37:15
Hello list.
We are migrating our open source GIS client from Java 1.4 to
Java 1.5, 
but we are getting a strange behaviour with 1.5 version
under KDE.
When we create Java windows (JDialogs) from our application,
they 
randomly are displayed in rolled up mode. Then, if we click
on the 
window's kwin menu, we can see that the "rolled
up" feature is selected. 
If we de-select this feature, sometimes the window gets
correctly 
restored, but sometimes it remains rolled up (and sometimes
the window 
decorations disappear and the window contents gets
maximized, filling 
the full screen).

We didn't have this problem with Java 1.4, and we don't have
it with 
Java 1.5 in Gnome or Windows. Maybe it's a Java bug, or a
KWin's bug 
which is triggered by our application (or maybe there are
bugs on both 
sides). We have tried with different KDE versions (from
quite old 
Ubuntus to the lastest 04.07 Feisty).

The bug even appears in the JFileChooser, which is a window
directly 
created by Java, so I don't think we are doing something
strange during 
window creation. But it's a bit puzzling that I couldn't
find similar 
problems at Google.

- Have you ever heard a similar bug?
- (As a workaround) Is there a way to disable rolled windows
in KWin?

Any idea is appreciated.

  Regards,

-- 
César Martínez Izquierdo
gvSIG development project
http://www.gvsig.gva.es

IVER T.I.
C/ Salamanca 50
46005 Valencia - Spain
http://www.iver.es

_______________________________________________
Kde-java mailing list
Kde-javakde.org
https:
//mail.kde.org/mailman/listinfo/kde-java

Re: Java 1.5, KWin and rolled windows
user name
2007-07-23 05:53:11
On 7/23/07, Cesar Martinez Izquierdo <cesar.martineziver.es> wrote:
> We are migrating our open source GIS client from Java
1.4 to Java 1.5,
> but we are getting a strange behaviour with 1.5 version
under KDE.
> When we create Java windows (JDialogs) from our
application, they
> randomly are displayed in rolled up mode. Then, if we
click on the
> window's kwin menu, we can see that the "rolled
up" feature is selected.
> If we de-select this feature, sometimes the window gets
correctly
> restored, but sometimes it remains rolled up (and
sometimes the window
> decorations disappear and the window contents gets
maximized, filling
> the full screen).

With 'rolled up' you mean the effect you get when double
clicking the
title bar, correct? So that you only get to see the title
bar? I have
witnessed this behavior for quite some time now, but never
really
found a pattern... actually, have not seen it in months
now...

I know this is not really helpful... but glad to see others
found this
behavior too 

Egon
_______________________________________________
Kde-java mailing list
Kde-javakde.org
https:
//mail.kde.org/mailman/listinfo/kde-java

Re: Java 1.5, KWin and rolled windows
user name
2007-07-23 06:19:51
Egon Willighagen escribió:
> With 'rolled up' you mean the effect you get when
double clicking the
> title bar, correct?

Yes, I mean that effect.

> I know this is not really helpful... but glad to see
others found this
> behavior too 

Well, it's better than nothing. At least we know it isn't
just our 
application's problem.
Maybe I open a bug in KWin and see what Kwin developers
think about.

Is there any way to disable rolled-up windows in KWin?

Regards,


-- 
César Martínez Izquierdo
Equipo de desarrollo gvSIG
http://www.gvsig.gva.es

IVER T.I.
C/ Salamanca 50
46005 Valencia - Spain
http://www.iver.es

_______________________________________________
Kde-java mailing list
Kde-javakde.org
https:
//mail.kde.org/mailman/listinfo/kde-java

Re: Java 1.5, KWin and rolled windows
user name
2007-07-23 06:33:45
On Monday 23 July 2007, Cesar Martinez Izquierdo wrote:
> Egon Willighagen escribió:
> > With 'rolled up' you mean the effect you get when
double clicking the
> > title bar, correct?
>
> Yes, I mean that effect.
>
> > I know this is not really helpful... but glad to
see others found this
> > behavior too 
>
> Well, it's better than nothing. At least we know it
isn't just our
> application's problem.
> Maybe I open a bug in KWin and see what Kwin developers
think about.

You should also file a bug report with SUN. If it worked
before it is a 
regression and they are quite serious about those.

For some reasons their current AWT peers or Java2D
implementation seems to 
have some strange issues with different window managers.
I have heard reports of Java windows not showing any content
at all if run 
under Compiz or Beryl.

Would be interesting do know which behavior you get with
different JRE's

> Is there any way to disable rolled-up windows in KWin?

You could try to override using window specific settings.

Cheers.
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

_______________________________________________
Kde-java mailing list
Kde-javakde.org
https:
//mail.kde.org/mailman/listinfo/kde-java

Re: Java 1.5, KWin and rolled windows
user name
2007-07-23 07:47:26
Egon Willighagen escribió:
> On 7/23/07, Cesar Martinez Izquierdo
<cesar.martineziver.es> wrote:
>> We are migrating our open source GIS client from
Java 1.4 to Java 1.5,
>> but we are getting a strange behaviour with 1.5
version under KDE.
>> When we create Java windows (JDialogs) from our
application, they
>> randomly are displayed in rolled up mode. Then, if
we click on the
>> window's kwin menu, we can see that the
"rolled up" feature is selected.
>> If we de-select this feature, sometimes the window
gets correctly
>> restored, but sometimes it remains rolled up (and
sometimes the window
>> decorations disappear and the window contents gets
maximized, filling
>> the full screen).
> 
> With 'rolled up' you mean the effect you get when
double clicking the
> title bar, correct? So that you only get to see the
title bar? I have
> witnessed this behavior for quite some time now, but
never really
> found a pattern... actually, have not seen it in months
now...
> 
> I know this is not really helpful... but glad to see
others found this
> behavior too 
> 
> Egon

Do you use the "looks" L&F library? (Just to
try to find the common 
roots of the problem).

Regards,

-- 
César Martínez Izquierdo
gvSIG development team
http://www.gvsig.gva.es

IVER T.I.
C/ Salamanca 50
46005 Valencia - Spain
http://www.iver.es

_______________________________________________
Kde-java mailing list
Kde-javakde.org
https:
//mail.kde.org/mailman/listinfo/kde-java

[1-5]

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