66 Commits (d24edc78901bf69edd346d46446b67e1ea8f2223)

Author SHA1 Message Date
Ismael Asensio a9a58b1ed5 Port usage of kcmshell5 to kcmshell6
Just two instances:
- in useractions for the menu action "Configure Window Manager"
- in the docbook about the key shortcuts
1 year ago
Nicolas Fella 8c9c45b8f1 Add option to do nothing when activating window on another desktop
Some users prefer this over the existing options. It e.g. allows to open
a bunch of links and only then switch to the browser on a different desktop

BUG: 464283
1 year ago
Joshua Goins ee01e4b473 Update decoration kcm docbook
This includes screenshots for the new frameless style KCM, as well as
changing some of the outdated text.
2 years ago
Natalie Clarius b712c26457 kcms/kwindecoration: add link to aurorae tutorial in docbook 2 years ago
Josep M. Ferrer 3ec9414ace Fix a duplicated "option" word 2 years ago
Yuri Chornoivan 57a2f96e9e Fix minor typo 2 years ago
Natalie Clarius 67ab25820b kcms/tabbox: get docbook up to date
- add "Order minimized windows after" option
- add a screenshot so people know better what the task switcher even is
- minor rewording
2 years ago
Natalie Clarius 0074f72405 kcms/screenedges: add more keywords to docbook 2 years ago
Natalie Clarius 69f0d933ca kcms/screenedges: add hint on snap zones to docbook 2 years ago
Natalie Clarius 20ccc62e16 kcms/screenedges: add quarter tiling option to docbook 2 years ago
Natalie Clarius 04daed3bd0 kcms/docbook: add 'remain active on fullscreen' action to docbook 2 years ago
Nate Graham b9612ca0b7 kcms/kwineffects: use new term "Peek at Desktop"
The widget was renamed a while back, but the KCM still used the old
term to refer to it when letting the user choose the visual effect that
it shows the user. Let's change that.

BUG: 463087
FIXED-IN: 5.27
2 years ago
Natalie Clarius b6412454c2 placement: remove cascaded placement policy
becomes redundant with cascade-if-covering for zero-cornered placement
2 years ago
Nicolas Fella f764861157 Rename Touch Screen KCM to Touchscreen Gestures
To avoid a conflict with the new Touchscreen KCM under input devices
2 years ago
Yuri Chornoivan 354c0e350f Fix minor typos 2 years ago
Natalie Clarius 1598cecc8e doc/windowbehavior: improve help page for window behavior kcm
- add missing entries for focus delay and multiscreen behavior
- add missing entries for window placement modes maximized and under mouse
- add missing entries for mouse actions
- remove entry for removed "display window geometry when regeometrizing" option
- reword explanation for window raising
- extend explanations for window placement
- hint at screen edges kcm in movement section
- hint at window rules in advanced section
- add more keywords
- some small wording, typographical and formatting changes
2 years ago
Natalie Clarius 6b38b03724 Add new option for behavior when window on different desktop is activated
When a window that is on a different virtual desktop than the current one gets
activated, the current behavior is that the active virtual desktop will be switched
to the one the activated window is on. This may seem reasonable for a scenario where
the user explicitly intends to activate an existing window on a different desktop.
However, the following scenario is also (perhaps even more?) common: When an
application responds to a launch command by requesting to activate an existing
instance instead of opening a new one (such as Firefox or KDE System Settings), an
existing window on any desktop will get activated even when what the user had in
mind was opening a new window (on the desktop they are currently in). 

This means that opening an application, such as following a URL or accessing a
system setting, unexpectedly results in the user being teleported to a different
virtual desktop. This can be very irritating. The more expected behavior for these
users would be to have windows always open on the desktop where they are called
from. That's is what this commit adds as a new option.

BUG: 438375
FIXED-IN: 5.26
2 years ago
Jan Blackquill f6005a28cd doc: modernise HACKING -> CONTRIBUTING guidelines and information 3 years ago
David Edmundson e35ed5088a [rules] Allow setting WindowType to KDE specific window type OSD
An example use case is allowing a user to write rules to put firefox
Picture in picture windows above fullscreen users

CCBUG: 439573
3 years ago
Vlad Zahorodnii 811beb94e0 Remove Xrender backend
The Xrender backend was added at the time when OpenGL drivers were not
particularly stable. Nowadays though, it's a totally different situation.

The OpenGL render backend has been the default one for many years. It's
quite stable, and it allows implementing many advanced features that
other render backends don't.

Many features are not tested with it during the development cycle; the
only time when it is noticed is when changes in other parts of kwin break
the build in the xrender backend. Effectively, the xrender backend is
unmaintained nowadays.

Given that the xrender backend is effectively unmaintained and our focus
being shifted towards wayland, this change drops the xrender backend in
favor of the opengl backend.

Besides being de-facto unmaintained, another issue is that QtQuick does
not support and most likely will never support the Xrender API. This
poses a problem as we want thumbnail items to be natively integrated in
the qtquick scene graph.
3 years ago
Yuri Chornoivan e209134e96 Fix some leftovers in the docbooks 3 years ago
Yuri Chornoivan 22ee512ba6 Add docs for virtual keyboard KCM 3 years ago
Yuri Chornoivan 60d12b91f2 Add touch screen KCM docs 3 years ago
Yuri Chornoivan 9667fc6493 Fix minor typo 3 years ago
Yuri Chornoivan d1c3b2a261 Update window behavior KCM docs 3 years ago
Yuri Chornoivan b0e2498762 Update screen edges KCM docs 3 years ago
Yuri Chornoivan c8424f33f5 Update kwin effects KCM docs 3 years ago
Yuri Chornoivan 9ada617510 Update window decorations KCM docs 3 years ago
Yuri Chornoivan 340c8b5927 Update virtual desktops KCM docs 4 years ago
Laurent Montel 88b6076b2f GIT_SILENT: dont use deprecated cmake variable 4 years ago
Yuri Chornoivan afcd2e031b Minor documentation formatting fixes 4 years ago
Peter Wilding 1f006e2184 Updated version to 5.21. Rewrote the whole article to be more descriptive. 4 years ago
Peter Wilding 5f05369c6d Rewrote Task Switcher help to describe all options and how they work in detail. 4 years ago
Noah Davis f474686a58 Change CommandAllKey to Meta
Summary: Alt + Left Click to move windows has a tendency to conflict with creative workflow apps. While Alt can be changed to Meta in KWin's settings, Alt + Left Click shortcuts often cannot be customized in apps. Rather than making every user who runs into this problem change their settings, we should change our default settings to improve KWin's default usability. The fact that Alt + Left Click to move windows is older does not matter. We are trying to use Meta for global/shell shortcuts anyway.

BUG: 399375

Test Plan: The relevant parts of the relevant tests pass. kwin-testInternalWindow fails, but for unrelated reasons that have something to do with XWayland.
4 years ago
Nate Graham 04aff77f94 Remove the "Candy" category and fold its contents into "Appearance"
Summary:
The "Candy" category suffers from some problems:
- It does not need to exist; everything in it is purely appearance-related and could live in the existing "Appearance" category
- The name is inappropriate; "Eye Candy" would be better, but changing it to this has proven controversial in the past

Let's just remove the category and move everything in it into the "Appearance" category.

Test Plan:
Apply and compile
Open Desktop Effects KCM
See that the "Candy" category is no more and the "Appearance" category has more stuff in it

Reviewers: #kwin, #vdg, zzag, abetts

Reviewed By: #kwin, #vdg, zzag, abetts

Subscribers: abetts, zzag, kwin, kde-doc-english, GB_2

Tags: #kwin, #documentation

Differential Revision: https://phabricator.kde.org/D27658
5 years ago
Vlad Zahorodnii c9c3c3ad65 Introduce coding-conventions.md
Summary:
Hopefully, the new document makes it clear when one can use QRect::right()
and QRect::bottom().

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: davidedmundson, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D27060
5 years ago
Nate Graham 2dae153558 Improve comprehensibility and consistency of window placement mode names
Summary:
Right now a few of the window placement modes suffer one or more of the following problems:
- Inconsistency between the text shown in the Window Behavior and Window Rules KCMs
- Title does not indicate what it does
- Awkward wording
- Lack of unity in grammatical mood between the different modes

This patch fixes these issues by improving the strings and standardizing on the descriptive mood:
- Smart -> Minimal Overlapping
- Maximizing -> Maximized
- Cascade -> Cascaded
- Zero-Cornered -> In Top-Left Corner

Strings are also unified between the window behavior and window rules KCMs, and docbooks are adjusted accordingly.

Test Plan:
{F7279685, size=full}
{F7279694, size=full}

Reviewers: #kwin, #vdg, ndavis, filipf, zzag, romangg

Reviewed By: #kwin, #vdg, ndavis, filipf, romangg

Subscribers: gladhorn, alexeymin, IlyaBizyaev, broulik, hein, hpereiradacosta, GB_2, alexde, davidedmundson, romangg, cfeck, filipf, zzag, ndavis, kwin, kde-doc-english

Tags: #kwin, #documentation

Differential Revision: https://phabricator.kde.org/D23415
5 years ago
Frederik Gladhorn b64e67ce7c Remove disabled TabGroup feature
Summary:
This has been commented out since 2014, I doubt it will come back.
This is a big amount of code, maintenance will be easier without it.

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: romangg, graesslin, kwin

Tags: #kwin, #documentation

Differential Revision: https://phabricator.kde.org/D23069
5 years ago
Yuri Chornoivan ac702ff2dc Update icon PNGs 5 years ago
Volker Krause 008143c9db Update URLs to use https
Summary: Largely done automatically using the tools from D19996.

Reviewers: yurchor, zzag

Reviewed By: yurchor, zzag

Subscribers: zzag, yurchor, kwin, kde-doc-english

Tags: #kwin, #documentation

Differential Revision: https://phabricator.kde.org/D20017
6 years ago
Nate Graham 9a59e3fb6c [KCMs] move GHNS buttons to the normal location
Summary:
All other KCMs have their {nav Get New [things]...} buttons in the bottom-right corner. This patch adjusts KWin's KCMs to adopt the same convention there too.

With this patch, all KCMs will have their GHNS buttons in the same location.

Closes T9954

Test Plan:
{F6375278}

{F6375277}

{F6375276}

{F6375275}

Reviewers: #kwin, #vdg, zzag

Reviewed By: #kwin, zzag

Subscribers: Codezela, kwin, kde-doc-english

Tags: #kwin, #documentation

Maniphest Tasks: T9954

Differential Revision: https://phabricator.kde.org/D16537
6 years ago
Burkhard Lück 13a3dbf9de Update kwindecoration docbook
update text + screenshots

Differential Revision: https://phabricator.kde.org/D11453
7 years ago
Burkhard Lück 48f65133a0 Update windowspecific (Window Rules) docbook
proofread + update
most screenshots are already updated
REVIEW:129007
8 years ago
Burkhard Lück 2ba66b3fc2 update missing screenshot for example thunderbird composer 8 years ago
Burkhard Lück 1e6e11ea7a update screenshots for kopete example 8 years ago
Ivan Čukić bb89945d1b Restored the deleted file in order to fix the build 8 years ago
Burkhard Lück cca023d3b9 update screenshots for example 'Suppress a Window from showing on Pager' KNotes 8 years ago
Burkhard Lück 817ab63c86 update screenshots for emacs example 'Full-screen Re-size Error' 8 years ago
Burkhard Lück 49dfe5dfbe update screenshots for thunderbird reminder example 8 years ago
Burkhard Lück 47387a140c update screenshots for thunderbird main + composer eample 8 years ago