From 2dae153558b384ea55c2e6884904e8f595957ba2 Mon Sep 17 00:00:00 2001
From: Nate Graham
Date: Sat, 24 Aug 2019 17:14:21 -0600
Subject: [PATCH] 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
---
doc/windowbehaviour/index.docbook | 6 +++---
doc/windowspecific/index.docbook | 8 ++++----
kcmkwin/kwinoptions/advanced.ui | 8 ++++----
kcmkwin/kwinrules/ruleswidgetbase.ui | 8 ++++----
4 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/doc/windowbehaviour/index.docbook b/doc/windowbehaviour/index.docbook
index ed94ca8a20..75060404f7 100644
--- a/doc/windowbehaviour/index.docbook
+++ b/doc/windowbehaviour/index.docbook
@@ -642,11 +642,11 @@ the spinbox to configure the delay un-shading.
Placement
The placement policy determines where a new window will appear
-on the desktop. Smart will try to achieve a minimum
-overlap of windows, Cascade will cascade the
+on the desktop. Minimal Overlapping will try to achieve a minimum
+overlap of windows, Cascaded will cascade the
windows, and Random will use a random
position. Centered will open all new windows in
-the center of the screen, and Zero-Cornered will
+the center of the screen, and In Top-Left Corner will
open all windows with their top left corner in the top left corner of
the screen.
diff --git a/doc/windowspecific/index.docbook b/doc/windowspecific/index.docbook
index ed117f92db..dac04f5854 100644
--- a/doc/windowspecific/index.docbook
+++ b/doc/windowspecific/index.docbook
@@ -338,12 +338,12 @@ and Move Down buttons effects on how they are applied.
Default - use the global window placement strategy.
No Placement - top-left corner.
-Smart - place where no other window exists.
-Maximizing - start the window maximized.
-Cascade - staircase-by-title.
+Minimal Overlapping - place where no other window exists.
+Maximized - start the window maximized.
+Cascaded - staircase-by-title.
Centered - center of the desktop.
Random
-Top-Left Corner
+In Top-Left Corner
Under Mouse
On Main Window - restrict placement of a child window to the boundaries of the parent window.
diff --git a/kcmkwin/kwinoptions/advanced.ui b/kcmkwin/kwinoptions/advanced.ui
index 200b36d5b1..9d9211084b 100644
--- a/kcmkwin/kwinoptions/advanced.ui
+++ b/kcmkwin/kwinoptions/advanced.ui
@@ -77,17 +77,17 @@
-
- Smart
+ Minimal Overlapping
-
- Maximizing
+ Maximized
-
- Cascade
+ Cascaded
-
@@ -102,7 +102,7 @@
-
- Zero-cornered
+ In Top-Left Corner
-
diff --git a/kcmkwin/kwinrules/ruleswidgetbase.ui b/kcmkwin/kwinrules/ruleswidgetbase.ui
index 689b3701bd..e7670a925a 100644
--- a/kcmkwin/kwinrules/ruleswidgetbase.ui
+++ b/kcmkwin/kwinrules/ruleswidgetbase.ui
@@ -1063,17 +1063,17 @@
-
- Smart
+ Minimal Overlapping
-
- Maximizing
+ Maximized
-
- Cascade
+ Cascaded
-
@@ -1088,7 +1088,7 @@
-
- Top-Left Corner
+ In Top-Left Corner
-