Links in accerciser event monitor not working

Bug #1774882 reported by James Stout
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
accerciser (Ubuntu)
New
Undecided
Unassigned

Bug Description

The links in the accerciser event monitor are neither showing the proper cursor when hovering over them, nor are they working when clicking them. The hovering issue also causes python errors to be printed to the commandline as the cursor is moved around. As it turns out these can be fixed with two small code changes for these respective broken behaviors:
https://github.com/wolfmanstout/accerciser/commit/ad9d75617383943754d8331f56c6605b6cef03d2
https://github.com/wolfmanstout/accerciser/commit/db5871d6ca8d2eb08fcccc26753d9b07dda9da49

In both of these cases, the underlying cause seems to be a change in the GTK API.

In the first, the function now returns a tuple instead of the iter directly:
https://lazka.github.io/pgi-docs/Gtk-3.0/classes/TextView.html#Gtk.TextView.get_iter_at_location

In the second, the button field now contains an object instead of just an int:
https://lazka.github.io/pgi-docs/Gdk-3.0/classes/Event.html

I would be happy to fix upstream but I'm not sure if this breaks compatibility with other older clients, so I'm sharing here first. I suppose the change could be modified to analyze the output of the function and behave appropriately in all cases.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: accerciser 3.22.0-5
ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
Uname: Linux 4.15.0-22-generic x86_64
NonfreeKernelModules: wl nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Jun 3 09:53:43 2018
InstallationDate: Installed on 2018-05-19 (14 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitecture: all
SourcePackage: accerciser
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
James Stout (wolfmanstout) wrote :
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.