10204 Commits

Author SHA1 Message Date
Abhiram Mudhavath
e4e20bb6e6 Add automatic profile switching based on system theme
Introduces a "Sync profile with system theme" option in General Settings.

Adds a "Sync profile with system theme" option in General settings.
When enabled, separate light and dark profiles can be assigned via Profile settings.
The default profile is hidden while this mode is active, replaced by the light/dark profile pair.

BUG: 449235
2026-04-28 12:23:19 +00:00
Antti Savolainen
a1cbf71c62 Add Konsole icon as repository logo 2026-04-28 10:31:07 +00:00
Alex Shek
8bbb49d29b Fix container detection dependence on toolbox and/or distrobox.
#### Fixes:

[BUG: 519468: container discovery fully depends on toolbox despite distrobox being present](https://bugs.kde.org/show_bug.cgi?id=519468)

#### Changes:

Adds a check to the startListContainers functions in ToolboxDetector and DistroboxDetector that signals listContainersFinished({}) if the corresponding executables are not found.

This fix allows container features to be used if user only has either distrobox, toolbox, or kapsule installed.

#### AI Declaration:

Code changes in this commit is assisted with an LLM due to unfamiliarity with the code. The used prompt and response is https://chat.deepseek.com/share/uvqfrhblyfbpb79nzd, which is manually evaluated, implemented, built, and tested to check that it works. The commit and MR messages are written manually.
2026-04-28 08:14:22 +00:00
Fabian Vogt
c5b5dadf31 Prevent QTabBar from closing tabs on middle mouse clicks
Since Qt 6.11, QTabBar closes tabs on middle click (QTBUG-141519):

[ChangeLog][QtWidgets] Middle clicking tabs in QTabBar with tabsClosable
set to true will now emit tabCloseRequested.

It conflicts with konsole's own handling. Block signals to avoid it.
That way it's configurable again and closing with a middle click no longer
tries to close it twice, resulting in a crash.

BUG: 515014
2026-04-28 06:34:42 +00:00
Fabian Vogt
ec5487a024 Simplify DetachableTabBar::middleMouseButtonClickAt
Inline it, much simpler.
2026-04-28 06:34:42 +00:00
Matan Ziv-Av
b372090a4c Support iterm2 chunked MultipartFile inline images
Adds support to `MulitpartFile=` method forsending iterm2 protocol images in parts.
Described here: https://iterm2.com/documentation-images.html
2026-04-28 06:25:24 +00:00
l10n daemon script
f8c31f358a GIT_SILENT Sync po/docbooks with svn 2026-04-28 02:00:20 +00:00
Kai Uwe Broulik
fa97ee80ad TerminalPainter: Don't start cursor animation when option is disabled
Otherwise this schedules countless repaints for no good reason.

Amends commit b84fdda9
2026-04-27 16:32:01 +02:00
l10n daemon script
b50d0af564 GIT_SILENT Sync po/docbooks with svn 2026-04-27 01:56:03 +00:00
l10n daemon script
631fa25cef GIT_SILENT Sync po/docbooks with svn 2026-04-26 01:50:08 +00:00
Jonah Cooper-Driver
cbd86bddfe Fix copy command causing scroll to bottom
Issue: Using Ctrl + Shift + C on selected text causes an automatic scroll to most recent output once the text is deselected.

[BUG: 519251](https://bugs.kde.org/show_bug.cgi?id=519251)

Fix: Do not trigger scroll in `SessionController::trackOutput` on a key release event.
2026-04-25 14:50:32 +00:00
l10n daemon script
dd85e7220c GIT_SILENT Sync po/docbooks with svn 2026-04-25 01:56:01 +00:00
Ray KDEFans
fdfc223fb8 Screen: fix incorrect selection range calculation in writeToStream
The previous implementation mixed block selection and linear selection
logic, leading to incorrect start/count computation for certain rows.

In particular:
- Block selection should always use a fixed [min, max] column range.
- Linear selection should only apply left bound on the top row and
  right bound on the bottom row.

This patch separates the two modes explicitly and ensures consistent
range calculation, preventing negative or invalid counts.
2026-04-24 11:36:59 +00:00
Yuri Chornoivan
bcf399bc90 Fix minor typo 2026-04-24 08:11:44 +03:00
l10n daemon script
fc5c35f41f GIT_SILENT Sync po/docbooks with svn 2026-04-24 01:53:59 +00:00
Yago Raña Gayoso
f269ddea68 Use symbolic icon for "Open File Manager" action 2026-04-23 18:53:50 +00:00
Paul Mabileau
e2897c5a56 Docs: Cover new option
Signed-off-by: Paul Mabileau <paul.mabileau@harfanglab.fr>
2026-04-23 18:43:53 +02:00
Paul Mabileau
72734f9f2a Fix(fonts): Gate full hinting with a new dedicated profile option
Signed-off-by: Paul Mabileau <paul.mabileau@harfanglab.fr>
2026-04-23 18:17:46 +02:00
Paul Mabileau
d3ba1bff53 Reapply "TerminalPainter: Fix font width on Qt 6"
This reverts commit be76d4a248.

Signed-off-by: Paul Mabileau <paul.mabileau@harfanglab.fr>
2026-04-23 16:46:04 +02:00
Christoph Cullmann
fc6badcfb4 we could arrive here with already destructed currentTerminalDisplay()
avoid nullptr access

BUG: 519274
2026-04-22 22:51:54 +02:00
l10n daemon script
915a038217 GIT_SILENT Sync po/docbooks with svn 2026-04-19 01:57:06 +00:00
l10n daemon script
a2c3a88d36 GIT_SILENT Sync po/docbooks with svn 2026-04-18 01:51:52 +00:00
l10n daemon script
286754c62b GIT_SILENT Sync po/docbooks with svn 2026-04-14 01:55:56 +00:00
l10n daemon script
6a53d3083d GIT_SILENT Sync po/docbooks with svn 2026-04-13 01:50:03 +00:00
Ivan Sorokin
9195beea32 Fix broken arrow and function keys in win32-input-mode on X11
I accidentally broke support for non-printable keys like arrows, function keys, and ESC for users running Konsole in an X11 session in applications using win32 input mode, like far2l. This manifested as completely unresponsive keys or bizarre behavior, such as ESC triggering folder size calculations and root credential prompts.

The issue was caused by a redundant +8 offset I added to nativeScanCode() specifically when the platform was detected as xcb. I mistakenly thought I needed to manually normalize the scancode to X11 standards. However, Qt's nativeScanCode() already returns an XKB-compatible value (evdev + 8) on all Linux platforms. By adding 8 again on X11, I created an invalid keycode that xkbcommon failed to resolve, resulting in an empty VirtualKeyCode being sent to the application.

I missed this bug during development because I tested the feature exclusively under a Wayland session. On Wayland, my code added 0, which happened to be the correct behavior by accident. I simply overlooked testing the implementation in an X11 environment. This patch removes the unnecessary offset logic entirely.
2026-04-12 15:43:55 +00:00
l10n daemon script
415bc0c9c0 GIT_SILENT Sync po/docbooks with svn 2026-04-12 01:51:45 +00:00
akizu matsuo
14bc4aef4b Fix freebsd vt102 test failed with pipeline
SYNCHRONIZED_TIMEOUT is set to 1000ms (src/Emulation.cpp: 68).

Thus, the test Vt102EmulationTest::testBufferedUpdates that does not timeout at 900ms but does at 1050ms passes locally.

However, in the GitLab CI pipeline, this was too strict (probably due to performance issues) and failed.

fix by trying 800ms and 1100ms. (some adjustments may be needed.)
2026-04-10 15:55:40 +00:00
l10n daemon script
0bff4c3ab0 GIT_SILENT Sync po/docbooks with svn 2026-04-10 02:22:15 +00:00
l10n daemon script
ae49045f94 GIT_SILENT made messages (after extraction) 2026-04-10 00:58:28 +00:00
l10n daemon script
dff792d66b GIT_SILENT Sync po/docbooks with svn 2026-04-09 02:33:51 +00:00
l10n daemon script
6888a1c218 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-04-09 01:51:17 +00:00
Heiko Becker
399e84c9cd GIT_SILENT Update Appstream for new release
(cherry picked from commit ae81affd1a)
2026-04-08 22:49:36 +02:00
l10n daemon script
31ff9611dc GIT_SILENT Sync po/docbooks with svn 2026-04-07 01:53:21 +00:00
l10n daemon script
9a863ccbd9 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-04-07 01:41:23 +00:00
l10n daemon script
a33ac0bb6b GIT_SILENT Sync po/docbooks with svn 2026-04-06 01:49:22 +00:00
l10n daemon script
36d375b5c1 GIT_SILENT Sync po/docbooks with svn 2026-04-05 01:51:31 +00:00
l10n daemon script
ffd75268c9 GIT_SILENT Sync po/docbooks with svn 2026-04-04 01:55:28 +00:00
Anton Skorochod
d4110404f6 Badge overlay feature
I like badge function from iterm2 for macOS and really missing it in konsole, especially for displaying current hostname when I'm working on many servers at the same time. So created basic implementation for badge displaying including support for some variables (both session variables like title, current process or working directory and environment variables) and setting badge (and it's parameters like fonts and size with command like `echo -ne '\033]778;BADGE=New text;COLOR=#00AA00;SIZE=16\a'`)

screenshots:
![Screenshot_20250803_214510](/uploads/3b98b9f5cfee3b07a494b9d0d454cdf7/Screenshot_20250803_214510.png)

![image](/uploads/a2cee0e8cc7f11398fc17a489d87d105/image.png){width=576 height=321}

![Screenshot_20250803_214646](/uploads/f88ca1f4bd0670fe4624356418002c78/Screenshot_20250803_214646.png)

![Screenshot_20250803_214531](/uploads/c1a97bb2edd870dcbf7d4330d2283b51/Screenshot_20250803_214531.png)
2026-04-03 15:37:49 +00:00
l10n daemon script
ea4567b8bf GIT_SILENT Sync po/docbooks with svn 2026-04-01 01:53:16 +00:00
l10n daemon script
e30cbe3523 GIT_SILENT Sync po/docbooks with svn 2026-03-25 01:58:58 +00:00
l10n daemon script
2027f5976a GIT_SILENT Sync po/docbooks with svn 2026-03-22 01:49:32 +00:00
akizu matsuo
599e3093c1 update build dependencies (qt5 to qt6, and more)(2) 2026-03-22 06:03:22 +09:00
akizu matsuo
e2b9c8789b fix solarized dark color theme broken when shell (fish) autosuggestion 2026-03-22 06:03:22 +09:00
akizu matsuo
828a041a31 update build dependencies (qt5 to qt6, and more) 2026-03-22 06:03:22 +09:00
Kurt Hindenburg
3f811acdce Fix over/underflowed return value (coverity)
stringWidth() could return a negative value as width() returns
negative on some characters. This fixes by returning 0 at a mininum.
2026-03-21 21:13:32 +01:00
Taras Oleksyn
fe0ac66cf6 Fix duplicated Copy entry in Configure Keyboard Shortcuts dialog
BUG: 513011
2026-03-21 21:04:53 +01:00
Laurent Montel
30cfa1632d Fix cmake warnings 2026-03-20 13:38:33 +01:00
l10n daemon script
3a778fa8d5 GIT_SILENT Sync po/docbooks with svn 2026-03-17 01:52:17 +00:00
l10n daemon script
2cd7ffcbe8 GIT_SILENT Sync po/docbooks with svn 2026-03-16 01:50:04 +00:00
l10n daemon script
604f421fbb GIT_SILENT Sync po/docbooks with svn 2026-03-14 01:51:46 +00:00