Combobox badly initialized (semi-sensitive?) since gtk3

Bug #970814 reported by YannUbuntu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)
Expired
Low
Unassigned

Bug Description

My app uses a GTK3 ui created by Glade3.10.
In the Glade file, there are some combobox with default "sensitive" settings (sensitive=yes), other with "non-sensitive" settings (sensitive=no)

OBSERVED BEHAVIOR:
When running my app (either in Ubuntu 11.10 or 12.04), all comboboxes (sensitive=yes or no) appear in what i will call "semi-sensitive" state: they behave like sensitive but their label is greyed (not the arrow, which is normally black, see attached screenshot).
When the user moves the cursor above the combobox, the grey label becomes black (like a normal sensitive combobox).

EXPECTED BEHAVIOR:
the comboboxes should directly appear in the state chosen in the Glade file.

WORKAROUND:
in the code of my app, i send a signal to set the state of the combobox as "sensitive" to make it sensitive at start. If i want the combobox to appear "non-sensitive" at start, i need to send a signal to set the state of the combobox as "sensitive" then another one to set it "non-sensitive".

Remarks:
- don't hesitate to ask more informations, or link me to the right place.
- with gtk2 my app does not have this bug

Revision history for this message
YannUbuntu (yannubuntu) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, does that depend of the theme? Could you add a small testcase to the bug?

affects: gtk+3.0 (Ubuntu) → ubuntu
Changed in ubuntu:
importance: Undecided → Low
status: New → Incomplete
affects: ubuntu → gtk+3.0 (Ubuntu)
Revision history for this message
YannUbuntu (yannubuntu) wrote :

Hi Sebastien, thanks for your reply.

I reproduced the bug with the 4 themes of 11.10 (Ambiance, Radiance, HighContrast, HighContrastInverse)

Here is a fast way to reproduce:
1) Install and run Boot-Repair in Ubuntu 11.10 or 12.04, by typing:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update && sudo apt-get install -y boot-repair
2) Now let's DISABLE THE WORKAROUND i wrote in the bug description, by :
   - run: gksudo gedit /usr/share/boot-sav/gui-tab-loca.sh
   - in this files, comment the 2 lines which end by "solves glade3 bug", then save the file.
3) run "boot-repair", click "Advanced options", then go in the "GRUB location" tab. (don't worry it won't change your boot if you don't click the "Apply" button.)
4) check the combobox at the right-side of "Separate /boot partition". You will see it has a STRANGE SEMI-SENSITIVE status like in the attached screenshot.
5) Click the "Quit" button, in order to close Boot-Repair.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gtk+3.0 (Ubuntu) because there has been no activity for 60 days.]

Changed in gtk+3.0 (Ubuntu):
status: Incomplete → Expired
Revision history for this message
YannUbuntu (yannubuntu) wrote :

Still valid.

Changed in gtk+3.0 (Ubuntu):
status: Expired → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

Is that still an issue in newer Ubuntu versions?

Changed in gtk+3.0 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gtk+3.0 (Ubuntu) because there has been no activity for 60 days.]

Changed in gtk+3.0 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.