Re: Strange behaviours in MDI frames

From: Ilka Antcheva <Ilka.Antcheva_at_cern.ch>
Date: Sun, 04 Sep 2005 18:51:16 +0200
Hi Giorgio,

Reading your message I see that you are using a version of ROOT containing temporary several bugs that were fixed recently. Can you move to a newer ROOT version (cvs head)?

Thank you, Ilka

giorgio.denunzio@alice.it wrote:
Hi again!
Before all, thanks to Ilka for his answers, some days ago: they were precious! 
My project is growing more and more and I am overcoming many obstacles 
thanks to your
hints!

Now, the present problem..

In MDI code something strange happens:

1) colours: the font colour in labels, text entries, menus, is not always black, 
but it changes in an
almost unpredictable way between black and white (on a white background) 
for labels, and it is always
white on white for text entries (I mean, without doing anything but maximizing/minimizing 
etc).
2) buttons: they do not work the expected way (tested for normal text 
buttons and for check buttons).

The details.
Please execute mditest.C.
Your nice MDI main window opens, and various MDI frame childrens pop up.
a) select window "three" (the green one) by clicking on it or by Windows-
  
Windows->three.
    
b) click on button "Button 1": it remains pressed! Clicking again is no 
use.
c) click on button "Button 2": it remains pressed! Clicking again is no 
use.
d) maximize window "three" within the MDI main frame. Now clicking again 
on the buttons unlocks them
and things work as they should.
e) Now even restoring window "three" leaves the buttons working with no 
problem
f) The same thong happens in window "two" (the red one)
g) Now, window "MDI hints test": the text colour in the text entry (and 
in labels, from time to time)
is white: I cannot see the text within the text entry, I have to select 
it with the mouse then I can
see it.

That is all! I use a Scientific Linux v3 distribution, and I have the same 
problems on two
different pc's (but with the same linux distribution). uname -a gives:
Linux nb-gdn.unile.it 2.4.21-27.0.1.EL #1 Sat Dec 25 14:19:20 CST 2004 
i686 i686 i386 GNU/Linux

Anyone else is noting this strange behaviour? 
Thanks!
Giorgio



  
Received on Sun Sep 04 2005 - 18:51:24 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:12 MET