[Sawfish] Configuring Booleans in window rules |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/sawfish Archives
]
- To: sawfish@xxxxxxxxxxxxxxxxxxx
- Subject: [Sawfish] Configuring Booleans in window rules
- From: Timo Korvola <Timo.Korvola@xxxxxx>
- Date: Fri, 22 Dec 2017 14:03:20 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=D8juRkI1+u6WROJATQKGtFHmTAPVnU6Qzusq5gI3Xe4=; b=QfwZqd1JBOamnIgRoxB+Cr0FNXJqfLfj4IyjK+kcnjQCkHmPHR4+F/rCKchLVc8i4u dhHedViJQ3Qhfu1OEFhirTcgTZrQWtwUKAcr6DXFK0BiF456w6CP+PMmiM8hqyV9HhgF 32zn/m8HnzBegAwzhqK6Ertg5NZow5Ozzj8dJ12USab2pp9nyzHZ830TBVT4I+LsRH3B z6vEqNXWQR23oC56K/tX1nAFS16i78xDenp7PR79a6oxlMq2YjJqJOAwWS9GtQGbYZj6 ASlzFIRpoLId8fZmX9CeCCUuhhH3LfdMJBGmEU04UnCHxOhfKfI5zkg6Oh2wqY8eAQWu oaEQ==
Hi,
In the window rule properties dialog non-Boolean settings have a check
box before the value widget (text field, slider or whatever is
appropriate for the type). The check box indicates whether the setting
is active, i.e., the rule should apply it for matched windows. This is
not explained in the dialog, but the value widget is only enabled when
the check box is set, making the semantics somewhat discoverable or at
least guessable.
However, Boolean settings only have a single check box, which is
apparently supposed to be tristate: a minus sign indicates that the rule
should not change the setting. So how do I set the check box to this
state? Clicking only toggles between checked and blank.
I don't much like the tristate check box because it is inconsistent with
the way other types are handled. Having two check boxes next to each
other would also be confusing, perhaps more so. Maybe we should use
something else as the Boolean value widget to distinguish it from the
activation check box. The switch of GTK 3 would be just the thing, but
with GTK 2 it would probably have to be a toggle button. Or we could
use something other than a check box for indicating if a setting is active.
--
Timo Korvola <URL:http://www.iki.fi/tkorvola>
--
Sawfish ML