Public bug reported:

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)

** Affects: accerciser (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1774882

Title:
  Links in accerciser event monitor not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accerciser/+bug/1774882/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to