Commit Graph

60 Commits

Author SHA1 Message Date
Matan Ziv-Av
b69a2b88ef Add a menu option for monitors to only notify once.
When this option is enabled, the monitors (prompt, activity, silence,
process termination) are disabled automatically after one notification.
2023-05-14 14:15:19 +00:00
Matan Ziv-Av
542a04560d Add "Monitor for Prompt" action
When semantic shell integration is enabled, Konsole will generate a
notification when a shell prompt is displayed.
2023-05-14 14:15:19 +00:00
Magno Lomardo
d3fa26f65b Add the context menu options to split the view left-right and top-bottom
FEATURE: 415724
2023-03-06 22:41:41 +00:00
Matan Ziv-Av
6dfbd0624f Add keyboard selection mode to the Edit menu 2023-02-24 00:18:16 +00:00
Andrey Butirsky
b8325d2f18 fixup! Adopt KHamburgerMenu 2022-11-29 23:03:54 +04:00
Nate Graham
b04265e9fa Adopt KHamburgerMenu
It's amazing!

BUG: 439895
FIXED-IN: 23.04
2022-11-29 23:03:54 +04:00
Matan Ziv-Av
d67de797b6 Allow filtered copy to clipboard
This adds three copy actions:
- Copy only user input
- Copy only command output
- Copy both (filter out shell prompts).
2022-07-03 07:58:54 +00:00
Martin T. H. Sandsmark
fb35320cdc add action to disable/enable mouse tracking 2021-11-24 14:55:00 +00:00
Friedrich W. H. Kossebau
5c8f36ffba ui.rc files: consistenly use <gui> instead of deprecated <kpartgui> 2020-12-01 03:39:32 +00:00
Tomaz Canabrava
f588a662c0 Set the default toolbars as per VDG input 2020-11-14 14:00:22 +00:00
Tomaz Canabrava
06220deb58 Add Enlarge / Shrink Fonts 2020-11-13 17:18:51 +00:00
Tomaz Canabrava
c5ff37813b Organize toolbars by index 2020-11-13 17:18:51 +00:00
Tomaz Canabrava
7c128be655 Reorganize items 2020-11-13 17:18:51 +00:00
Tomaz Canabrava
f4f35e9fab Add the possibility to change the Profile from the Toolbar 2020-11-13 17:18:51 +00:00
Tomaz Canabrava
cb04dd4dbf Add another layer of QToolbars 2020-11-13 17:18:51 +00:00
Tomaz Canabrava
d1d26e0535 Hide unused actions instead of disabling them
This hides some actions from the main ContextMenu, so `Copy` is not
being display grayed out for no reason in the menu access when there's
no text selected
2020-07-02 12:05:05 +02:00
Will Westrop
6d2924e31a Send notification when the session'a foreground process finishes
Add new option "Monitor for Process Finishing" which
will send a notification when the current session's
long running process finishes.

FEATURE: 420053
GUI:
FIXED-IN: 20.08.0
CHANGELOG: Send notification when the session's foreground process finishes
2020-05-28 12:25:30 +00:00
Mariusz Glebocki
6c2a2c0184 Bump sessionui.rc version 2019-10-05 00:36:48 +02:00
Mariusz Glebocki
8c6aaad3f7 Remove "Close session" from context menu
When terminal display's context menu opens above mouse cursor, this
entry is really easy to click accidentally (mouse button down, move
cursor 2 pixels, mouse button up) and in effect close the session.
Moreover, the option is not really needed here. To close the session
using mouse, user can click window's close button, use tab context
menu, tab close button, or menu entry. Other tab/view-based applications
(e.g. Chromium, Firefox, Kate) do not have close button in view context
menu.

Fixes: https://bugs.kde.org/show_bug.cgi?id=412571
2019-10-04 00:37:51 +02:00
Lukas Bergdoll
f6e432ab0c Add reset font size shortcut
Summary:
Whenever I change the font size doing so is usually temporary and I usually go back to the default font size in after a short time. Currently I do so by changing to a different profile and discarding the change, which resets the font size to the default. I feel like there should be a shortcut for resetting the size.

I could not find an appropriate icon, so I left it without icon.
The default shortcut ctrl+r seemed reasonable and easy to type, 'r' reset.

Test Plan: Manual.

Reviewers: hindenburg, tcanabrava, #vdg, ngraham

Reviewed By: #vdg, ngraham

Subscribers: muhlenpfordt, ach, kvermette, rizzitello, lbergdoll, hindenburg, fabianr, dhaumann, kde-doc-english, z3ntu, ngraham, konsole-devel

Tags: #konsole, #documentation

Differential Revision: https://phabricator.kde.org/D15380
2018-09-17 10:20:10 +02:00
Kurt Hindenburg
4f55526575 Konsole: Add read-only mode
Summary:
This patch adds a read-only option for TerminalDisplays. When active,
all keyboard events are eaten. Mouse input is not affected and works like before.
The setting is not persisted and only lasts for the duration of the session.

Screenshots:
{F5730786}
{F5730788}
{F5730789}

VDG input is highly appreciated. Also, I'm not sure if I can just change the rc-files without bumping the version?

FEATURE: 126930

Test Plan:
- Shortcuts still work
- Paste and drop actions are disabled when readonly
- Switching between read-only and normal tabs works as expected
- Mouse input works like before

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: hindenburg, ngraham, #konsole

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D10862
2018-03-06 10:28:26 -05:00
Jekyll Wu
40a38d7aa1 Avoid duplicate "Show Menubar" entries in shortcuts dialog
The "show menubar" action in context menu is now shown only when menubar is
hidden.

BUG: 214493
REVIEW: 104193

FIXED-IN: 4.10.0
2012-10-20 18:56:41 +08:00
Jekyll Wu
b8c92b421d Move the "Send Signal" submenu to a better position under "Edit" menu
It feels out of place to put that submenu between "Copy","Paste" and "Select
All". The new place is not ideal, but I think it is beeter than current
situation.
2012-09-28 21:00:56 +08:00
Kurt Hindenburg
5526c75fb2 Reimplement KDE3's print screen functionality
Add File->Print Screen menu option

Patch by Kasper Laudrup laudrup@stacktrace.dk

FEATURE: 249084
FIXED-IN: 4.10
2012-09-03 12:26:31 -04:00
Kurt Hindenburg
a4b08ea190 Add the "Send Signals" menus from KDE 3.5
This reintroduces the "Send Signals" from KDE 3.5.
SIGSTOP/CONT/HUP/INT/TERM/KILL/USR1/USR2

Patch by Kasper Laudrup  laudrup@stacktrace.dk

FIXED-IN: 4.10
FEATURE: 214908
2012-08-04 18:05:09 -04:00
Jekyll Wu
caaa91a08c Add support for KDE Web Shortcus
There is a submenu in the context menu for searching selected text using
any of the enabled search provider and opening the result in the default
web browser.

This could be useful for searching compilation failure messages, warning
messages in logfile, etc.

DIGEST:
FEATURE:
FIXED-IN: 4.9.0
REVIEW: 104493
2012-04-18 00:00:29 +08:00
Jekyll Wu
ebc4888fef The "Copy Input To" submenu should use combo boxes
REVIEW: 104202
2012-03-10 05:37:18 +08:00
Jekyll Wu
0a0a6023fa Add separator around the 'Show Menubar' action 2012-02-27 22:12:42 +08:00
Jekyll Wu
5e6eb64dc3 Remove the redundant and unused 'switch-profile' menu 2012-02-17 22:05:14 +08:00
Jekyll Wu
2301ab5b81 Rearrange the 'File' menu
* Rename "Quit" to "Close Window" for accuracy
  * Move "Close Tab" downwards to be adjacent to "Close Window"

REVIEW:103920
2012-02-12 00:46:44 +08:00
Jekyll Wu
c7100fceb1 Remove deprecated and unused UI components 2012-02-11 03:20:17 +08:00
Jekyll Wu
8f7be18a64 Simplify the scrollback setting dialog to avoid potential confusion.
- the change is not saved into profile and only influences current tab
  - remove the 'Save to current profile' checkbox
  - remove the 'Defaults' button
  - change dialog title from "Scrollback Options" to "Adjust Scrollback"
  - change action from "Scrollback Options..." to "Adjust Scrollback..."

The new dialog makes the "Adjust Scrollback..." action more consistent with most
of other actions in the context menu, since they only influence or work in the
context of current tab.

The UI change is not quite satisfactory. Feel free to refine the UI part
to make it more clear and elegant.

BUG: 227144
FIXED-IN : 4.8
REVIEW: 102688
2011-10-25 19:24:15 +08:00
Jekyll Wu
989033462f Refine the 'Change profile' action.
- Rename it into 'Switch Profile' to avoid potential confusion.
- Also put it under the 'Settings' menu.

TODO: rename related methods which use 'change' in their names.

BUG: 245795
FIXED-IN:4.8
REVIEW: 102686
2011-09-25 05:24:17 +08:00
Jekyll Wu
d11fd4ea18 Add "Select All" action for selecting the whole history of this session.
FEATURE:  199990
FIXED-IN: 4.8
REVIEW: 102372
2011-09-20 00:33:07 +08:00
Kurt Hindenburg
866acd68ec Restore 'Configure Current Profile...' to the Settings menu.
Having this option only in the context menu is really irrating.  IMHO
it makes sense to have it under Settings menu.
CCMAIL: sasch.pe@gmx.de
2011-04-03 19:36:25 -04:00
Sascha Peilicke
5d61b69e3e Re-added 'Clear Scrollback and Reset'.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1125540
2010-05-11 17:20:22 +00:00
Sascha Peilicke
45d27ec764 Second chunk of menubar changes, see http://reviewboard.kde.org/r/3875/ for details.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1122683
2010-05-04 13:31:46 +00:00
Sascha Peilicke
82ddddcc76 Menubar and actions revamp, see http://reviewboard.kde.org/r/3110/ for details.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1121952
2010-05-02 19:43:43 +00:00
Sascha Peilicke
4638e9b6d5 Small whitespace and indentation fixes to sessionui.rc.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1093396
2010-02-20 19:13:51 +00:00
Kurt Hindenburg
9f3e26e76f Update 'Copy Input To->' menu items.
Thanks to Thomas Dreibholz for patch.  I made a few minor alterations.

BUG: 168292
GUI

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1027898
2009-09-25 03:05:08 +00:00
Kurt Hindenburg
2af04206c9 Allow Konsole's zmodem file transfers to work.
Thanks to Thomas Dreibholz <dreibh@iem.uni-due.de> for the patch.  I removed
some whitespace changes from his patch on reviewboard.

BUG: 200744

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1016847
2009-08-29 04:24:37 +00:00
Albert Astals Cid
9a92fa8c18 Add &amp; to all text messages so translators can work better
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=812628
2008-05-25 20:52:37 +00:00
Robert Knight
3ddffbd214 Re-implement 'Send Input to All' (now Edit -> Copy Input To...)
Improvements in the KDE 4 version:

- Input can be copied to all other sessions or only a subset of sessions,
  selection is via a filter-able list which appears when 'Copy Input To...' is clicked.
- Input can be sent from a tab in one window to a tab in another window
  (all sessions in all windows are displayed in the filter window)

BUG: 152072
BUG: 77682

Squashed commit of the following:

commit 3184e1958d3aa7e7574081df32814dbe44591c9e
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 19:24:22 2008 +0100

    Remove debugging messages.

commit 31afd9b2a3a327ca3e43deff47415de41a1ad74e
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 19:16:33 2008 +0100

    Copy input dialog.  Hide 'Number' column and header.  Show the check box in the title column.  Focus the search filter before showing the dialog.

commit 8c74e736d322e74d7af812a14500d748e748a224
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 19:03:59 2008 +0100

    Remove sessions from the internal checked/fixed sets when they are removed.  Fix crashes if sessions exited while SessionController was showing a dialog for that session.  Add QPointer<T> guards around the dialog exec() methods.

commit e4085069c2ff8cedb987639f50b73a3c679319f6
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 18:44:40 2008 +0100

    Remove sessions from the SessionGroup and SessionListModel when they terminate.

commit 29db3a3dd84f392ee333918e261bd6bcd75fd062
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 18:39:24 2008 +0100

    Use an extended rather than single selection in CopyInputDialog

commit 3f93507405053c84e09337225fa6e2a582776264
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 17:54:22 2008 +0100

    Copy Input Dialog:  Show tab text in the Title column.  Show clear button in filter line edit.

commit 0619f7ad72a1a346118a0174e5aee01ce94ddc52
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 17:40:07 2008 +0100

    Copy Input Dialog:  Add buttons to select and deselect all visible sessions.

commit 126afb3d394894a0325c5772fb32a25380932c44
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 17:23:07 2008 +0100

    Show the master session as checked and disabled.

commit c559bd5f5bcc59adecc3f29ee5b16200adb37b09
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 17:20:40 2008 +0100

    Create a SessionGroup in the SessionController when copyInputToAll() is called and use the CopyInputDialog to allow the user to choose which sessions the current one copies to.

commit 64c12e58a582a17b5cdeddcc8f9df7a89885f9e5
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 17:19:47 2008 +0100

    Display session list with check boxes and filter to select sessions to copy input to.  Show master session as a disabled, checked item.

commit 43eb5ccdfc768b42c5e650b6e56d1e1120ab5c5b
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 17:19:06 2008 +0100

    Add header data and Session* pointer to items in SessionListModel.

commit a8236a6658e1540a924aa6467dc90aeed346a0be
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 17:18:28 2008 +0100

    Remove connection to removed slot.

commit 03990fa244159b50152cc721a0fe4e403551d47c
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 17:17:54 2008 +0100

    Make SessionGroup take a QObject* parent argument in the constructor.

commit e2f91001c09a8422fb44ad58cf95f8dcba22c063
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 15:25:26 2008 +0100

    Add CopyInputDialog to build.

commit 3b33e1d6abdde56bbafd2bbd64c89c008a41d096
Author: Robert Knight <robertknight@gmail.com>
Date:   Sun Apr 13 14:32:36 2008 +0100

    Add header and implementation files for 'Copy Input To' dialog.

commit 9ebc36e3f09865f29702768cbb17279054e8cb4c
Author: Robert Knight <robertknight@gmail.com>
Date:   Thu Apr 10 07:04:48 2008 +0100

    Add a dialog for selecting sessions to copy input to.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=796545
2008-04-13 18:49:20 +00:00
Robert Knight
5ad3b1d452 Add character encoding selection to session context menu
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=757344
2008-01-04 19:05:55 +00:00
Robert Knight
c7bf0598ff Add version attribute to XmlGui resources.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=748975
2007-12-16 02:59:59 +00:00
Adam Treat
7dcf89b61e * Enable new tab action in konsolepart :)
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=742261
2007-11-27 17:26:56 +00:00
Constantin Berzan
5b50d8c481 Add 'Open Browser Here' menu item.
BUG: 61136


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=712078
2007-09-13 14:33:39 +00:00
Robert Knight
13c7c0dfb9 Corrections to the menu layout. Still not quite right.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=673853
2007-06-11 06:16:34 +00:00
Robert Knight
0ef9ea5f41 Added 'Change Profile' menu to change the profile used by a running session.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=667162
2007-05-22 02:19:57 +00:00
Robert Knight
829479f911 Add sub-menu to change character encoding using KCodecAction. Currently in the View menu next to the menu items to change the text size, although I am not sure if that is the most appropriate place for it.
svn path=/branches/work/konsole-split-view/; revision=660233
2007-05-02 01:31:46 +00:00