Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add column for checkboxes/radiobuttons/menu icons #32

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

fkloft
Copy link

@fkloft fkloft commented Jan 23, 2018

Add a column to show the current state for checkboxes and radiobuttons.

I also wanted to include menu icons, but since Command is exported via DBus, I didn't know how to declare functions with unserializable parameters/return values. I have no experience with Vala, but I did my best to write proper code, including null checks.

screenshot

@fkloft
Copy link
Author

fkloft commented Jan 24, 2018

I managed to get the icons to show up as well.

screenshot from nemo

@fkloft fkloft changed the title add column displaying the checked state for radiobuttons/checkboxes add column for checkboxes/radiobuttons/menu icons Jan 24, 2018
@p-e-w
Copy link
Owner

p-e-w commented Feb 3, 2018

These features look really cool at first, so it is with a heavy heart that I must tell you that I will not merge this PR. I had considered adding both check/radio indicators and icons myself in the past, and ultimately decided against it.

First, the radio buttons. Those just don't make sense when combined with a filterable list. The purpose of radio buttons is to represent a group of mutually exclusive options. Filtering and re-sorting destroys that group association, and can give the confusing impression that items from multiple radio groups are mutually exclusive, or that multiple radio buttons from the same group are active at the same time.

Menu item icons are something I associate with the early 2000s, and I believe it's for a good reason that GNOME hides them by default now. Menus are a list of text options. Action icons are for buttons. If this UI split had been clearer from the start, something like Plotinus might have been built into GTK+ years ago, since text = searchable.

This leaves only checkboxes then. I do see some value in indicating state for those, but I really don't like the idea of adding another column just for checkboxes. Also, indicating check but not radio state makes no sense. So overall, I prefer the layout to stay as it is now.

I really am very sorry to reject this effort so outright. It is for reasons such as these that the README request any additions be discussed in an issue before creating a PR.

@fkloft
Copy link
Author

fkloft commented Feb 3, 2018 via email

@TLogiviere
Copy link

TLogiviere commented Feb 26, 2018

In case my opinion can help on this issue, listing check-boxes can be seen as a free improvement to the usefulness of this cool piece of software.

  1. They aren't subject to semantic destruction when searched through,
  2. Listing them helps plotinus goal of allowing fast gui manipulation which is kinda its reason of existing.

Then about radios, p-e-w made a point and my p.o.v. is that this widget shouldn't be listed at all OR (because, as fkloft stated it can be usefull) by considering semantic groups as one immutable entity and display it in totality whenever at least one option is matched by a search.

Finally, about icons and after trying your version, fkloft, there is at least one problem which probably is a corner case : some window states are expressed by check-boxes e.g. « full screen » option in gedit.
In that case Plotinus ends-up showing an icon to the side of the widget and as a result, the interface looks bloated by unnecessary information as the icon, not following the state of the window (contrary to the gui button), does not gives a better explanation than the text or more information than the widget.
In such cases it would probably be better to only display the widget as it carries the information the user is interested in.
Interestingly in nautilus command pallet, there is no icon displayed for the bookmark action, only the text, even if the interface of nautilus show it only with an icon. Rightfully though, as there does not seems to be matter for ambiguity given the fact that the button disappear/is greyed out when a bookmark already exists.

tl;dr: check-boxes add useful, free of charge information ; group of radio buttons should be considered as an unsplitable entity ; state widgets should be prioritized over icons.

@tallero
Copy link

tallero commented Oct 25, 2018

I think it is fun to note that gnome mockups for palette include icons for actions:
https://gitlab.gnome.org/Teams/Design/os-mockups/raw/master/command-search/command-search.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants