Bug 135824
Summary: | new libbonoboui breaks pack-end for toolbars (throbber in nautilus) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexander Larsson <alexl> |
Component: | libbonoboui | Assignee: | Ray Strode [halfline] <rstrode> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | barryn, mclasen, mpg |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-05-11 21:32:29 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Alexander Larsson
2004-10-15 09:43:22 UTC
The only clean, 100% working way I could find to fix this is to add a type="hidden" attribute for separators in libbonoboui. if (type && !strcmp (type, "hidden")) { gtk_separator_tool_item_set_draw (GTK_SEPARATOR_TOOL_ITEM (tool_item), FALSE); } Then we can add this to nautilus, before the throbber: <separator type="hidden" behavior="expandable"/> This would mirror the semantic of the gtk API. I guess pack-end could then be deprecated in libbonoboui. There are other two solutions that does not involve libbonoboui changes but they both dont work 100% well. 1 Add a "" label before the spinner and set_expand this. The issue is that you will get an empty item in the toolbar drop down menu. 2 Expand the spinner itself and modify expose to draw it aligned on the right. The issue here is that for some reason I dont understand sometimes I get a black flash in the expanded widget when it's displayed for the first time. Unfortunately it doesnt seem like spinner widget fault because putting a button in the spinner control give the same result. I guess bonobo control is to blame here... I did put together a quick patch to debonobize the throbber and I cant indeed reproduce anymore the issue with approach 2. So it seem like a bonobo out-of-process controls issue. Another possibility would be to put an expanded separator before pack_end widgets. That would work for nautilus but screw pack_end semantic. Anyway, I'll try to get feedback from Michael and Federico on how the issue could be fixed at libbonoboui level in the weekend. Then it will be easier to make a call. Hi, This bug is being closed because it has been in the NEEDINFO state for a long time now. Feel free to reopen the bug report if the problem still happens for you and you can provide any information that was requested. |