running sugar causes left-click not to work properly in GNOME

Bug #511225 reported by Michael
64
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Sugar
Fix Released
Unknown
sugar-0.88 (Ubuntu)
Fix Released
Critical
Neeraj Gupta
Lucid
Won't Fix
Critical
Unassigned

Bug Description

After installing this package, the mouse is not working like its supposed to in Gnome. <ctrl> needs to be pressed when clicking for the left mouse button to work. Bug only appears after sugar is used. Henry Grover wrote this shell script to fix the bug temporarily:

#!/bin/bash
#Fix metacity clicking problem caused by alsroot's sugar, run in the home directory of whoever has the problem

rm .gconf/apps/%gconf.xml
rm .gconf/apps/metacity/%gconf.xml
rm .gconf/apps/metacity/general/%gconf.xml

== SRU INFO ==
This bug makes metacity unusable outside of Sugar.

The solution has been verified as working on Maverick, and was accepted upstream.

== TEST CASE ==
 0) Create a new user
 1) From GDM Launch a gnome-session with that user
 2) Open a resizable windows (e.g Places/Home Folder)
 3) Move the window with Alt+Left button and Resize it with Alt+Middle Button
 4) Run sugar (Applications/Education/Sugar)
 5) Verify that you can still move / resize the window with the modifier in step 3

Revision history for this message
David Farning (dfarning) wrote :

Thanks for the bug report and patch! I will try to have it fixed on the release that goes out Sunday January 24.

I have never worked with Gconf before. It looks like I will be spending tomorrow morning on the gnome website researching gconf:)

Changed in sugar-0.88 (Ubuntu):
status: New → Confirmed
assignee: nobody → David Farning (dfarning)
Revision history for this message
David Farning (dfarning) wrote :

BTW, even though your code snippet is not strictly a patch. It is enough to point a triager or developer in the right direction. That is a huge help.

Revision history for this message
dirakx (dirakx) wrote : Re: [Bug 511225] Re: mouse bug

Rafael Ortiz

On Fri, Jan 22, 2010 at 10:46 AM, David Farning <email address hidden> wrote:
> BTW, even though your code snippet is not  strictly a patch.  It is
> enough to point a triager or developer in the right direction.  That is
> a huge help.
>
> --
> mouse bug
> https://bugs.launchpad.net/bugs/511225
> You received this bug notification because you are a member of Sugar
> Team, which is subscribed to sugar-0.88 in ubuntu.
>
> Status in “sugar-0.88” package in Ubuntu: Confirmed
>
> Bug description:
> After installing this package, the mouse is not working like its supposed to in Gnome. <ctrl> needs to be pressed when clicking for the left mouse button to work. Bug only appears after sugar is used.  Henry Grover wrote this shell script to fix the bug temporarily:
>
> #!/bin/bash
> #Fix metacity clicking problem caused by alsroot's sugar, run in the home directory of whoever has the problem
>
> rm .gconf/apps/%gconf.xml
> rm .gconf/apps/metacity/%gconf.xml
> rm .gconf/apps/metacity/general/%gconf.xml
>
>
>
> --
> Ubuntu-sugarteam mailing list
> <email address hidden>
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-sugarteam
>

Hi Michael

Thanks for your help.
are you sure you want to make the first step..

 rm .gconf/apps/%gconf.xml ?

i agree with you that the bug can be introduced by metacity..but not
all the apps

Revision history for this message
Henry Grover (henrygrover) wrote : Re: [Bug 511225] [NEW] mouse bug

I believe this bug was already reported, those files were the cause of the
problem, so I gave people that quick script to delete them. This is only in
Karmic, I believe. That script really wasn't thought through, it was just
the quickest fix available so I threw it out there, if anybody can shine
some light on the bug that'd be great =)

https://bugs.launchpad.net/ubuntu/+source/sugar/+bug/479179

On Fri, Jan 22, 2010 at 10:28 AM, Michael <email address hidden>wrote:

> Public bug reported:
>
> After installing this package, the mouse is not working like its
> supposed to in Gnome. <ctrl> needs to be pressed when clicking for the
> left mouse button to work. Bug only appears after sugar is used. Henry
> Grover wrote this shell script to fix the bug temporarily:
>
> #!/bin/bash
> #Fix metacity clicking problem caused by alsroot's sugar, run in the home
> directory of whoever has the problem
>
> rm .gconf/apps/%gconf.xml
> rm .gconf/apps/metacity/%gconf.xml
> rm .gconf/apps/metacity/general/%gconf.xml
>
> ** Affects: sugar-0.88 (Ubuntu)
> Importance: Undecided
> Status: New
>
> --
> mouse bug
> https://bugs.launchpad.net/bugs/511225
> You received this bug notification because you are a member of Sugar
> Team, which is subscribed to sugar-0.88 in ubuntu.
>
> Status in “sugar-0.88” package in Ubuntu: New
>
> Bug description:
> After installing this package, the mouse is not working like its supposed
> to in Gnome. <ctrl> needs to be pressed when clicking for the left mouse
> button to work. Bug only appears after sugar is used. Henry Grover wrote
> this shell script to fix the bug temporarily:
>
> #!/bin/bash
> #Fix metacity clicking problem caused by alsroot's sugar, run in the home
> directory of whoever has the problem
>
> rm .gconf/apps/%gconf.xml
> rm .gconf/apps/metacity/%gconf.xml
> rm .gconf/apps/metacity/general/%gconf.xml
>
>
>
> --
> Ubuntu-sugarteam mailing list
> <email address hidden>
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-sugarteam
>

Revision history for this message
David Farning (dfarning) wrote : Re: mouse bug

I am marking this fix release as it has been fixed on ubuntu 10.04 and we can now set gconf setting in USR-lucid. We do not yet have the resources to maintain karmic.

Changed in sugar-0.88 (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Henry Grover (henrygrover) wrote : Re: [Bug 511225] Re: mouse bug

Hello All,

Today, Michael tried opening up the sugar emulator, straight from
"Applications-->Education", and this mouse bug happened yet again.

He has Lucid installed and is on what I believe to be the latest version of
sugar-0.88, 0.87.1-1, which he installed straight from the Sugarteam PPA.
At this point I'm starting to believe that it is our hardware, because
Dfarning could not reproduce it. Michael is running a Dell Latitude E5500.
When Alsroot looked into this same problem in sugar-0.86, he was indeed able
to reproduce it (On his own laptop I believe.)

I'm going to work on reproducing it in a virtualbox now, but it's a pretty
vital problem to fix.

On Mon, Jan 25, 2010 at 8:12 PM, David Farning <email address hidden> wrote:

> I am marking this fix release as it has been fixed on ubuntu 10.04 and
> we can now set gconf setting in USR-lucid. We do not yet have the
> resources to maintain karmic.
>
> ** Changed in: sugar-0.88 (Ubuntu)
> Status: Confirmed => Fix Released
>
> --
> mouse bug
> https://bugs.launchpad.net/bugs/511225
> You received this bug notification because you are a member of Sugar
> Team, which is subscribed to sugar-0.88 in ubuntu.
>
> Status in “sugar-0.88” package in Ubuntu: Fix Released
>
> Bug description:
> After installing this package, the mouse is not working like its supposed
> to in Gnome. <ctrl> needs to be pressed when clicking for the left mouse
> button to work. Bug only appears after sugar is used. Henry Grover wrote
> this shell script to fix the bug temporarily:
>
> #!/bin/bash
> #Fix metacity clicking problem caused by alsroot's sugar, run in the home
> directory of whoever has the problem
>
> rm .gconf/apps/%gconf.xml
> rm .gconf/apps/metacity/%gconf.xml
> rm .gconf/apps/metacity/general/%gconf.xml
>
>
>
> --
> Ubuntu-sugarteam mailing list
> <email address hidden>
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-sugarteam
>

Revision history for this message
Anish (anishmangal2002) wrote : Re: mouse bug

The bug exists in ubuntu-lucid-beta2-amd64 running on my Dell Inspiron 1420.

For anyone reading this, apart from the shell script fix, one can also open "System->Preferences->CompizConfig Settings Manager" and select "Preferences->Reset to Defaults" to fix this as well.

Peter Foss (peterfoss79)
Changed in sugar-0.88 (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Gastón Avila (avila-gas) wrote :

In reply to what Anish commented above, I have used the export function of the compiz settings manager and exported the broken settings and the restored settings and made a diff. I don't know if this is of some use to anybody, but just in case I will upload it here.

David Farning (dfarning)
Changed in sugar-0.88 (Ubuntu):
assignee: David Farning (dfarning) → nobody
Revision history for this message
Neeraj Gupta (neerajgupta) wrote :
Changed in sugar-0.88 (Ubuntu):
assignee: nobody → Neeraj Gupta (neerajnsit)
Changed in sugar-0.88 (Ubuntu):
status: Fix Committed → In Progress
Luke Faraone (lfaraone)
summary: - mouse bug
+ running sugar causes left-click not to work properly in GNOME
Revision history for this message
Neeraj Gupta (neerajgupta) wrote :
Revision history for this message
Neeraj Gupta (neerajgupta) wrote :
tags: added: patch
Changed in sugar-0.88 (Ubuntu):
status: In Progress → Confirmed
Revision history for this message
Neeraj Gupta (neerajgupta) wrote :

Corrected Meta information in the *.patch file according to http://dep.debian.net/deps/dep3/

David Farning (dfarning)
Changed in sugar-0.88 (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Luke Faraone (lfaraone) wrote :

Patch rejected upstream (by Tomeu):

"""
I'm quite confused at how alsroot's workaround can work. Just tried it here and with <Super> I cannot move windows with <Alt>+Click.

That said, I don't see how it could be a problem for Sugar, so I can apply that patch if it works for the rest.

"""

tags: added: patch-rejected-upstream
removed: patch
Changed in sugar:
status: Unknown → New
Revision history for this message
Luke Faraone (lfaraone) wrote :

Per further comments from upstream, the patch was merged.

tags: added: patch-accepted-upstream
removed: patch-rejected-upstream
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sugar-0.88 - 0.88.1-2ubuntu2

---------------
sugar-0.88 (0.88.1-2ubuntu2) maverick; urgency=low

  * Added gconf_settings_mouse_bug.patch. (LP: #511225)
 -- Neeraj Gupta <email address hidden> Mon, 23 Aug 2010 21:29:22 +0530

Changed in sugar-0.88 (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Luke Faraone (lfaraone) wrote :

Does this seem like something worth SRUing to Lucid?

Revision history for this message
Alpesh (alpeshgajbe) wrote : Re: [Bug 511225] Re: running sugar causes left-click not to work properly in GNOME

On Wed, Sep 1, 2010 at 5:21 AM, Luke Faraone <email address hidden> wrote:

> Does this seem like something worth SRUing to Lucid?
>
Sorry I didnt get the meaning of the word "SRUing"

>
> --
> running sugar causes left-click not to work properly in GNOME
> https://bugs.launchpad.net/bugs/511225
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (479179).
>
> Status in Sugar Learning Platform: New
> Status in “sugar-0.88” package in Ubuntu: Fix Released
>
> Bug description:
> After installing this package, the mouse is not working like its supposed
> to in Gnome. <ctrl> needs to be pressed when clicking for the left mouse
> button to work. Bug only appears after sugar is used. Henry Grover wrote
> this shell script to fix the bug temporarily:
>
> #!/bin/bash
> #Fix metacity clicking problem caused by alsroot's sugar, run in the home
> directory of whoever has the problem
>
> rm .gconf/apps/%gconf.xml
> rm .gconf/apps/metacity/%gconf.xml
> rm .gconf/apps/metacity/general/%gconf.xml
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/sugar/+bug/511225/+subscribe
>

--
With Regards
Alpesh Gajbe

www.gnowledge.org
<email address hidden>

Changed in sugar:
status: New → Fix Released
Revision history for this message
Luke Faraone (lfaraone) wrote :

On 09/01/2010 04:16 AM, Alpesh wrote:
> Sorry I didnt get the meaning of the word "SRUing"

See https://wiki.ubuntu.com/StableReleaseUpdates for details. Basically,
porting the fix as a update to a stable release, like Lucid.

--
╒═════════════════════════════════════════════════════════════════╕
│Luke Faraone ╭Debian / Ubuntu Developer╮│
http://luke.faraone.cc ╰Sugar Labs, Systems Admin╯│
│PGP: 5189 2A7D 16D0 49BB 046B DC77 9732 5DD8 F9FD D506 │
╘═════════════════════════════════════════════════════════════════╛

Revision history for this message
Krishna (krishnab) wrote :

I too have this problem... Not able to do proper mouse clicks..

I have to press Alt or Ctrl along with the Mouse Click to properly work....

Fixed it by going to Compiz Settings Manager and Resetting To Default Preferences...

Revision history for this message
Edward Cherlin (echerlin) wrote :

I get it also. I had to install the ccsm package.

On Mon, Sep 20, 2010 at 03:33, Krishna <email address hidden> wrote:
> I too have this problem...  Not able to do proper mouse clicks..
>
> I have to press Alt or Ctrl along with the Mouse Click to properly
> work....
>
> Fixed it by  going to Compiz Settings Manager and Resetting To Default
> Preferences...
>
> --
> running sugar causes left-click not to work properly in GNOME
> https://bugs.launchpad.net/bugs/511225
> You received this bug notification because you are a member of Sugar
> Team, which is subscribed to sugar-0.88 in ubuntu.
>
> Status in Sugar Learning Platform: Fix Released
> Status in “sugar-0.88” package in Ubuntu: Fix Released
>
> Bug description:
> After installing this package, the mouse is not working like its supposed to in Gnome. <ctrl> needs to be pressed when clicking for the left mouse button to work. Bug only appears after sugar is used.  Henry Grover wrote this shell script to fix the bug temporarily:
>
> #!/bin/bash
> #Fix metacity clicking problem caused by alsroot's sugar, run in the home directory of whoever has the problem
>
> rm .gconf/apps/%gconf.xml
> rm .gconf/apps/metacity/%gconf.xml
> rm .gconf/apps/metacity/general/%gconf.xml
>
>
>
> --
> Ubuntu-sugarteam mailing list
> <email address hidden>
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-sugarteam
>

--
Edward Mokurai (默雷/धर्ममेघशब्दगर्ज/دھرممیگھشبدگر ج) Cherlin
Silent Thunder is my name, and Children are my nation.
The Cosmos is my dwelling place, the Truth my destination.
http://www.earthtreasury.org/

Revision history for this message
Luke Faraone (lfaraone) wrote :

On 09/20/2010 11:57 AM, Edward Cherlin wrote:
> I get it also. I had to install the ccsm package.

Are you running Maverick?

--
╒═════════════════════════════════════════════════════════════════╕
│Luke Faraone ╭Debian / Ubuntu Developer╮│
http://luke.faraone.cc ╰Sugar Labs, Systems Admin╯│
│PGP: 5189 2A7D 16D0 49BB 046B DC77 9732 5DD8 F9FD D506 │
╘═════════════════════════════════════════════════════════════════╛

Revision history for this message
Kelson (emmanuel-engelhart) wrote :

I have also the bug on 10.04.

Luke Faraone (lfaraone)
Changed in sugar-0.88 (Ubuntu Lucid):
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Luke Faraone (lfaraone)
Luke Faraone (lfaraone)
description: updated
Changed in sugar-0.88 (Ubuntu Lucid):
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted sugar-0.88 into lucid-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
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

SRU Verification for Lucid.

I've been able to reproduce the issue with sugar-0.88 0.87.2-1 in Lucid, but I'm rejecting the SRU because:
- the fix is overwriting the settings of another application (metacity) without user's consent.
- The default button modifier is Alt and Sugar change it to Super (Win key)
- The situation is unchanged from the original issue

I don"t know why sugar need to change the modifier key but if it must, a possible fix could be to save the original setting at the beginning of the session and restore it at the end of the session.

Marking as verification-failed.

Changed in sugar-0.88 (Ubuntu Lucid):
status: Fix Committed → In Progress
tags: added: verification-failed
removed: verification-needed
description: updated
Changed in sugar-0.88 (Ubuntu Lucid):
milestone: none → lucid-updates
Revision history for this message
Martin Pitt (pitti) wrote :

Failed SRU, no response, been in -proposed for > 100 days, I removed the proposed package.

Luke Faraone (lfaraone)
Changed in sugar-0.88 (Ubuntu Lucid):
assignee: Luke Faraone (lfaraone) → nobody
Revision history for this message
Rolf Leggewie (r0lf) wrote :

lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix".

Changed in sugar-0.88 (Ubuntu Lucid):
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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