GNOME Bugzilla – Bug 681052
[regression] Some menu items in pitivi don't ever show their labels
Last modified: 2012-10-13 14:25:18 UTC
Created attachment 220127 [details] screenshot See attached screenshot. See https://github.com/nekohayo/pitivi/blob/pygi/pitivi/timeline/timeline.py#L1075 for the code (current WIP "pygi" branch of pitivi) If you want to try it out yourself, see http://wiki.pitivi.org/wiki/Building_with_GES ; use the bin/pitivi-git script available in the pitivi checkout to make things easy. The menu items whose labels are not appearing in the screenshot have nothing different than the others, worked in gtk2, and hardcoding their labels doesn't change anything. It's specific to those menu items, if I put some other menu item (ex: from the bottom of the menu) among those, that one shows up. Also, the "Delete" action among selection_actions is not affected, so selection_actions is not the problem per se. Here's some background from an IRC discussion (edited a bit for clarity/brevity): <Company> i'd have assumed it's the "wrong colors" bug in the css engine, but that'd require the theme you're using to use that background gray as a foreground color somewhere [...] <Company> it's a bug with CSS caching so all these elements would need to fill their cache at the same time with the same values to trigger it in the same way (sorry when using elements and widgets interchangably, but when talking CSS I tend to use their terms) <Company> if you run gtk master you can try with GTK_DEBUG=no-css-cache <nekohayo> we tried not making them sensitive to begin with; the labels for those items still aren't visible, however the mouse prelight works. We tried with master and GTK_DEBUG=no-css-cache and it didn't seem to help <Company> then it's a bug in the theme i guess <nekohayo> the theme itself or the theme code in gtk? <Company> no, the adwaita/adwaita dark/raleigh etc... though i think adwaita vs adwaita dark is only colors? <nekohayo> wait a second... as cymacs is running gtk master on his machine, for some reason it just so happens that it doesn't use any theme (ie: no adwaita, no dark variant). So it can't be the theme, if we are using two different themes on our machines and both see the bug...
First thing to figure out: are the labels just not drawn, or are they really not present ? You could e.g. run orca and see if it reads those items to you with their labels
Hmm, for some reason I'm unable to test that, Orca can't read anything in the pitivi GTK3 window (although it reads other GTK3 apps fine). Perhaps because of all the environment vars set by the bin/pitivi-git script of that branch...
Does it work with git master? I'm still hoping this is a dup of bug 672046...
I found the issue while looking into some other bug... nevermind :)