Bug 143862

Summary: Simplification of multi-line paste warning dialog
Product: [Applications] konversation Reporter: Maarten ter Huurne <maarten>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED INTENTIONAL    
Severity: wishlist    
Priority: NOR    
Version: 1.0.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Maarten ter Huurne 2007-04-05 02:39:34 UTC
Version:           1.0.1 (using KDE 3.5.6 "release 31.2" , openSUSE )
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.18.2-34-default

When multi-line text is pasted into the line edit box at the bottom of the screen, Konversation pops up a dialog with the options Paste, Edit and Cancel. I noticed that I always select Edit in this dialog, because I want to see the clipboard content before I make a decision whether or not the paste it.

So I propose to skip the initial Paste/Edit/Cancel dialog and go immediately to the Edit dialog. This still offers the same choices to the user:
- Paste: click OK without editing the text
- Edit: edit the text and then click OK
- Cancel: click Cancel

However, skipping the initial dialog has some advantages:
- the user will see what will be pasted, so he can make an informed decision
- for the Edit scenario, there is one less click, while for the Paste and Cancel scenarios the number of clicks stays the same
Comment 1 Eike Hein 2008-05-02 21:52:07 UTC
We actually implemented this once in the development version after this report was made (sadly the tracker wasn't put in the loop on this), but ended up not liking it and decided that showing a standard dialog box by default is less jarring.

Plus it's actually possible to check "Do not show this message again" and then click Edit, and subsequent pastes will always do so, unless the choice is reverted in the "Warning Dialogs" settings in the application configuration dialog. 

Retaining that behavior would involve reimplementing kdelibs standard dialog box code to put the checkbox in the paste editor dialog, which would clutter it, which is worrysome especially since we already consider making that UI more complex (button to replace newlines, perhaps integration with web pastebins).

Thus, closing WONTFIX. Sorry it took so long to reply.
Comment 2 Maarten ter Huurne 2008-05-03 01:39:32 UTC
Ah, I was under the impression that "Do not ask again" would always pick the default option (Paste) rather than the option I pick on the dialog (Edit). I just tried it and "Do not ask again" + Edit is exactly what I want.

If other people are also confused by "Do not ask again", maybe it would be clearer to rephrase it to something like "Always perform this action". Although that would have to be done KDE-wide, I guess.
Comment 3 Eike Hein 2008-05-03 09:42:02 UTC
Yep, the "Do not ask again" string is in the message box class in kdelibs.