KWin Rules Application Workarounds: Difference between revisions

From KDE UserBase Wiki
m (Created page with "__TOC__ =Application Workarounds= Below are Workarounds for misbehaving applications. {{Tip|If you are unfamiliar with creating '''KWin''' Rules, see this [[Special:myLangua...")
 
Line 9: Line 9:
==Full-screen Re-Size Error==
==Full-screen Re-Size Error==


Several bugs have been reported against '''KWin''' ([https://bugs.kde.org/show_bug.cgi?id=252314 Emacs window resizes ...]) <<---- rewrite ....
'''Emacs''' and '''gVim''', when maximized (full-screen mode) and under certain conditions may encounter window re-sizing issues - see [https://bugs.kde.org/show_bug.cgi?id=252314 Emacs window resizes ...] A '''KWin''' Rule will work-around the issue.
 
Assuming an '''Emacs''' window is open:
 
# Use '''Detect Window Properties''' and select the ''Emacs'' window.  Match only by '''primary class name''' so leave the check boxes unchecked - for additional information see [[Special:myLanguage/KWin_Rules_Window_Matching|window matching]]:<br><br>[[Image:Emacs-info.png|350px|center]]
# Clicking '''OK''' in the previous window back-fills the results in the '''Window Matching''' tab.  Enter a meaningful '''Description''':<br><br>[[Image:window-matching-Emacs.png|350px|center]]
# Ignore '''Emacs''''s full-screen request by enabling the '''Obey geometry restricts''' attribute, toggling it to off ('''No''') to ignore and '''Force''' the [[Special:myLanguage/KWin_Rules_Window_Attributes#Parameters|parameter]]:<br><br>[[Image:Emacs-attribute.png|350px|center]]
# Click through to complete entry of the rule.

Revision as of 13:54, 6 March 2012

Application Workarounds

Below are Workarounds for misbehaving applications.

Tip

If you are unfamiliar with creating KWin Rules, see this detailed example to base your new rule.


Full-screen Re-Size Error

Emacs and gVim, when maximized (full-screen mode) and under certain conditions may encounter window re-sizing issues - see Emacs window resizes ... A KWin Rule will work-around the issue.

Assuming an Emacs window is open:

  1. Use Detect Window Properties and select the Emacs window. Match only by primary class name so leave the check boxes unchecked - for additional information see window matching:

  2. Clicking OK in the previous window back-fills the results in the Window Matching tab. Enter a meaningful Description:

  3. Ignore Emacs's full-screen request by enabling the Obey geometry restricts attribute, toggling it to off (No) to ignore and Force the parameter:

  4. Click through to complete entry of the rule.