2 mouse pointers when running gedit with gtk mir on Unity8

Bug #1515921 reported by dinamic
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Pocket Desktop
Invalid
Undecided
Unassigned
Libertine
Invalid
Undecided
Unassigned
lightdm (Ubuntu)
Confirmed
Undecided
Unassigned
unity8 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

ubuntu 16.04
i get 2 mouse pointers when running gedit with gtk mir on Unity8. they also have diff sizes and positions. even after closing gedit i'm left with 2 mouse pointers. i don't need 2, one is enough. it gets really confusing using 2 mouse pointers at the same time, uh

Revision history for this message
Michael Zanetti (mzanetti) wrote :

Adding Libertine as I think we want to keep unity8's cursor and hide compiz' one.

Please reopen for unity8 if I'm wrong.

Changed in unity8 (Ubuntu):
status: New → Invalid
Revision history for this message
dinamic (dinamic6661) wrote :

i have a simple .desktop file that runs gedit

Revision history for this message
Christopher Townsend (townsend) wrote :

I don't think this has anything to do with Libertine as the bug reporter is indicating they are running Gedit w/ the Mir Gtk backend, ie, without the Libertine container.

Reopening for Unity8 and marking the Libertine task Invalid.

Thanks!

Changed in unity8 (Ubuntu):
status: Invalid → Confirmed
Changed in libertine:
status: New → Invalid
Revision history for this message
Christopher Townsend (townsend) wrote :

I just confirmed this behavior.

I added 'X-Ubuntu-Touch=true' to /usr/share/applications/gedit.desktop, refreshed the App Scope, launched Gedit, and as soon as the cursor hits the Gedit window, another cursor is shown.

Revision history for this message
Christopher Townsend (townsend) wrote :

As an aside, I do see this with Xapps running in a Libertine container, but as mentioned in the last comment, it's not Libertine causing this.

Changed in unity8 (Ubuntu):
assignee: nobody → Daniel d'Andrada (dandrader)
Changed in unity8 (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

Run gedit in a "unity8 mir" session on my laptop and still see only one cursor. What Ubuntu version are you using and what are the mir, unity8 and qtmir versions you have?

Revision history for this message
Christopher Townsend (townsend) wrote :

For me, I'm running 16.04 Xenial.

mir: 0.17.0+15.10.20151008.2-0ubuntu1
unity8: 8.11+16.04.20151104-0ubuntu1
qtmir-desktop: 0.4.6+16.04.20151102-0ubuntu1

Revision history for this message
dinamic (dinamic6661) wrote :

same here 16.04
mir: 0.17.0+15.10.20151008.2-0ubuntu1
unity8: 8.11+16.04.20151104-0ubuntu1
qtmir-desktop: 0.4.6+16.04.20151102-0ubuntu1

Changed in unity8 (Ubuntu):
status: In Progress → Confirmed
Revision history for this message
Christopher Townsend (townsend) wrote :

After some investigation, this is due to lightdm hard coding an option passed to unity-system-compositor to enable the hardware cursor. Since Unity 8 now provides its own cursor, this option is no longer needed.

I opened a new bug against lightm to specifically disable the "--enable-hardware-cursor=true" option. I think it's best to dup this bug to that bug (bug #1517615).

Changed in unity8 (Ubuntu):
status: Confirmed → Invalid
assignee: Daniel d'Andrada (dandrader) → nobody
Changed in lightdm (Ubuntu):
status: New → Confirmed
Changed in canonical-pocket-desktop:
status: New → 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.