Bug 445151 - "Add Property…" button in settings dialog not initially visible
Summary: "Add Property…" button in settings dialog not initially visible
Status: RESOLVED DUPLICATE of bug 442660
Alias: None
Product: kwin
Classification: Plasma
Component: rules (show other bugs)
Version: 5.22.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-08 10:05 UTC by Tristan Miller
Modified: 2021-11-08 11:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***