xfce4-notes consumes 100% CPU with custom color

Bug #690534 reported by ddoxey on 2010-12-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xfce4-notes-plugin (Ubuntu)

Bug Description

Binary package hint: xfce4-notes-plugin

Set the background color to a custom shade and xfce4-notes will consume 100% CPU on the next xfce session.


Stop and restart xfce4-notes.

Charlie Kravetz (charlie-tca) wrote :

Thank you for taking the time to report this bug and helping to make Xubuntu better. Unfortunately, we cannot work on this bug because your description didn't include enough information. Please include, if possible:

 1. The release of Xubuntu you are using, via 'lsb_release -rd'.
 2. The version of the package you are using, via 'apt-cache policy package_name' or by checking in Synaptic.
 3. What you expected to happen
 4. What happened instead

Changed in xfce4-notes-plugin (Ubuntu):
status: New → Incomplete
ddoxey (dylan-doxey) wrote :

$: ~ lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10

$: ~ apt-cache policy xfce4-notes
  Installed: 1.7.6-1build1
  Candidate: 1.7.6-1build1
  Version table:
 *** 1.7.6-1build1 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/universe i386 Packages
        100 /var/lib/dpkg/status

I set a background color for xfce4-notes using the custom option and the color picker. The color changes as expected and xfce4-notes continues to function normally.

After system restart xfce4-notes process uses 100% CPU and the notes icon does not appear on the panel.

Charlie Kravetz (charlie-tca) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here.

This bug has been reported to the developers of the software. You can track it and make comments at: http://bugzilla.xfce.org/show_bug.cgi?id=7106

Thanks for taking the time to make Ubuntu better!

Changed in xfce4-notes-plugin (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
Charlie Kravetz (charlie-tca) wrote :

Comments from the Xfce notes developer:

Please attach your configuration file:

$ cat ~/.config/xfce4/xfce4-notes.gtkrc
$ xfconf-query -c xfce4-panel -p /plugins/notes -lv

I was never able to reproduce such a bug :(

Can you try to install version 1.7.7 and see if it reproduces?

Comments from Xubuntu - version 1.7.7 is not yet available in Natty.

ddoxey (dylan-doxey) wrote :

$: cat ~/.config/xfce4/xfce4-notes.gtkrc
gtk_color_scheme = "notes_fg_color:#e734ac00d262\nnotes_bg_color:#58f6422f50f3\nnotes_base_color:#e734ac00d262\nnotes_text_color:#58f6422f50f3\nnotes_selected_bg_color:#7a295ae16f29\nnotes_selected_fg_color:#e734ac00d262"
include "/usr/share/xfce4-notes-plugin/gtk-2.0/notes.gtkrc"

$: xfconf-query -c xfce4-panel -p /plugins/notes -lv
/plugins/notes/global/background-color #e734ac00d262
/plugins/notes/global/show-navbar false
/plugins/notes/global/skip-taskbar-hint false
/plugins/notes/global/tabs-position 1
/plugins/notes/new-window/always-on-top false
/plugins/notes/new-window/height 375
/plugins/notes/new-window/sticky false
/plugins/notes/new-window/width 300

An additional comment: If I kill the offending xfce4-notes process, and then restart by selecting Notes on the xfce4 menu the excessive CPU usage does not resume.

ddoxey (dylan-doxey) wrote :

I'm not having much luck with installing xfce4-notes-plugin-1.7.7.
The gtk+-2.0 dependency is a bit of a hangup.

Charlie Kravetz (charlie-tca) wrote :

--- Comment #3 from Mike Massonnet <email address hidden> 2011-01-20 20:17:49 CET ---
Sorry, I cannot help further.

I believe having reproduced the bug, actually, but it doesn't reproduce easily.
It seems to be a race condition, it can be both in GTK+ and the notes plugin.
The cause can certainly be the theme, since GTK+ and theming are two things
that don't fit well, but I can't change anything about this.

The solution is to simply stop / restart the plugin.

description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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