[plasma/kwin/Plasma/6.5] /: tabbox: unify on "Peek at Desktop" name

Nate Graham null at kde.org
Wed Sep 24 23:11:26 BST 2025


Git commit 5bcfb924bed8f6e060de57f090166e55f67ae0b1 by Nate Graham.
Committed on 24/09/2025 at 21:33.
Pushed by ngraham into branch 'Plasma/6.5'.

tabbox: unify on "Peek at Desktop" name

We already renamed the widget to this some time ago in Plasma, but never
mirrored that name change to KWin.

BUG: 507401
FIXED-IN: 6.5.0


(cherry picked from commit 43987174d3b88b58b700829f6ac9ac308d145c18)

Co-authored-by: Nate Graham <nate at kde.org>

M  +1    -1    doc/kwintabbox/index.docbook
M  +1    -1    src/kcms/tabbox/layoutpreview.cpp
M  +1    -1    src/kcms/tabbox/main.ui
M  +2    -2    src/tabbox/clientmodel.cpp

https://invent.kde.org/plasma/kwin/-/commit/5bcfb924bed8f6e060de57f090166e55f67ae0b1

diff --git a/doc/kwintabbox/index.docbook b/doc/kwintabbox/index.docbook
index c6d15c9f9d6..1d343e91e7b 100644
--- a/doc/kwintabbox/index.docbook
+++ b/doc/kwintabbox/index.docbook
@@ -75,7 +75,7 @@
 
[suppressed due to size limit]
 
-<para>The <guilabel>Include "Show Desktop" icon</guilabel> option will add a Show Desktop option to the window list. This allows the user to easily select the Desktop as the 'window' to show.</para>
+<para>The <guilabel>Include "Peek at Desktop" icon</guilabel> option will add a Peek at Desktop option to the window list. This allows the user to easily select the Desktop as the 'window' to show.</para>
 
 <para>The <guilabel>Only one window per application</guilabel> option reduces clutter by only showing one window for each open application.  If an application has multiple windows open, then its most recently activated window will be shown in the list and the others will not be shown.</para>
 
diff --git a/src/kcms/tabbox/layoutpreview.cpp b/src/kcms/tabbox/layoutpreview.cpp
index 43cf0a46610..0718633df02 100644
--- a/src/kcms/tabbox/layoutpreview.cpp
+++ b/src/kcms/tabbox/layoutpreview.cpp
@@ -174,7 +174,7 @@ void ExampleClientModel::init()
 
 void ExampleClientModel::showDesktopThumbnail(bool showDesktop)
 {
-    const ThumbnailInfo desktopThumbnail = ThumbnailInfo{WindowThumbnailItem::Desktop, i18n("Show Desktop"), QStringLiteral("desktop")};
+    const ThumbnailInfo desktopThumbnail = ThumbnailInfo{WindowThumbnailItem::Desktop, i18n("Peek at Desktop"), QStringLiteral("desktop")};
     const int desktopIndex = m_thumbnails.indexOf(desktopThumbnail);
     if (showDesktop == (desktopIndex >= 0)) {
         return;
diff --git a/src/kcms/tabbox/main.ui b/src/kcms/tabbox/main.ui
index d8262e5334b..3c2bae94533 100644
--- a/src/kcms/tabbox/main.ui
+++ b/src/kcms/tabbox/main.ui
@@ -38,7 +38,7 @@
         <item row="1" column="0" rowspan="2" colspan="3">
          <widget class="QCheckBox" name="showDesktop">
           <property name="text">
-           <string>Include "Show Desktop" entry</string>
+           <string>Include "Peek at Desktop" entry</string>
           </property>
          </widget>
         </item>
diff --git a/src/tabbox/clientmodel.cpp b/src/tabbox/clientmodel.cpp
index 8dd09ef3704..62907fadab0 100644
--- a/src/tabbox/clientmodel.cpp
+++ b/src/tabbox/clientmodel.cpp
@@ -54,8 +54,8 @@ QVariant ClientModel::data(const QModelIndex &index, int role) const
     case Qt::DisplayRole:
     case CaptionRole: {
         if (client->isDesktop()) {
-            return i18nc("Special entry in alt+tab list for minimizing all windows",
-                         "Show Desktop");
+            return i18nc("Special entry in alt+tab list for temporarily hiding all windows",
+                         "Peek at Desktop");
         }
         return client->caption();
     }


More information about the kde-doc-english mailing list