Re: [e-users] Wrong window size

2004-12-08 Thread Kai Edinger
Kim Woelders wrote:
Rodolfo M. Raya wrote:
On Wed, 2004-11-24 at 12:17, Carsten Haitzler wrote:
/it is quite possible the problem is enlightenment. i have seen java 
vs. e
interaction issues often enough before - mainly because the devs (ie 
me at the
time me) didn't use a single java app - had none installed and 
couldn't be
bothered installing some as it was a pain to do so. its a tough 
thing to debug
app and wm interaction -ESPECIALLY when the app goes through many 
layers of
abstraction (app codes - java - swing/awt - xlib and finally 
asynchronous
messages and events coming back)./

There are two problems:
1) Enlightenment does not remember windows settings correctly. At 
least it doesn't work with Eclipse's dialogues.

I don't quite buy that. The window size is a property of the window. E
doesn't remember that but determines it by reading the window
attributes. This happens every time a window is mapped, and the WM is
not supposed to remember anything from the last time it was mapped.
I'd suggest either a bug or failure to ignore silly values in the window
size hints or ConfigureRequest handling.
2) Eclipse does not call the appropriate pack() and setSize() 
routines. I know this is a bug in Eclipse because I write 
applications using SWT (Eclipse's tool kit) and dialog sizes are OK 
only if the correct methods are called.

*btw* the SWT ist only a Wrapper-Toolkit for the System-Toolkit on Linux 
the SWT use GTK


/it's a royal pita :( but there are many badly written x programs 
and toolkits
too. many wm's have hacks where they disobey icccm just to make 
certain broken
apps work - but these breaks then may impact other properly 
written apps
later... it's a real pain./

It's a pain and I hate been forced to use GNOME because I need to 
work Eclipse. Enlightenment is faster and cleaner, but I can't use it 
for the time being.

I would be happy to fix this problem, but I'd like a test case that
doesn't look like I would need a week to get it installed :)
The installation of Eclipse is easier that it looks like. Download and 
extract thats it :-) Have you a tip where to search for the bug in e?

Thank Kai

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Wrong window size

2004-11-25 Thread Kai Edinger
Kim Woelders wrote:
Rodolfo M. Raya wrote:
On Wed, 2004-11-24 at 12:17, Carsten Haitzler wrote:
/it is quite possible the problem is enlightenment. i have seen java 
vs. e
interaction issues often enough before - mainly because the devs (ie 
me at the
time me) didn't use a single java app - had none installed and 
couldn't be
bothered installing some as it was a pain to do so. its a tough 
thing to debug
app and wm interaction -ESPECIALLY when the app goes through many 
layers of
abstraction (app codes - java - swing/awt - xlib and finally 
asynchronous
messages and events coming back)./

There are two problems:
1) Enlightenment does not remember windows settings correctly. At 
least it doesn't work with Eclipse's dialogues.

I don't quite buy that. The window size is a property of the window. E
doesn't remember that but determines it by reading the window
attributes. This happens every time a window is mapped, and the WM is
not supposed to remember anything from the last time it was mapped.
I'd suggest either a bug or failure to ignore silly values in the window
size hints or ConfigureRequest handling.
2) Eclipse does not call the appropriate pack() and setSize() 
routines. I know this is a bug in Eclipse because I write 
applications using SWT (Eclipse's tool kit) and dialog sizes are OK 
only if the correct methods are called.

*btw* the SWT ist only a Wrapper-Toolkit for the System-Toolkit on Linux
the SWT use GTK

/it's a royal pita :( but there are many badly written x programs 
and toolkits
too. many wm's have hacks where they disobey icccm just to make 
certain broken
apps work - but these breaks then may impact other properly 
written apps
later... it's a real pain./

It's a pain and I hate been forced to use GNOME because I need to 
work Eclipse. Enlightenment is faster and cleaner, but I can't use it 
for the time being.

I would be happy to fix this problem, but I'd like a test case that
doesn't look like I would need a week to get it installed :)
The installation of Eclipse is easier that it looks like. Download and
extract thats it :-) Have you a tip where to search for the bug in e?
Thank Kai

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Wrong window size

2004-11-25 Thread The Rasterman
On Wed, 24 Nov 2004 23:53:43 -0200 "Rodolfo M. Raya" [EMAIL PROTECTED]
(Bbabbled:
(B
(B On Wed, 2004-11-24 at 22:14, Carsten Haitzler wrote:
(B 
(B   Just checked the source code of Eclipse's search  replace dialogue (the
(B   one that annoys me the most) and verified that shell.pack() method is
(B   never called. This deserves an entry in bugzilla.
(B  
(B  i'm not sure what kind of effects you get in a jvm and java - but in most
(B  cases in C if you do this kind of thing the size you get is often
(B  indeterminate as its random "stack values" being used for the sizing.
(B 
(B 
(B Hi,
(B 
(B In Java almost all widgets have relative sizes. When you call pack() all
(B buttons and labels change their size to the minimum one that's enough to
(B hold the text of the widget. After all labels and buttons have minimum
(B sizes, all other elements are resized proportionally and aligned. If
(B necessary, some buttons and labels are finally enlarged to equal the
(B size of related elements.
(B 
(B If you don't pack() the  components of a window or you don't specify
(B size constraints, their sizes remain undefined and the displayed window
(B may be a mess. In some cases, default widget sizes are good enough and
(B the dialogue has pleasant aspect, but there is no written warranty and
(B you get a nice result only by chance.
(B 
(B I write Java applications that run on Windows, Linux and Mac OSX. I
(B prefer to work on Linux because if a window looks good on Linux, I'm
(B quite sure that it will be also OK on Windows and Mac. However, some of
(B my colleagues prefer to work on Windows and when I run their code on
(B Linux, sometimes I see the wrong size defects that Eclipse shows when
(B running on Enlightenment. Those defects are easily corrected adding the
(B right constraints and calling shell.pack(). Some dialogues are also
(B wrong when you run Eclipse on GNOME, but the defects are less obvious
(B and fortunately those wrong windows allow resizing.
(B 
(B For what its worth: this problem is not new. It has been reported in
(B Eclipse's bugzilla (bug 77267)
(B
(Bgotcha.
(B
(B-- 
(B- Codito, ergo sum - "I code, therefore I am" --
(BThe Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
$BMg9%B?(B  [EMAIL PROTECTED]
(BTokyo, Japan ($BEl5~(B $BF|K\(B)
(B
(B
(B---
(BSF email is sponsored by - The IT Product Guide
(BRead honest  candid reviews on hundreds of IT Products from real users.
(BDiscover which products truly live up to the hype. Start reading now. 
(Bhttp://productguide.itmanagersjournal.com/
(B___
(Benlightenment-users mailing list
([EMAIL PROTECTED]
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-users

Re: [e-users] Wrong window size

2004-11-25 Thread Kai Edinger
Kim Woelders wrote:
Rodolfo M. Raya wrote:
On Wed, 2004-11-24 at 12:17, Carsten Haitzler wrote:
/it is quite possible the problem is enlightenment. i have seen java 
vs. e
interaction issues often enough before - mainly because the devs (ie 
me at the
time me) didn't use a single java app - had none installed and 
couldn't be
bothered installing some as it was a pain to do so. its a tough 
thing to debug
app and wm interaction -ESPECIALLY when the app goes through many 
layers of
abstraction (app codes - java - swing/awt - xlib and finally 
asynchronous
messages and events coming back)./

There are two problems:
1) Enlightenment does not remember windows settings correctly. At 
least it doesn't work with Eclipse's dialogues.

I don't quite buy that. The window size is a property of the window. E
doesn't remember that but determines it by reading the window
attributes. This happens every time a window is mapped, and the WM is
not supposed to remember anything from the last time it was mapped.
I'd suggest either a bug or failure to ignore silly values in the window
size hints or ConfigureRequest handling.
2) Eclipse does not call the appropriate pack() and setSize() 
routines. I know this is a bug in Eclipse because I write 
applications using SWT (Eclipse's tool kit) and dialog sizes are OK 
only if the correct methods are called.

*btw* the SWT ist only a Wrapper-Toolkit for the System-Toolkit on Linux
the SWT use GTK

/it's a royal pita :( but there are many badly written x programs 
and toolkits
too. many wm's have hacks where they disobey icccm just to make 
certain broken
apps work - but these breaks then may impact other properly 
written apps
later... it's a real pain./

It's a pain and I hate been forced to use GNOME because I need to 
work Eclipse. Enlightenment is faster and cleaner, but I can't use it 
for the time being.

I would be happy to fix this problem, but I'd like a test case that
doesn't look like I would need a week to get it installed :)
The installation of Eclipse is easier that it looks like. Download and
extract thats it :-) Have you a tip where to search for the bug in e?
Thank Kai

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Wrong window size

2004-11-25 Thread The Rasterman
On Wed, 24 Nov 2004 14:36:56 -0200 "Rodolfo M. Raya" [EMAIL PROTECTED]
(Bbabbled:
(B
(B On Tue, 2004-11-23 at 17:29, Kai Edinger wrote:
(B 
(B  Is it a bug or is it a problem with my settings?
(B 
(B 
(B Hi,
(B 
(B Just checked the source code of Eclipse's search  replace dialogue (the
(B one that annoys me the most) and verified that shell.pack() method is
(B never called. This deserves an entry in bugzilla.
(B
(Bi'm not sure what kind of effects you get in a jvm and java - but in most cases
(Bin C if you do this kind of thing the size you get is often indeterminate as its
(Brandom "stack values" being used for the sizing. for most people this might be
(Blots of 0's and so it's sane - but maybe for some if the execution path varies
(Bslightly it's some insane values (like 31432x7532). E will flat out  reject this
(Bas a sensible size and i think limit it to 16000x16000 - it may even have been a
(Bmax of 8192x8192 - i can't remember though.
(B
(B-- 
(B- Codito, ergo sum - "I code, therefore I am" --
(BThe Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
$BMg9%B?(B  [EMAIL PROTECTED]
(BTokyo, Japan ($BEl5~(B $BF|K\(B)
(B
(B
(B---
(BSF email is sponsored by - The IT Product Guide
(BRead honest  candid reviews on hundreds of IT Products from real users.
(BDiscover which products truly live up to the hype. Start reading now. 
(Bhttp://productguide.itmanagersjournal.com/
(B___
(Benlightenment-users mailing list
([EMAIL PROTECTED]
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-users

Re: [e-users] Wrong window size

2004-11-25 Thread Kai Edinger
Kim Woelders wrote:
Rodolfo M. Raya wrote:
On Thu, 2004-11-25 at 06:44, Kai Edinger wrote:
/*btw* the SWT ist only a Wrapper-Toolkit for the System-Toolkit on 
Linux
the SWT use GTK/

BTW, have you checked if Motif version also exhibits the same problems?
I just installed eclipse-SDK-3.0.1-linux-gtk.zip.
Now, where is the problem? I browsed around in a couple of dialogs but
can't find anything that looks broken.
I have sun j2sdk1.4.2_04 and gtk2-2.4.13, in case that is relevant.

That the problem with the problem. Sometimes it work perfect, sometimes 
the most
dialogs open with the size 0,0. The search dialog is most the first that 
show this problem
Sometimes the problem occure direct when Eclipse starts, sometime it 
takes some minuts
until the problem occure.

Thank
Kai

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Wrong window size

2004-11-24 Thread Rodolfo M. Raya




On Wed, 2004-11-24 at 12:17, Carsten Haitzler wrote:


it is quite possible the problem is enlightenment. i have seen java vs. e
interaction issues often enough before - mainly because the devs (ie me at the
time me) didn't use a single java app - had none installed and couldn't be
bothered installing some as it was a pain to do so. its a tough thing to debug
app and wm interaction -ESPECIALLY when the app goes through many layers of
abstraction (app codes - java - swing/awt - xlib and finally asynchronous
messages and events coming back).


There are two problems:

1) Enlightenment does not remember windows settings correctly. At least it doesn't work with Eclipse's dialogues. 

2) Eclipse does not call the appropriate pack() and setSize() routines. I know this is a bug in Eclipse because I write applications using SWT (Eclipse's tool kit) and dialog sizes are OK only if the correct methods are called.



it's a royal pita :( but there are many badly written x programs and toolkits
too. many wm's have hacks where they disobey icccm just to make certain broken
apps work - but these breaks then may impact other properly written apps
later... it's a real pain.


It's a pain and I hate been forced to use GNOME because I need to work Eclipse. Enlightenment is faster and cleaner, but I can't use it for the time being.

Regards,
Rodolfo



-- 
Rodolfo M. Raya [EMAIL PROTECTED]
Maxprograms








Re: [e-users] Wrong window size

2004-11-24 Thread Rodolfo M. Raya




On Tue, 2004-11-23 at 17:29, Kai Edinger wrote:

Is it a bug or is it a problem with my settings?


Hi,

Just checked the source code of Eclipse's search  replace dialogue (the one that annoys me the most) and verified that shell.pack() method is never called. This deserves an entry in bugzilla.

Rodolfo



-- 
Rodolfo M. Raya [EMAIL PROTECTED]
Maxprograms








Re: [e-users] Wrong window size

2004-11-24 Thread Kai Edinger
Kim Woelders wrote:
Kai Edinger wrote:
I use enlightenment for a couple of years and I'm very happy with it,
but in the last month I've a problem with the window size of some
Programs. For examaple Eclipse. When I  use Eclipe and a dialog pop up
sometime the size is ok, but the most times x and/or y size is null. And
if the dialog is not resizable there is now way to use it. With all
other windowmanager I've tried this problem dosen't occur. I'm running e
0.16.7 on suse 9.1. Is it a bug or is it a problem with my settings?
Eclipse looks like a monster thing I don't want to install.
Oh it is a monster :-) but it is the best monster I've ever seen *g*
If you have this problem with some other apps, please list which.
The alternative is not really smaller. With NetBean I've the same problems.
If you really have 0.16.7 please upgrade to 0.16.7.1.
Ok.
Thank Kai

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Wrong window size

2004-11-24 Thread Rodolfo M. Raya




On Tue, 2004-11-23 at 17:29, Kai Edinger wrote:

I use enlightenment for a couple of years and I'm very happy with it,
but in the last month I've a problem with the window size of some
Programs. For examaple Eclipse. When I  use Eclipe and a dialog pop up
sometime the size is ok, but the most times x and/or y size is null. And
if the dialog is not resizable there is now way to use it. With all
other windowmanager I've tried this problem dosen't occur. I'm running e
0.16.7 on suse 9.1. Is it a bug or is it a problem with my settings?


This was reported by an Eclipse developer recently:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=77267

Rodolfo



-- 
Rodolfo M. Raya [EMAIL PROTECTED]
Maxprograms








[e-users] Wrong window size

2004-11-23 Thread Kai Edinger
I use enlightenment for a couple of years and I'm very happy with it,
but in the last month I've a problem with the window size of some
Programs. For examaple Eclipse. When I  use Eclipe and a dialog pop up
sometime the size is ok, but the most times x and/or y size is null. And
if the dialog is not resizable there is now way to use it. With all
other windowmanager I've tried this problem dosen't occur. I'm running e
0.16.7 on suse 9.1. Is it a bug or is it a problem with my settings?
Has someone an idea?
Thanks
coc

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Wrong window size

2004-11-23 Thread Kim Woelders
Kai Edinger wrote:
I use enlightenment for a couple of years and I'm very happy with it,
but in the last month I've a problem with the window size of some
Programs. For examaple Eclipse. When I  use Eclipe and a dialog pop up
sometime the size is ok, but the most times x and/or y size is null. And
if the dialog is not resizable there is now way to use it. With all
other windowmanager I've tried this problem dosen't occur. I'm running e
0.16.7 on suse 9.1. Is it a bug or is it a problem with my settings?
Eclipse looks like a monster thing I don't want to install.
If you have this problem with some other apps, please list which.
If you really have 0.16.7 please upgrade to 0.16.7.1.
/Kim
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users