Ticket #2779 (closed defect: fixed)

Opened 2 years ago

Last modified 18 months ago

secondary toolbar icons and labels are missing

Reported by: walter Owned by: mchua pbrobinson sdz
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: Sugar on a Stick (SoaS) Version: 0.92.x
Severity: Blocker Keywords:
Cc: alsroot Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

Sugar 0.92 on F15 has some issues with the toolbars. Icons and labels do not appear on secondary toolbars. Other toolbar components such as spinners appear. The buttons themselves seem to work, as do tooltips. But their graphics are not rendered.

I haven't determined whether this is a problem with the theme path not picking up activity-specific icons or some other issue. (Doesn't explain the label problem, however).

Test:

1. Open the Calculate activity
2. Open a secondary toolbar
3. Observe that none of the icons appear

Test:

1. Download Abacus from ASLO
2. Open the Custom toolbar
3. Observe that the spinners are not labelled.

Change History

Changed 2 years ago by walter

  • severity changed from Unspecified to Blocker

/usr/lib/python2.7/site-packages/sugar/graphics/toolbarbox.py:108: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed

self.props.palette.add(self.page_widget)

/usr/lib/python2.7/site-packages/sugar/graphics/window.py:195: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed

self.vbox.pack_start(toolbar_box, False)

One of these warning may be relevant? (I don't get them on F14.)

Changed 2 years ago by walter

  • cc alsroot added

We should CC Aleksey on this ticket. My current suspicion is that the for some reason the do_expose_event in the toolbarbox is not being propagated to the buttons in the box. (But that wouldn't explain why widgets other than buttons are rendered properly.)

Changed 2 years ago by pbrobinson

Walter: I believe this is now fixed. Please confirm.

Changed 2 years ago by walter

Yes although I never understood the root cause.

Changed 18 months ago by walter

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.