Public bug reported:

It began to fail after updating to Ubuntu 18.04. This reproduces the bug
on my side:

1) Edit p1.cc with the following text: "hello, world" (no quotes)
2) Edit p2.cc with the following text: "hello,world" (no quotes)
3) Meld them
4) Correct p2.cc with p1.cc's contents.
5) Control+W to close tab, it appears the "Save" dialog, save the changes

I expected the tab to be closed after saving, as usual, but the tab was
not closed, and cannot be closed afterwards neither with Control+W nor
closing the tab with the mouse. On console I have:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/meld/meldwindow.py", line 436, in 
on_menu_close_activate
    page.on_delete_event()
  File "/usr/lib/python3/dist-packages/meld/filediff.py", line 842, in 
on_delete_event
    del self._cached_match
AttributeError: _cached_match

Eventually tabs pile up and cannot be closed, except by closing Meld.

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

$ apt-cache policy meld
meld:
  Installed: 3.18.0-6
  Candidate: 3.18.0-6
  Version table:
 *** 3.18.0-6 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages
        100 /var/lib/dpkg/status

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

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

Title:
  Tabs don't close after saving changes

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to