Bug 438043 - Konsole suddenly stopped asking me for conformation on multi-line paste
Summary: Konsole suddenly stopped asking me for conformation on multi-line paste
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: copy-paste (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR critical
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-06-03 14:47 UTC by php4fan
Modified: 2022-01-06 16:34 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 21.08


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description php4fan 2021-06-03 14:47:14 UTC
SUMMARY

When you copy a multi-line text (such as a series of commands) and paste them into Konsole, normally Konsole is supposed to issue a confirmation prompt. I don't remember the exact text of the prompt, but it warns you that you are pasting a multiline text and gives you two options: confirm or cancel. It also has a "don't ask me again" checkbox.

This always worked until a few minutes ago. Now I am pasting multi-line texts into Konsole and it's not prompting me for confirmation anymore. It just executes the commands immediately.

I did NOT check "don't ask me again". Anyway I also went to Settings and clicked the "Enable all Don't ask me again messages". I have also closed and restarted Konsole. It still doesn't ask me for confirmation. 

STEPS TO REPRODUCE
1. copy this multi-line text:

echo "1"
echo "2"
echo "3"

2. Paste it into Konsole

OBSERVED RESULT

Executes commands immediately without asking for confirmation

EXPECTED RESULT

A popup should show up asking for confirmation, with ok/cancel options.

Used to work until literally a few minutes ago.

Operating System: openSUSE Tumbleweed 20210527
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.4-2-default
OS Type: 64-bit
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-1065G7 CPU @ 1.30GHz
Memory: 7.3 GiB of RAM
Graphics Processor: Mesa DRI Intel® Iris® Plus Graphics
Comment 1 Nate Graham 2021-06-08 23:15:32 UTC
Can confirm.
Comment 2 Martin Sandsmark 2021-07-06 12:44:40 UTC
CCing Jonah, since he recently refactored the copy&paste code.
Comment 3 Bug Janitor Service 2021-07-06 19:12:15 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/432
Comment 4 Kurt Hindenburg 2021-07-07 21:55:25 UTC
This should be fixed now
Comment 5 php4fan 2021-10-25 16:51:36 UTC
Is the fix supposed to be already in OpenSUSE Tumbleweed?

I am still having the issue.
Comment 6 Ahmad Samir 2021-10-25 19:32:49 UTC
An alternative is enabling "bracketed-paste" in bash (IIRC readline (which is used by bash) has made bracketed-paste the default since version 8.1, https://lwn.net/Articles/839213/).
Comment 7 php4fan 2022-01-06 16:34:36 UTC
It's been several months since the supposed fix and I'm still observing the issue on OpenSUSE Tumbleweed.

What version of Konsole is this supposed to be fixed in?