Generic Libindicate fallback support breaks applications (such as clipit) on non-Unity WMs/DEs

Bug #702316 reported by Pavlo Bohmat
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libappindicator
Invalid
Undecided
Ted Gould
clipit (Ubuntu)
Fix Released
Medium
Micah Gersten
Natty
Invalid
Medium
Unassigned
libappindicator (Ubuntu)
Invalid
Undecided
Unassigned
Natty
Invalid
Undecided
Unassigned

Bug Description

Clipit is a clipboard manager. The user interacts with Clipit by clicking on an icon/menu shown either in the notification area, or more if compiled with support enabled, via libindicate. Indicator support has been enabled in Ubuntu since version 1.3.6-1ubuntu1 (December 2010).

Libindicate has fallback support meaning that if Indicator support is not provided by the Window Manager or Desktop Environment then the design is fallback and draw the indicator using the Notification Area direct-drawing support. This fallback support appears to be mis-functioning on some WMs/DEs.

To reproduce the bug; switch to a WM such as Fluxbox; then:

  1. sudo apt-get install clipit
  2. clipit & (an new indicator appears)
  3. click 1-2 times on on the new indicator icon

What happens:

  a. (clipit:32253): Gtk-CRITICAL **: IA__gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
  b. The graphical session cannot continue to be used, having crashed the window manager. (note: complete freeze under fluxbox 1.1.1)

What should happen:

  a. A menu should appear
  b. Everything should work

Workaround:

  1. Ctrl + Alt + F1
  2. killall clipit
  3. sudo apt-get remove clipit

"conflicts with Parcellite and hangs immediately." --- please expand.

DistroRelease: Ubuntu 11.04
Package: clipit (not installed)

Revision history for this message
Cristian Henzel (hecristi) wrote :

Hello,

there is a problem with the AppIndicator. It seems that although ClipIt has support for AppIndicator, the Appindicator applies the fallback making it run with the systray icon. This is a double fault in the Appindicator (firstly because it doesn't let the program run with the indicator, but applies the fallback and secondly because that fallback seems to be buggy, making the prgram freeze X). I will supply another package in my PPA that will use the normal systray icon, and that will probably work fine in this use-case. Thanks for your report!

Changed in clipit (Ubuntu):
assignee: nobody → Cristian Henzel (shantzu)
Revision history for this message
Cristian Henzel (hecristi) wrote :

I've run clipit on the latest natty build and it seems to be working fine. Can you please confirm?

Changed in clipit (Ubuntu):
status: New → Incomplete
Revision history for this message
Pavlo Bohmat (bohm) wrote :

clipit_1.3.12-1ubuntu1_amd64.deb :FAIL

Natty update Wed Apr 19 20:10:03 EEST 2011
fluxbox_1.3.1~dfsg1-1_amd64.deb

(clipit:26653): Gtk-CRITICAL **: IA__gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

Paul Sladen (sladen)
summary: - complete freeze x
+ Libindicate support in 'clipit' causes complete freeze in X
description: updated
Changed in libindicate (Ubuntu):
status: New → Incomplete
Changed in indicator-applet:
status: New → Incomplete
Paul Sladen (sladen)
description: updated
Paul Sladen (sladen)
summary: - Libindicate support in 'clipit' causes complete freeze in X
+ Generic Libindicate fallback support breaks applications (such as
+ clipit) on non-Unity WMs/DEs
description: updated
Revision history for this message
Ted Gould (ted) wrote :

You can generate a backtrace for this by doing this:

  $ G_DEBUG=fatal_criticals gdb -ex run -ex bt clipit

Please include that in the bug report.

affects: libindicate (Ubuntu) → libappindicator (Ubuntu)
affects: indicator-applet → libappindicator
Changed in libappindicator:
assignee: nobody → Ted Gould (ted)
Revision history for this message
Cristian Henzel (hecristi) wrote :

I have attached the output of $ G_DEBUG=fatal_criticals gdb -ex run -ex bt clipit

I have run it under maverick, because I don't have a natty machine with a different DE handy, but the problem is most probably the same.

Revision history for this message
Cristian Henzel (hecristi) wrote :

I have also run the command in natty, using awn with the 'old' notification area, with the same result. The debug output is attached.
I have tried to install the debug symbols to get a more useful output, but I got:

The following packages have unmet dependencies:
 libappindicator1-dbgsym : Depends: libappindicator1 (= 0.2.9-0ubuntu1.1) but 0.3.0-0ubuntu1 is to be installed

Changed in libappindicator:
status: Incomplete → Invalid
Changed in libappindicator (Ubuntu):
status: Incomplete → Invalid
Changed in clipit (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
Cristian Henzel (hecristi) wrote :
Revision history for this message
Cristian Henzel (hecristi) wrote :
Micah Gersten (micahg)
Changed in clipit (Ubuntu Natty):
status: New → In Progress
importance: Undecided → Medium
Changed in clipit (Ubuntu):
importance: Undecided → Medium
status: Fix Committed → In Progress
assignee: Cristian Henzel (shantzu) → Micah Gersten (micahg)
Changed in clipit (Ubuntu Natty):
assignee: nobody → Micah Gersten (micahg)
Micah Gersten (micahg)
Changed in libappindicator (Ubuntu Natty):
status: New → Invalid
tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package clipit - 1.4.0-1ubuntu1

---------------
clipit (1.4.0-1ubuntu1) oneiric; urgency=low

  * Merge from debian unstable. Remaining changes:
    - debian/control: add build-dep on libappindicator-dev (>= 0.2.4)
  * Move xdotool from build-depends to depends per Cristian Henzel
  * debian/rules: Drop configure override to enable the appindicator since the
    build system now enables this if the appindicator library is found

clipit (1.4.0-1) unstable; urgency=low

  * New upstream release.

clipit (1.3.13-1) unstable; urgency=low

  * New upstream release.
    - Fixed problem with indicator code causing X to freeze. (LP: #702316)
 -- Micah Gersten <email address hidden> Tue, 24 May 2011 10:37:59 -0500

Changed in clipit (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Micah Gersten (micahg) wrote :

Sorry for the delay. Fix uploaded. I ended up splitting the patch into 2 (enable indicator, fix x crash) as well as adding a patch to ignore potfiles changes in .pc.

Changed in clipit (Ubuntu Natty):
assignee: Micah Gersten (micahg) → nobody
status: In Progress → Fix Committed
Revision history for this message
Clint Byrum (clint-fewbar) wrote : Please test proposed package

Accepted clipit into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
dino99 (9d9)
Changed in clipit (Ubuntu Natty):
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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