diff view closing issues
I suspect these issues are related, but I have reproduced them in multiple ways
Details:
- OS: Ubuntu 23.10 and 24.04
- Meld Version: 3.22.0
The Gist:
When comparing directories, when viewing differences of files, there are certain ways when closing the diff view that one loses the "main" window and thus needs to close the UI and relaunch to move forward
Methods To Reproduce:
Method 1
- open meld comparing two or three directories
- Pick a file to view the diff
- Make a change such that you will be prompted to "close w/o saving", "cancel", or "save" - from here on "close dialog
- After making the change, close the view NOT by the view "x"'s but by the UI "X" in the upper right corner
- when the close dialog appears, select cancel
- you should still be in the diff view of the files, but the diff view "x" will have disappeared
- you are now forced to either close w/o saving or save, and either option closes the UI forcing one to restart the session
Method 2 (special)
- open meld comparing two or three directories
- Pick a file to view the diff
- Does not matter if you make a change or not
- After making the change, close the view by selecting the left "x" in the diff view
- If you made a change, you will not see the close dialog
- In either case, you should still be in the diff view of the files, but the diff view "x" will have disappeared
- you are now forced to either close w/o saving or save, and either option closes the UI forcing one to restart the session
Method 3 (special)
Note: I could not reproduce this on my 24.04 system, so I am doing my best to remember what happened
- open meld comparing two or three directories
- Pick a file to view the diff
- Make a change such that you will be prompted by the close dialog
- After making the change, close the view by using the hotkey ctrl-w
- when the close dialog appears, select cancel
- you should still be returning the main window (directory view), but it was empty
- you are now forced to either close w/o saving or save, and either option closes the UI forcing one to restart the session
Final Note
- I did my best to document, LMK if more detail is needed