Bug 158011

Summary: can not close krdc
Product: [Applications] krdc Reporter: Cade Robinson <cade.robinson>
Component: generalAssignee: Urs Wolfer <uwolfer>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Cade Robinson 2008-02-18 18:19:22 UTC
Version:           4.0.1 (using KDE 4.0.1)
Installed from:    Debian testing/unstable Packages

I can not close krdc with either File -> Quit, CTRL-Q, or the close window "X".

I have to end up killing from command line.
Comment 1 Urs Wolfer 2008-02-18 21:03:57 UTC
Please tell me the value of "DoNotAskBeforeExit" in your KRDC config file.
(located at .kde/share/config/krdcrc or .kde4/share/config/krdcrc)
Comment 2 Cade Robinson 2008-02-18 21:20:03 UTC
Here is the contents of the file:


~/.kde4/share/config$ cat krdcrc
[General]
ShowStartPage=false

[MainWindow]
Height 1024=479
State=AAAA/wAAAAD9AAAAAAAAAk4AAAGIAAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAIAAAAwAGsAcgBkAGMAXwByAGUAbQBvAHQAZQBfAHYAaQBlAHcAXwB0AG8AbwBsAGIAYQByAQAAAAAAAAClAAAAAAAAAAAAAAAoAGsAcgBkAGMAXwBhAGQAZAByAGUAcwBzAF8AdABvAG8AbABiAGEAcgEAAAClAAABqQAAAAAAAAAA
Width 1280=590

[MainWindow Toolbar krdc_address_toolbar]
Index=1
ToolButtonStyle=IconOnly

[MainWindow Toolbar krdc_remote_view_toolbar]
Index=0
ToolButtonStyle=IconOnly

[Notification Messages]
AskBeforeExit=false


Comment 3 Urs Wolfer 2008-02-18 21:24:38 UTC
Ok, thanks. I see the problem. You have clicked once on the quit confirmation "No" and also "Remember". This way the quit confirmation does not get shown anymore and you cannot close KRDC.
I know this is a problem. Need to think how to solve it best. Any ideas?

Workaround: just remove the line "AskBeforeExit=false" in your config file. Should solve your problem.
Comment 4 Cade Robinson 2008-02-18 21:29:35 UTC
I changed the line to "true" instead of false.
Now it closes fine and there is no pop up asking to close.
Which for me is just fine.
Comment 5 Urs Wolfer 2008-02-18 21:43:14 UTC
SVN commit 776798 by uwolfer:

Fix problem that KRDC could not be exited anymore because user has clicked 'No' and 'Remember'. Just provide a 'Quit' and 'Cancel' button.
BUG:158011

 M  +5 -5      mainwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=776798