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 seven new colors #2523

Open
ghost opened this issue Dec 17, 2016 · 46 comments
Open

Add seven new colors #2523

ghost opened this issue Dec 17, 2016 · 46 comments
Labels
accessibility This issue concerns the use of Qubes OS by persons with disabilities. C: gui-virtualization help wanted This issue will probably not get done in a timely fashion without help from community contributors. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. ux User experience

Comments

@ghost
Copy link

ghost commented Dec 17, 2016

Qubes OS version: R3.2

@andrewdavidwong andrewdavidwong added C: gui-virtualization enhancement help wanted This issue will probably not get done in a timely fashion without help from community contributors. P: minor Priority: minor. The lowest priority, below "default." labels Dec 17, 2016
@andrewdavidwong andrewdavidwong added this to the Far in the future milestone Dec 17, 2016
@grey-olli
Copy link

Could anyone point into source where changes to be impemented?

@jpouellet
Copy link
Contributor

jpouellet commented Feb 12, 2017

Unfortunately there are many places where the current labels are hard-coded, so this is not a trivial task.

I think the master list is intended to be the list in core-admin/core/qubes.py, but simply adding to that list would not be sufficient.

If you wish to work on this, I suggest you start by eliminating the other places in the codebase which hard-code labels. These can be found with e.g. grep -r purple qubes-src from a checked-out qubes-builder repo.

There have also been proposals to add different patterns instead of simply more colors, and I personally think that approach would be more useful for those of us with many VMs.

@unman
Copy link
Member

unman commented Feb 19, 2017

I would defer to those who specialise in user interfaces. I don't.
But I have worked on a number of projects where we have used expensive consultants who do specialise in that area. Their advice has always been to keep the number of colours to the minimum, particularly where this has significant consequences for the user. The advice has usually been to use no more than 7 or 8 colours.
In Qubes the use of colour obviously has significant consequences.

I'm opposed not just because people are far worse at discriminating between a range of colours than you would think. It's because they are being asked to identify, and give significance to, a particular colour when it isnt part of a range. I mean that if you see a colour as part of a colour chart you may be able to call it out, but when presented with a sample on its own then it isn't so easy to do so.
An added problem in Qubes is that we allow users to customise their desktops by changing wallpaper and/or background colour. Colour perception is very much influenced by background, so the users ability to differentiate similar colours may be adversely affected by their choice here.

For these reasons I would argue against the proposal, but as I've said, I'm happy to defer to those who have expertise in this area.
There is one change that I would like to see, which I think has been mentioned on the mailing lists in the past. The current colour choices are not suitable for those with some degree of colour blindness - it wouldn't take much to change them to a range which was colourblind safe.

Note that, by using different workspaces with colour coded backgrounds, the existing 7 choices (8 if black is included) can be simply extended to differentiate a larger number of VMs. wmctrl is installed by default in dom0 and can be used to help with such a set-up. I'd recommend that as the way to go.

@grey-olli
Copy link

grey-olli commented Feb 22, 2017 via email

@grey-olli
Copy link

grey-olli commented Feb 22, 2017 via email

@woju
Copy link
Member

woju commented Feb 22, 2017

For R3.2 this probably will remain as is. For R4.0, the list of labels is in qubes.xml and only the initialisation is hardcoded: https://github.com/QubesOS/qubes-core-admin/blob/core3-devel/qubes/app.py#L852-L861. There is however neither tool nor API to change that, apart from directly editing XML. @andrewdavidwong Is there a reason to change that approach? If not, we can close this bug.

@woju woju mentioned this issue Feb 22, 2017
18 tasks
@grey-olli
Copy link

grey-olli commented Feb 22, 2017 via email

@woju
Copy link
Member

woju commented Feb 22, 2017 via email

@andrewdavidwong
Copy link
Member

We need to defer to the UX experts on this one. Since we don't have any to offer a firsthand analysis of this problem, I'm inclined to defer to @unman's report.

@andrewdavidwong
Copy link
Member

For what it's worth, I want to acknowledge that the problem @grey-olli is experiencing is a legitimate one. With a large number of VMs, it becomes difficult to distinguish them, given a limited number of colors. However, it doesn't follow that adding more and more colors (or even building a tool that allows the user to do so) is the correct solution. For the reasons @unman points out, that's likely to backfire and ultimately harm the user instead. This calls for a more creative solution.

@andrewdavidwong
Copy link
Member

I've created #2646 to encourage ideas for such a creative solution.

@andrewdavidwong
Copy link
Member

Now that we have an actual UX expert around: @ninavizz, what do you think?

@fepitre
Copy link
Member

fepitre commented Jan 29, 2019

From my point of view, these colors are nice 👍

@marmarek
Copy link
Member

I'd exclude gray and possibly white, to avoid problems like #3471

@fepitre
Copy link
Member

fepitre commented Jan 29, 2019

Yes I agree. Also, as far as I can see in the components, it would be easy to implement these colors.

@marmarek marmarek reopened this Jan 29, 2019
@marmarek marmarek removed this from the Far in the future milestone Jan 29, 2019
@ninavizz
Copy link
Member

ninavizz commented Jan 16, 2020

It seems like a core problem that needs to be solved in order for this Issue to find an elegant resolution, is: WHO are Qubes users, quantified. Not just "who actually uses Qubes, today" but from a product strategy POV the project leads need to make a clear decision around who to optimize the product for—and to base all decisions around that.

Digital forensics analysts, gov ops employees, our parents, FinTech workers, journalists, sex workers. Hackers. Who uses the product today, vs who does the team want to use the product, tomorrow? What will help make the project at least revenue-neutral?

When everyone's a priority, nobody's a priority. I feel this issue needs to be put on hold until some concrete decision-making happens around product strategy and well-defined, prioritized user personas.

@mfc mfc added the accessibility This issue concerns the use of Qubes OS by persons with disabilities. label Jan 28, 2020
@andrewdavidwong andrewdavidwong added the P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. label Aug 31, 2020
@cheznewa
Copy link

cheznewa commented Nov 6, 2020

I Created A Script For More Colors :::::::::::::::::::::::::::::: https://github.com/cheznewa/MyGist/blob/master/morecolorqubesos.bash

@ninavizz
Copy link
Member

@ffsec shared:

A good example is: https://sashat.me/2017/01/11/list-of-20-simple-distinct-colors/

A number of folks are requesting more colors on the current app-menu survey. I honestly don't see the exploratory work around aesthetic devices to help distinguish security that could then result in a rich new custom window something for Qubes being developed, happening anytime soon. Re-considering this, now, and thinking that a number of the above colors could easily be adopted into 4.2. It'd be about 8hrs of me creating Qute Qube icons for the below, to get to @marmarta.

image

Off the cuff, all of the ones from the above list except for Brown, Beige, and Teal, seem good. Those colors I exclude, mostly because they are either too similar to other colors, or just ugly. That would yield 18 colors, total. Quite an upgrade, from today's 8. Or, a segment of those colors.

Thoughts?

It would also help accessibility and distinction of windows by color a lot, if a custom XFCE window theme for Qubes could be created and ship OEM, per #6414. Or with 4.2 just upgrade to a Gnome manager entirely. The new AppMenu will be getting done with GTK, I think.

@ninavizz
Copy link
Member

Laughing with you, @ffsec. I appreciate the exploration, a lot—and doubly appreciate your sharing the 2y/o adventure, here, for others who might be keen to take this on (I'm not a developer).

I also did a similar exploration before opening #6414 ... and found that between the focus/background states that most of the XFCE themes impose upon their window styling, as well as overly busy control icons on most of them, and my own bias against the weird gradients and rounded corners on most windows in their themes, we really need a custom XFCE theme for Qubes.

Separate from the coloration stuff, is also the legibility of window texts. I love the idea of giving users control of their own colors, as that would also enable colorblind folks to work with their own unique impairment/ability. But that would require the window manager to then be able to recommend a high-contrast color for the text, that would work in both focus and disabled mode. I can think of many ways to "cheat" that with background gradients and blocks, but then those detract from the colored frames—and we're back to the same issues that exist with existing XFCE themes.

@andrewdavidwong andrewdavidwong changed the title More colors in VM settings or possibility to add colors (only 8 at the moment) Add seven new colors Jul 2, 2021
@andrewdavidwong
Copy link
Member

andrewdavidwong commented Jul 2, 2021

Since @ninavizz has opened #6752 for adding three out of the desired 10 colors and is leaving this issue open to consider adding the remaining seven, I've updated the title accordingly. See #6752 (comment).

@arkenoi
Copy link

arkenoi commented Dec 19, 2021

Custom label names and icons would be nice to have in 4.2 as well!

@ninavizz
Copy link
Member

It is on my to-do to make the icons and post them here (and on the other issue) as I'm able to. Unless someone wants to take on this issue now in which case I'll make all requisite assets pronto! The label names imho should match what is in the color chart (and reflected in the Figma). The master file for the Qute Qubes in Figma is here. Cutting the art will require a small amount of fine-tuning on my end, so as soon as someone is ready to take this on pls just let me know!

@cheznewa
Copy link

cheznewa commented Dec 20, 2021

i hate a service required a sign up to all action access, @ninavizz you can upload your work ("Qute Qubes") to internet archive or openclipart (public domain) or in this platform? please.

@arkenoi
Copy link

arkenoi commented Dec 20, 2021

Also, could anyone explain why our Red / Black usage is a reversal of the traditional Red / Black signal lines concept? For years before, "Red" was "classified sensitive" and "Black" was "clear to connect to transmitter because it is encrypted already".

@DemiMarie
Copy link

Also, could anyone explain why our Red / Black usage is a reversal of the traditional Red / Black signal lines concept? For years before, "Red" was "classified sensitive" and "Black" was "clear to connect to transmitter because it is encrypted already".

Qubes OS follows the Biba Integrity Model much more closely than it follows the multilevel security model. “Red” means “danger, do not trust” and “Black” means “safe, you can trust this”. Qubes OS does not attempt to prevent covert channels, as this is not practical on commodity hardware.

@andrewdavidwong
Copy link
Member

Also, could anyone explain why our Red / Black usage is a reversal of the traditional Red / Black signal lines concept? For years before, "Red" was "classified sensitive" and "Black" was "clear to connect to transmitter because it is encrypted already".

Officially, Qubes takes no stance on what the colors mean:

https://www.qubes-os.org/doc/getting-started/#color--security

Most Qubes users associate red with what’s untrusted and dangerous (like a red light: stop! danger!), green with what’s safe and trusted, and yellow and orange with things in the middle. This color scheme also extends to include blue and black, which are usually interpreted as indicating progressively more trusted domains than green, with black being ultimately trusted. Color and associated meanings are ultimately up to you, however. The system itself does not treat the colors differently. If you create two identical qubes — black and red, say — they’ll be the same until you start using them differently. Feel free to use the colors in whatever way is most useful to you. For example, you might decide to use three or four qubes for work activities and give them all the same color — or all different colors. It’s entirely up to you.

@ninavizz
Copy link
Member

A recent survey was done to understand how people use colors in Qubes, and it affirmed that indeed use of colors is all over the place. Some people follow the model Demi proposed above, but many also just use it to "theme" their qubes; like, cool colors are personal and warm colors are for work. Stuff like that. Hence, the addition of new colors needs to follow a model of adding colors more distinct from each other and other colors, ahead of anything else.

@cheznewa Are you interested in taking this work on? Yes, I will be cutting and sharing the final art files, here, in this issue—with no expectations that others create Figma accounts (you also don't need an account to access or work with the above file). I still have work to do on my end to finalize the artwork, and because that is many hours of work and I'm juggling many things, I've made the request that folks interested in taking this on let me know, here—which will hasten my attending to this matter. ALL of the qube colors will need to be updated, with updated art, when these new seven new colors go live—so it's not a small task. I'd be delighted if you'd want to take it on tho, and I thank you in advance!

@Willy-JL
Copy link

Willy-JL commented Jun 21, 2023

For anyone who wants to add their own colors while this is still a work in progress, I made my own script that lets you add custom colors and (unlike the other script floating around on the internet) also automatically generates the appropriate icons for all the different types of VMs, in all the needed sizes and even in svg. You can find it here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility This issue concerns the use of Qubes OS by persons with disabilities. C: gui-virtualization help wanted This issue will probably not get done in a timely fashion without help from community contributors. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. ux User experience
Projects
None yet
Development

No branches or pull requests