PR# 12536 Cannot distinguish pushed-in buttons from other buttons in Class tool

Problem Report Summary
Submitter: prestoat2000
Category: EiffelStudio
Priority: High
Date: 2007/04/25
Class: Bug
Severity: Critical
Number: 12536
Release: 6.0.67948
Confidential: No
Status: Closed
Responsible: misterieking
Environment: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.0.7) Gecko/20060915 Firefox/1.5.0.7 Solaris 9 on SPARC
Synopsis: Cannot distinguish pushed-in buttons from other buttons in Class tool

Description
I cannot tell which button is "pushed in" (selected) in the Class and
Feature Relation tools.  This is a regression from 5.7 and makes these
tools very difficult to use.  This problem is not present in rev
67775, so a recent change must have broken something.

To Reproduce

										
Problem Report Interactions
From:larryl    Date:2007/09/09    Status: Closed    Download   
This bug is fixed in revision#70290 for Eiffel Studio 6.1. But not committed in Eiffel Studio 6.0 branch.

Thanks for your report.

From:prestoat2000    Date:2007/07/13    Download   
Yes, pictures attached.  Compare the Flat format button in the
Feature Relation window of 5.7 vs 6.0.  In 5.7, it is very obvious
which button is pushed in, but it is much harder to tell in 6.0.
Hopefully, I didn't switch the two pictures.


Attachment: buttons-5.7.png     Size:44904
Attachment: buttons-6.0.png     Size:38521
From:manus_eiffel    Date:2007/07/13    Download   
Could you actually attached a picture of what you get?

From:prestoat2000    Date:2007/05/30    Download   
That's not the source of my problem, since I'm using either GTK+2.4 or 2.6.
The pushed-in buttons are now somewhat distinguishable from the ones that aren't
pushed in (originally it was almost impossible to tell whether a button was
pushed in) but it still isn't as easy to tell which ones are pushed in as it
is in 5.7.  In 5.7, I could just glance at a button to tell whether it was
pushed in.  Not so in 6.0.  I think the source of the problem is that in 5.7, 
there is a border that gives the buttons a more 3-D look when pushed in.

To see what I'm talking about, run 5.7 on a Solaris SPARC host and run 6.0 on
that same host and compare how easy it is to tell at a glance which buttons
are pushed in.

The current implementation is *possibly* acceptable, but is a step backwards
from what we had in 5.7.

From:larryl    Date:2007/05/29    Download   
I remembered that Eiffel Studio minimum GTK version requirement is 2.4. So GTK 2.1 is not higher enough. I think this is the key of this problem.
Please have a look at:
http://docs.eiffel.com/eiffelstudio/installation/studio57/index.html and link to Sun Solaris.

From:prestoat2000    Date:2007/04/26    Download   
One more clarification:  when I select (for example) descendant
versions in the Feature Relation tool, the button appears pushed in while
the descendants are being calculated.  When the calculation ends and the
descendants of the feature are displayed, the pushed-in button pops out
again and the only thing that distinguishes it from other buttons is a
thin line drawn around it.  So the problem seems to be more that the
button doesn't retain its "pushed-in" appearance.

From:prestoat2000    Date:2007/04/25    Download   
I just tried with Solaris 10 on x86 (32-bit version) and GTK+2.10.
The problem occurs there as well.  If I look really carefully, I can tell
which one is pushed in, but it is extremely difficult.  I'm using JDS in
case it matters.

From:larryl    Date:2007/04/25    Status: Analyzed    Download   
I think the reason of this bug is same as bug#12508. From revision#67849, we start to draw the tool bar buttons ourselves, not using the native tool bar widgets anymore. I have tested this problem on my Solaris 10 32bits which installed on WMware, but it doesn't have the problem (you can see it in attached snapshot). Maybe it's a GTK version related problem. I'm finding a lower GTK version Solaris now.

Attachment: bug#12536.PNG     Size:85791