Bug 445151

Summary: "Add Property…" button in settings dialog not initially visible
Product: [Plasma] kwin Reporter: Tristan Miller <psychonaut>
Component: rulesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: isma.af, nicolas.fella
Priority: NOR    
Version: 5.22.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tristan Miller 2021-11-08 10:05:13 UTC
In the "Edit Application-Specific Settings" and "Edit Window-Specific Settings" dialog, before any rules have been added, the following message appears in the bottom of the dialog:

No window properties changed
Click the Add Property… button below to add some window properties that will be affected by the rule

However, there is no such button visible in the dialog.  The only buttons visible are "Reset", "OK", "Apply", and "Cancel".  It's only if you resize the dialog (or even just start to resize it, such as by dragging the window edge) that the "Add Property…" button, along with the "Detect Window Properties" button and the time input, appears.  This doesn't appear to be a case of the dialog being initially too small to contain the extra buttons, since resizing it even just one pixel (or even making the dialog smaller) causes the extra buttons to suddenly appear.

Steps to reproduce:

1. Right-click on the title bar of a window/application for which no special window/application settings have yet been defined.
2. In the context menu that appears, select "Configure Special Window Settings" or "Configure Special Application Settings" from the "More actions" cascading menu.
3. Resize the settings dialog by maximizing it or by dragging the window border.

Observed behaviour:
2a. A settings dialog appears with a message referring to an "Add property…" button, but no such button is visible.
3a. The "Add property…" button suddenly pops into view.

Expected behaviour:
2a. A settings dialog appears with a message referring to an "Add property…" button, and this button is visible.
Comment 1 Nicolas Fella 2021-11-08 11:30:34 UTC

*** This bug has been marked as a duplicate of bug 442660 ***