** Description changed:

+ [Impact]
+ 
  Signal handlers for the "switch-page" signal are continuously being
  registered when a new tab is opened and are not correctly cleaned up
  when a tab is closed causing a linear increase in invoked callbacks when
  a user switches tabs.
  
  Affects Version: 1.5.0-1.1
  Fixed Version: 1.5.2-1
  
  The fix is already in Debian unstable and also in Ubuntu Groovy but
  requires an SRU upload for Focal.
  
  Relevant upstream bug:
  https://github.com/lanoxx/tilda/issues/421
  
  [Test Case]
- 1. This can only be observed in the debug mode when the invocation of the 
signal handler callback is logged to the console. In debug mode users would see 
the "tilda_terminal_switch_page_cb" message to be printed N times for N tabs 
that have been opened (for the life time of the process including for tabs that 
have already been closed).
+ 
+ 1. This can only be observed in the debug mode when the invocation of
+ the signal handler callback is logged to the console. In debug mode
+ users would see the "tilda_terminal_switch_page_cb" message to be
+ printed N times for N tabs that have been opened (for the life time of
+ the process including for tabs that have already been closed).
  
  Expected result: the switch-page callback is invoked exactly one when
  the user switches between one tab and another one.
  
  The fix is part of tilda 1.5.1, see upstream milestone for 1.5.1 which tracks 
the corresponding issue #406:
  https://github.com/lanoxx/tilda/milestone/7?closed=1
+ 
+ [Regression Potential]
+ 
+ The regression potential for the switch-tab signal handler change is
+ minimal, the code itself has not changed, the signal is just registered
+ to a different object to avoid registering it multiple times.

** Also affects: tilda (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: tilda (Ubuntu)
       Status: New => Fix Released

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

Title:
  Tilda 1.5.0-1.1: The switch-page callback is registered multiple times

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

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

Reply via email to