Bug 176544 - execute commands with ALT-F4
Summary: execute commands with ALT-F4
Status: RESOLVED LATER
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-30 15:50 UTC by Francesco Betti Sorbelli
Modified: 2011-07-31 11:55 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Betti Sorbelli 2008-11-30 15:50:17 UTC
Version:            (using KDE 4.1.3)
Compiler:          g++ 4.3 g++ (Debian 4.3.2-1) 4.3.2
OS:                Linux
Installed from:    Debian testing/unstable Packages

Suppose I execute this command inside konsole:

fra@debian:~$ su - root    (ENTER)
Password: ********         (ENTER)
root@debian:~#

now, with root login (or other user), suppose to write this command without press ENTER key:

root@debian:~# mkdir foo

At this point press shortcut (ALT+F4). The directory "foo" is created without press ENTER :D

--
Excuse me for my english :(
Comment 1 Dario Andres 2008-12-27 14:12:22 UTC
Here using:

Qt: 4.4.3 + qt-copy-patches-889120
KDE: 4.1.86 (KDE 4.1.86 (KDE 4.2 >= 20081221))
kdelibs svn rev. 902031 / kdebase svn rev. 902032
on ArchLinux x86_64 - Kernel 2.6.27.10

I can't reproduce this bug. Alt+F4 is catched by KWIN to close the Konsole window.
Can anyone else confirm this ?

This is probably related to bug 156037
Comment 2 Francesco Betti Sorbelli 2008-12-27 18:43:43 UTC
Hum... see this video please!
http://localhostr.com/files/3f9321/out.ogv
Comment 3 Dario Andres 2008-12-27 20:20:36 UTC
Oh, you are right. @Francesco: thanks for the detailes video explanatio :)

I can reproduce it here using:

Qt: 4.4.3 + qt-copy-patches-889120
KDE: 4.1.86 (KDE 4.1.86 (KDE 4.2 >= 20081221))
kdelibs svn rev. 902031 / kdebase svn rev. 902032
on ArchLinux x86_64 - Kernel 2.6.27.10

When closing a Konsole window using Alt+F4 , if they are some input in the shell , it is executed (in the example , a folder is created by "mkdir" , also, a file is created by "touch").
However, if you are in a root session, closing the window using Alt+F4 or even clicking the X in the window execute the command in the shell.
Comment 4 Kurt Hindenburg 2009-01-05 05:06:52 UTC
I could not reproduce using the lastest svn.  I tried alt+f4 and the X button.  Are both the people who can reproduce using the french language ( though I have no idea why that would matter)?
Comment 5 Dario Andres 2009-01-05 12:14:37 UTC
Here I'm using plain ENglish (no translation files)

I can still reproduce this bug with yesterday build:

Qt: 4.4.3 + qt-copy-patches-889120
KDE: 4.1.87 (KDE 4.1.87 (KDE 4.2 >= 20090101))
kdelibs svn rev. 905636 / kdebase svn rev. 905636
on ArchLinux x86_64 - Kernel 2.6.27.10

- Open Konsole
- Log as Root
- Type "mkdir foo" (don't press Return)
- Close the window (clicking on "X").
The "foo" folder is created with root ownership

I will try later with an updated build
Comment 6 Dario Andres 2009-01-05 21:49:04 UTC
I can still reproduce it here using:

Qt: 4.4.3 + qt-copy-patches-889120
KDE: 4.1.87 (KDE 4.1.87 (KDE 4.2 >= 20090101))
kdelibs svn rev. 906253 / kdebase svn rev. 906253
on ArchLinux x86_64 - Kernel 2.6.27.10
Comment 7 Kurt Hindenburg 2009-01-06 05:12:38 UTC
well I don't know what I'm doing wrong but I still can't reproduce.

Latest svn qt/kde*
gentoo 32 - kernel 2.6.27
Comment 8 Dario Andres 2009-01-06 11:32:03 UTC
Mh, really strange. May be there's something different between our configurations.
Comment 9 George Kiagiadakis 2009-01-06 12:02:10 UTC
I can reproduce this bug with the steps described in comment 5
Comment 10 Martin Walch 2009-02-05 14:31:01 UTC
I can reproduce this behaviour, too.

uname -a
Linux tacticalops 2.6.27-gentoo-r8 #1 SMP Sat Jan 24 23:01:24 CET 2009 x86_64 Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz GenuineIntel GNU/Linux

I am using KDE 4.2.0 and Konsole 2.2. Qt is installed with split ebuilds (4.4.2).

It did not change after deleting konsolerc and folder ~/.kde4/share/apps/konsole
Comment 11 Kurt Hindenburg 2009-02-28 08:28:09 UTC
No idea.

Is everyone that can reproduce on x64?
Comment 12 Dario Andres 2009-05-31 02:10:46 UTC
Mmm.. if some time I was able to reproduce this, now I can't reproduce it

Here using:

Qt: 4.5.1 (qt-copy  971295)
KDE: 4.2.88 (KDE 4.2.88 (KDE 4.3 >= 20090527))
kdelibs svn rev. 975695 / kdebase svn rev. 975695
on ArchLinux i686 - Kernel 2.6.29.4
Comment 13 Jekyll Wu 2011-07-20 17:54:53 UTC
can't reproduce it with KDE-4.7rc2 and konsole-2.7.999 on Archlinux