New ViewSplitter showEvent() method override sets focus proxy before
showing the MainWindow. It is userful for background mode to keep active
terminal focused.
BUG: 411543
Starting from KBookmarks 5.69 the ctor that took a KActionCollection
parameter has been deprecated, and we need to manually add the various
bookmark actions to the actionCollection so that they show up in the
shortcusts editor.
Move the code that overrides the add bookmark shortcut, Ctrl+B, to the
BookmarkMenu class, so that all the relevant code is in one place.
BUG: 419981
Summary:
- Added handlig of mouse double click on view header bar to toggle
maximize.
- Added menu entry under View -> Split view, Toogle maximize view
Test plan:
A.1. Open Konsole and create split views
A.2. Double clicking a view header should toggle maximize/restore the view
B.1. Open Konsole and create split views
B.2. Go to menu View -> Split view -> Toggle maximize view
The user might want to open a teletype in a Session or a Part without an additional shell interfering / in background (e.g. pty to /bin/vi).
Therefore, a new optional argument is introduced to run a pty process standalone. Consistency is held with legacy method calls.
Tab icon priority (from highest to lowest):
1. Latest Notification
- Inactive tab: Latest notification from any view in a tab. Removed
when tab is activated.
- Active tab: Latest notification from focused view. Removed when
focus changes or when the Session clears its notifications
2. Copy input or read-only indicator when all views in the tab have
the status
3. Active view icon
Replaces single-value session state with separate flags for each
possible notification (silence, activity, bell). This will allow for
more flexible control over how specific notifications are displayed.
Focused TerminalDisplay is used as a source of tab and window name,
for activity monitoring, splits headers highlighting, etc.
With this change TerminalDisplay is considered focused even when actual
focus is e.g. in its search box or popup menu.
Currently the shortcut is Ctrl+Shift+L which is close too
Ctrl+Shift+K. Ideally we want detach tab to not be a shortcut that can
be accidently pressed.
See https://invent.kde.org/kde/konsole/-/issues/6
Summary:
This was added for feature-parity with Meson-based projects; but an
individual package is the wrong place for that. To avoid the proliferation
of auto-detected ccache support in kde.org packages please submit such
a proposal to kde-frameworks-devel instead, where it could be added for
the benefit of all the projects using ECM. And more importantly, with a
standard switch to disable it for packaging environments
This reverts commit 007c2a0852.
Reviewers: #konsole, hindenburg
Reviewed By: #konsole, hindenburg
Subscribers: kkharlamov, hindenburg, konsole-devel, hiangel
Tags: #konsole
Differential Revision: https://phabricator.kde.org/D24805
When creating HotSpot's for local files, create them for files in the
current dir and for files in sub-directories too.
Re-format the code used to build the regex pattern for more readability
(easier for seeing what the regex pattern will look like, I hope).
Use a static QRegularExpression object, so as to only construct it once,
the pattern doesn't change and this should help with performance. Also
make createFileRegex() not static.
Don't convert QList<QString> to QSet<QString>, without actual benchmarking
it could be that QList is actually efficient here.
Use const where appropriate.
BUG: 416376