Feature #5945

Display "waiting" mouse pointer during login, as long as the Greeter is up

Added by Tails 2013-07-18 07:48:30 . Updated 2020-04-15 06:05:18 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Target version:
Start date:
Due date:
% Done:

100%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Welcome Screen
Deliverable for:

Description

The "waiting" mouse pointer not always displayed when it should.


Files


Subtasks


History

#1 Updated by intrigeri 2013-07-19 08:41:08

  • Category set to 165

#2 Updated by intrigeri 2015-11-17 23:36:41

  • Status changed from Confirmed to Resolved
  • Target version set to Tails_2.0
  • % Done changed from 0 to 100

tails-greeter 0.8.14+jessie2:

* Display hourglass cursor during login, as long as the Greeter is up.

I’ll assume this is what this underspecified ticket was about.

#3 Updated by intrigeri 2015-11-18 00:12:08

  • Subject changed from tails-greeter: need waiting mouse pointer to Display "waiting" mouse pointer during login, as long as the Greeter is up
  • Status changed from Resolved to Confirmed
  • Target version deleted (Tails_2.0)
  • % Done changed from 100 to 0

Oops, had to revert it. See commit a882e2ad2d9b8da7df3cdd0478f6c8e5d89c4d2c in the Greeter repo for details.

#4 Updated by alant 2016-08-19 05:22:01

#5 Updated by alant 2016-08-19 05:23:45

  • Assignee set to alant

#6 Updated by alant 2016-08-19 07:34:50

Executing this from /usr/share/gnome/autostart/ resets the pointer:

#!/usr/bin/python3

from gi.repository import Gdk
from gi.repository import GLib
from gi.repository import Gtk

def reset_cursor():
    Gdk.get_default_root_window().set_cursor(
            Gdk.Cursor.new(Gdk.CursorType.LEFT_PTR))
    Gtk.main_quit()

GLib.idle_add(reset_cursor)
Gtk.main()

#7 Updated by alant 2016-08-19 08:03:31

  • Status changed from Confirmed to In Progress
  • % Done changed from 0 to 20

#8 Updated by alant 2016-08-19 10:24:01

  • % Done changed from 20 to 50
  • QA Check set to Ready for QA

#9 Updated by alant 2016-08-20 03:10:44

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100
  • QA Check changed from Ready for QA to Pass

#10 Updated by alant 2016-08-20 04:32:24

The attached patch should fix the issue without the need of a custom python program, but it doesn’t work on tails/jessie (although it works on debian/sid under wayland!)

#11 Updated by intrigeri 2016-08-24 00:46:45

  • Assignee deleted (alant)

#12 Updated by intrigeri 2020-04-15 06:05:19

  • Affected tool changed from Greeter to Welcome Screen