google-code-export / gambas

Automatically exported from code.google.com/p/gambas
1 stars 0 forks source link

The TextBox will remain always in the foreground. #263

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The TextBox (and ListBox, maybe others as well) does not respond to clicks, but 
apparently located in the foreground. I send TextBox to the background, but 
nothing changes.
Example pictures:
http://prohardver.hu/dl/upc/2012-07/180556_example.png
http://prohardver.hu/dl/upc/2012-07/180556_example2.png
http://prohardver.hu/dl/upc/2012-07/180556_example3.png

Version: stable 3.2.0 from PPA
Distribution: Ubuntu

Original issue reported on code.google.com by krisztiankende on 1 Jul 2012 at 9:13

GoogleCodeExporter commented 9 years ago
The situation is really bad for me.
TextBox, ListBox, ProgressBar, SpinBox, i use them all and can not be redacted.
In addition, the CheckBox size is reduced in vain. I set the width size of 19, 
but text frame can also be seen. This is so ugly. But that may mask at least 
one panel.

Original comment by krisztiankende on 3 Jul 2012 at 6:39

GoogleCodeExporter commented 9 years ago
There is a problem with GTK+, that sometimes uses an X11 window for drawing 
controls (like TextBox), and sometimes does not.

Consequently, if you send a TextBox to the background, you will continue to see 
it (or part of it).

I don't know what you want to achieve exactly. Please give more details, and I 
may be able to tell you what to do to workaround that problem.

As for the CheckBox, please provide more details : a screenshot for example. 
The better of course being a project that allows me to reproduce the problem on 
my computer!

Original comment by benoit.m...@gmail.com on 4 Jul 2012 at 7:17

GoogleCodeExporter commented 9 years ago
Yes, the problem occurs gb.gtk component, and with qb.qt4 didn't.

Both problems are very easy to reconstruct. In previous versions of Gambas 
these problems didn't exist.

The example source is attached.

Original comment by krisztiankende on 4 Jul 2012 at 8:03

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by benoit.m...@gmail.com on 15 Jul 2012 at 10:19

GoogleCodeExporter commented 9 years ago

Original comment by benoit.m...@gmail.com on 15 Jul 2012 at 10:56

GoogleCodeExporter commented 9 years ago
I may have found some sort of workaround for that problem. I did it in r4963, 
can you try it?

I modified the Panel,VBox,HBox,VPanel and HPanel controls so that they get 
their own X11 window as soon as they have an explicit background color. 
Consequently, they will be able to cover any other controls.

Tell me if it works for you.

Original comment by benoit.m...@gmail.com on 17 Jul 2012 at 8:07

GoogleCodeExporter commented 9 years ago

Original comment by benoit.m...@gmail.com on 7 Sep 2014 at 8:28