Opened 12 years ago

Closed 8 years ago

#870 closed defect (incomplete)

Flickering and unknown icons in the window bar

Reported by: couf Owned by: tomeu
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Sugar Version: 0.84.x
Severity: Unspecified Keywords: r?
Cc: alsroot Distribution/OS: Unspecified
Bug Status: Needinfo

Description

SoaS build: 20090503...

After starting a couple of programs, we notice that some of the programs started leave the flickering start icon in the window list. The window of the program is indicated with a dark circle in the bar.

Screenshots attached: the first browse icon and the terminal icon in the screenshot are flickering. The actual program are accessible with the dark circles in the application bar.

Reproducing this is pretty hard. It mostly happens when starting the bigger programs (like browse or etoys) followed by opening some others.

When it happens, I do see the following in the shell.log:

1242862612.107848 WARNING root: No gtk.AccelGroup in the top level window.
/usr/lib/python2.6/site-packages/sugar/graphics/icon.py:136: DeprecationWarning: integer argument expected, got float
  info = theme.lookup_icon(self.icon_name, size, 0)
1242862612.650355 WARNING root: Trying to position palette with invoker that's not realized.

(sugar-session:2571): Wnck-WARNING **: Received a timestamp of 0; window activation may not function properly.

/usr/lib/python2.6/site-packages/sugar/graphics/icon.py:273: DeprecationWarning: integer argument expected, got float
  surface = cairo.ImageSurface(cairo.FORMAT_RGB24, width, height)
** (sugar-session:2571): DEBUG: accept_ice_connection()
** (sugar-session:2571): DEBUG: New client '0x9dc98c0'
** (sugar-session:2571): DEBUG: Initializing client 0x9dc98c0
** (sugar-session:2571): DEBUG: Client '0x9dc98c0' received RegisterClient(NULL)
** (sugar-session:2571): DEBUG: Adding new client (null) to session
** (sugar-session:2571): DEBUG: Sending RegisterClientReply to '0x9dc98c0 [105d6a47d286f59421124286275569204300000025710000]'
** (sugar-session:2571): DEBUG: Sending initial SaveYourself
** (sugar-session:2571): DEBUG: Set properties from client '0x9dc98c0 [105d6a47d286f59421124286275569204300000025710000]'
** (sugar-session:2571): DEBUG:   Program = 'sugar-activity'
** (sugar-session:2571): DEBUG:   CloneCommand = 'sugar-activity' 
** (sugar-session:2571): DEBUG:   RestartCommand = 'sugar-activity' '--sm-client-id' '105d6a47d286f59421124286275569204300000025710000' 
** (sugar-session:2571): DEBUG:   UserID = 'liveuser'
** (sugar-session:2571): DEBUG:   ProcessID = '2725'
** (sugar-session:2571): DEBUG:   RestartStyleHint = 0
** (sugar-session:2571): DEBUG: Client '0x9dc98c0 [sugar-activity 105d6a47d286f59421124286275569204300000025710000]' received SaveYourselfDone(success = True)
** (sugar-session:2571): DEBUG: sms_error_handler (0x9e78680, FALSE, 3, 9, 32771, 0)
1242862925.752132 WARNING root: No gtk.AccelGroup in the top level window.
1242862925.752425 WARNING root: No gtk.AccelGroup in the top level window.
1242862934.037817 ERROR root: Cannot update the palette position.
1242862936.501099 WARNING root: No gtk.AccelGroup in the top level window.
1242862936.510296 WARNING root: No gtk.AccelGroup in the top level window.
1242862936.512182 WARNING root: No gtk.AccelGroup in the top level window.
1242862937.830946 WARNING root: No gtk.AccelGroup in the top level window.
1242862937.831238 WARNING root: No gtk.AccelGroup in the top level window.
1242862938.539353 WARNING root: No gtk.AccelGroup in the top level window.

Attachments (4)

tmpchsGZv.png (67.0 KB) - added by couf 12 years ago.
Screenshot 1
tmpE59fbW.png (67.0 KB) - added by couf 12 years ago.
Screenshot 2
tmpkrEhzT.png (82.1 KB) - added by couf 12 years ago.
Screenshot 3
0001-Flickering-and-unknown-icons-in-the-window-bar-870.patch (7.1 KB) - added by alsroot 10 years ago.
sucrose-0.88 patch, needs to de midified to apply to the trunk

Download all attachments as: .zip

Change History (13)

Changed 12 years ago by couf

Screenshot 1

Changed 12 years ago by couf

Screenshot 2

comment:1 Changed 12 years ago by couf

  • Version changed from Unspecified to 0.84.x

comment:2 Changed 12 years ago by couf

As an extra effect to be considered with this bug: when closing the program's the circle-icons still exist: see screenshot 3.

Changed 12 years ago by couf

Screenshot 3

comment:3 Changed 11 years ago by alsroot

  • Bug Status changed from Unconfirmed to Needinfo

For these 4 month many fixes were commited to sugar that can affect this issue, is it still reproducible in at least 0.85.7 sucrose?

comment:4 Changed 11 years ago by sdz

  • Milestone soas_fossvt deleted

Milestone soas_fossvt deleted

comment:5 Changed 10 years ago by alsroot

  • Milestone set to Unspecified by Release Team

|TestCase|
1) on XO-1.5 (more chances to reproduce on restricted, like XO, machines)
2) switch to F3 (list view)
3) launch new activity
4) as fast as possible go to 2

comment:6 Changed 10 years ago by alsroot

  • Keywords r? added

comment:7 Changed 10 years ago by alsroot

  • Cc alsroot added

Changed 10 years ago by alsroot

sucrose-0.88 patch, needs to de midified to apply to the trunk

comment:8 Changed 10 years ago by alsroot

Attached patch call wm.set_bundle_id() for launcher window (thus code that monitors created windows will work properly), also it prevents re-creating launcher in ShellModel.notify_launch() (this code might be different in the trunk).

comment:9 Changed 8 years ago by dnarvaez

  • Resolution set to incomplete
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.