UI freezes

Bug #1817571 reported by Justin Willmert
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tkcvs (Ubuntu)
Confirmed
Undecided
Germain Le Chapelain

Bug Description

With default Tcl/Tk versions installed, tkcvs reliably freezes up after launching as soon as you move the mouse cursor over any of the files listed in the main panel. If you carefully avoid crossing that area, menus and other buttons do continue to function.

Running `strace` wasn't too insightful on its own, but the fact that the font in the file list attempted to update when the UI froze was a clue. Launching with `FC_DEBUG=1 tkcvs`, you can see font lookups get stuck in an infinite loop as soon as the UI freezes.

Finally, digging through the Tcl source a bit looking for hints, I came across a code region which works around a bug in Tk v8.5.0 through v8.5.7, but the version check isn't written robustly enough to avoid taking effect for v8.6. On a guess, I applied the attached patch, and that seems to fix the issue.

$ lsb_release -rd
Description: Ubuntu 18.04.2 LTS
Release: 18.04

$ apt-cache policy tkcvs tcl tk
tkcvs:
  Installed: 8.2.3-1.1
  Candidate: 8.2.3-1.1
  Version table:
 *** 8.2.3-1.1 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status
tcl:
  Installed: 8.6.0+9
  Candidate: 8.6.0+9
  Version table:
 *** 8.6.0+9 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status
tk:
  Installed: 8.6.0+9
  Candidate: 8.6.0+9
  Version table:
 *** 8.6.0+9 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

Tags: patch
Revision history for this message
Justin Willmert (willmert) wrote :
description: updated
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Guard for tk < v8.6" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in tkcvs (Ubuntu):
status: New → Confirmed
Changed in tkcvs (Ubuntu):
assignee: nobody → Germain Le Chapelain (germint)
Revision history for this message
Germain Le Chapelain (germint) wrote :

Idk how to execute on the bug lol

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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