Bug 444440 - Konversation exits without warning when "Enable System Tray" is toggled
Summary: Konversation exits without warning when "Enable System Tray" is toggled
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-26 17:42 UTC by Antti Savolainen
Modified: 2021-12-30 21:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 1.8.21121


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Savolainen 2021-10-26 17:42:38 UTC
SUMMARY
Demonstrative video: https://youtu.be/oQ8iyRUYtNo
When the "Enable System Tray" option is toggled and the the exit button is pressed. To do this first the "Confirm Quit" dialog must be displayed once and then when "Enable System Tray" is toggled on again. Now when you click on the exit button, the program exits without warning. Note that konversation exits with code 0 so this is not a crash even if it seems like it.

STEPS TO REPRODUCE
1. Disable "Enable System Tray"
2. Click the exit button to invoke the "Confirm Quit" dialog and cancel it
3. Enable "Enable System Tray"
4. Click on the exit button

OBSERVED RESULT
Konversation exits

EXPECTED RESULT
The program should keep showing the "Docking in System Tray" and "Confirm Quit" dialogs

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.23.1
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Comment 1 Friedrich W. H. Kossebau 2021-12-30 21:30:09 UTC
Git commit 4e5f1ed454ef395ca1513243df6d7dce76ef46f5 by Friedrich W. H. Kossebau.
Committed on 30/12/2021 at 21:29.
Pushed by kossebau into branch 'release/21.12'.

Fix quitting app without confirm dialog after previous canceling of quit
FIXED-IN: 1.8.21121

M  +6    -5    src/mainwindow.cpp
M  +1    -1    src/mainwindow.h

https://invent.kde.org/network/konversation/commit/4e5f1ed454ef395ca1513243df6d7dce76ef46f5