[effects/showpaint] Use a shortcut to toggle the effect
Summary:
The Show Paint effect is useful when debugging repaint regions issued by
effects. The only headache with it is necessity to enable/disable it.
Consider the following workflow:
* Do some change to an effect;
* Compile KWin (or the effect);
* Go to System Settings and enable the Show Paint effect;
* Test effect, check repaint regions, etc;
* Disable the Show Paint effect;
* Go to the step 1.
This workflow is really exhausting. Also, when testing repaints in a
nested compositor, things become quite messy.
Because purpose of this effect is to debug repaints (and because this
effect is not meant for daily usage), I think that's fine to change
how it's activated.
This patch improves the workflow by changing the way how this effect
gets activated. Instead of enabling/disabling it, one can just use a shortcut
to activate or deactivate the effect.
Reviewers: #kwin, davidedmundson
Reviewed By: #kwin, davidedmundson
Subscribers: broulik, davidedmundson, kwin
Tags: #kwin
Differential Revision: https://phabricator.kde.org/D15703
2018-09-23 07:49:17 +00:00
|
|
|
|
[Desktop Entry]
|
|
|
|
|
Type=Service
|
|
|
|
|
X-KDE-ServiceTypes=KCModule
|
|
|
|
|
|
|
|
|
|
X-KDE-Library=kwin_showpaint_config
|
|
|
|
|
X-KDE-ParentComponents=showpaint
|
|
|
|
|
|
|
|
|
|
Name=Show Paint
|
2018-09-29 04:04:44 +00:00
|
|
|
|
Name[af]=Wys inkleur
|
|
|
|
|
Name[ar]=أظهر الطلاء
|
|
|
|
|
Name[bg]=Показване на боята
|
|
|
|
|
Name[bn_IN]=Paint প্রদর্শন করা হবে
|
2018-09-30 03:55:57 +00:00
|
|
|
|
Name[ca]=Mostra el pintat
|
|
|
|
|
Name[ca@valencia]=Mostra el pintat
|
2018-09-29 04:04:44 +00:00
|
|
|
|
Name[csb]=Pòkôżë Paint
|
|
|
|
|
Name[da]=Vis tegning
|
|
|
|
|
Name[de]=Zeichnungsbereiche hervorheben
|
|
|
|
|
Name[el]=Εμφάνιση σχεδίασης
|
|
|
|
|
Name[en_GB]=Show Paint
|
|
|
|
|
Name[eo]=Montri farbon
|
|
|
|
|
Name[es]=Muestra pintura
|
|
|
|
|
Name[et]=Joonistatud alade näitamine
|
|
|
|
|
Name[eu]=Erakutsi pintatutakoa
|
|
|
|
|
Name[fi]=Piirtämisen näyttäminen
|
|
|
|
|
Name[fr]=Affiche les zones peintes
|
|
|
|
|
Name[fy]=Paint sjen litte
|
|
|
|
|
Name[ga]=Taispeáin Péint
|
|
|
|
|
Name[gl]=Mostrar o pintado
|
|
|
|
|
Name[gu]=રંગ બતાવો
|
|
|
|
|
Name[hi]=पेंट दिखाएं
|
|
|
|
|
Name[hne]=पेंट देखाव
|
|
|
|
|
Name[hr]=Prikaz nedavnih promjena
|
|
|
|
|
Name[hu]=Megmutatja a kirajzolt területeket
|
|
|
|
|
Name[ia]=Monstra pictura
|
|
|
|
|
Name[is]=Sýna teikningu
|
|
|
|
|
Name[it]=Mostra il ridisegno
|
|
|
|
|
Name[kk]=Бояулау
|
|
|
|
|
Name[km]=បង្ហាញគំនូរ
|
|
|
|
|
Name[kn]=ಕೆಪೈಂಟ್ ತೋರಿಸು
|
|
|
|
|
Name[lv]=Rādīt zīmēto
|
|
|
|
|
Name[mai]=पेंट देखाउ
|
|
|
|
|
Name[mk]=Приказ на нацртано
|
|
|
|
|
Name[ml]=പെയിന്റ് കാണിക്കുക
|
|
|
|
|
Name[mr]=रंग दर्शवा
|
|
|
|
|
Name[nds]=Klöör wiesen
|
|
|
|
|
Name[ne]=रङ देखाउनुहोस्
|
|
|
|
|
Name[nl]=Intekening tonen
|
|
|
|
|
Name[pa]=ਪੇਂਟ ਵੇਖੋ
|
|
|
|
|
Name[pl]=Pokaż rysowane
|
2018-10-02 03:58:17 +00:00
|
|
|
|
Name[pt]=Mostrar a Pintura
|
2018-10-04 03:56:51 +00:00
|
|
|
|
Name[pt_BR]=Mostrar pintura
|
2018-09-29 04:04:44 +00:00
|
|
|
|
Name[ro]=Afișează desenele
|
|
|
|
|
Name[ru]=Подсвечивать отрисовку
|
2018-10-04 03:56:51 +00:00
|
|
|
|
Name[se]=Čájet málema
|
2018-09-29 04:04:44 +00:00
|
|
|
|
Name[si]=ඇඳීම් පෙන්වන්න
|
|
|
|
|
Name[sk]=Zobraziť kresbu
|
|
|
|
|
Name[sl]=Izrisovanje
|
|
|
|
|
Name[sv]=Visa uppritning
|
|
|
|
|
Name[ta]=வண்ணங் காட்டு
|
|
|
|
|
Name[te]=పెయింట్ చూపుము
|
|
|
|
|
Name[tg]=Намоиши Paint
|
|
|
|
|
Name[th]=แสดงพื้นที่
|
|
|
|
|
Name[tr]=Boyamayı Göster
|
|
|
|
|
Name[ug]=سىزىش دائىرىسىنى كۆرسەت
|
2018-09-30 03:55:57 +00:00
|
|
|
|
Name[uk]=Показ малювання
|
2018-09-29 04:04:44 +00:00
|
|
|
|
Name[wa]=Mostrer pondaedje
|
2018-09-30 03:55:57 +00:00
|
|
|
|
Name[x-test]=xxShow Paintxx
|