Managing colour selection on Windows
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 261
- Joined: Sat Aug 16, 2008 9:48 am
- Location: Stockholm, Sweden
- Contact:
Managing colour selection on Windows
Recently, I’ve had the misfortune to have to work with LiveCode in Windows 10.
I’ll spare you my rant about the ugliness/clunkiness of it all (comes with the territory), but one thing in particular annoys the hell out of me:
Selecting colours from the colour palette/chooser thingy!
On Mac we have Apple’s multi-facetted colour chooser with five different panes, some of them with four different styles/methods for selecting colours. Many different lists with colour names, ’web safe’ colours, crayons, spectrums, you name it.
On Windows, we get this (disregard the Swedish locale):
THIS!!!
Seriously!?
I’m colour blind and need colour names indicated to help me tell apart shades of e.g. green vs brown, blue vs violet etc. And even if you have normal colour sight, it must still be so much easier to work with the Mac style colour palettes than the poor, crappy Win excuse for a colour chooser, right?! (It doesn’t even save the customs colours you pick, till next time!)
So, those of you using LiveCode on Windows - what workarounds do you have for colour selection?
I’m seriously thinking of building my own colour selection console to sidestep the Windows default atrocity.
But I can't be the first person considering reinvention of that wheel - right...?
I’ll spare you my rant about the ugliness/clunkiness of it all (comes with the territory), but one thing in particular annoys the hell out of me:
Selecting colours from the colour palette/chooser thingy!
On Mac we have Apple’s multi-facetted colour chooser with five different panes, some of them with four different styles/methods for selecting colours. Many different lists with colour names, ’web safe’ colours, crayons, spectrums, you name it.
On Windows, we get this (disregard the Swedish locale):
THIS!!!
Seriously!?
I’m colour blind and need colour names indicated to help me tell apart shades of e.g. green vs brown, blue vs violet etc. And even if you have normal colour sight, it must still be so much easier to work with the Mac style colour palettes than the poor, crappy Win excuse for a colour chooser, right?! (It doesn’t even save the customs colours you pick, till next time!)
So, those of you using LiveCode on Windows - what workarounds do you have for colour selection?
I’m seriously thinking of building my own colour selection console to sidestep the Windows default atrocity.
But I can't be the first person considering reinvention of that wheel - right...?
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Managing colour selection on Windows
Not much better on Linux.
But, hang on while I finish my supper and turn my computer on because I do have a mad idea.
But, hang on while I finish my supper and turn my computer on because I do have a mad idea.
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Managing colour selection on Windows
I have just "stolen" the colour chooser stack from MetaCard (!!!) and made it a substack of a stack called 'Holder',
it throws error messages when you open it: BUT . . .
- -
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Managing colour selection on Windows
These snapshots are from Macintosh: but I suspect they will be the same on Windows
(they show up as much the same on Linux):
and I suspect the colour names will be extremely useful for you.
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Managing colour selection on Windows
Oops: feeling stupid as forgot to attach the stack.
Sorry.
Sorry.
- Attachments
-
- Holder.livecode.zip
- Stack.
- (6.29 KiB) Downloaded 45 times
-
- VIP Livecode Opensource Backer
- Posts: 261
- Joined: Sat Aug 16, 2008 9:48 am
- Location: Stockholm, Sweden
- Contact:
Re: Managing colour selection on Windows
Thanks Richmond! Yes, something like that is what I have in mind, and then make it apply on the selectedObject or something, like the Object Inspector does. And I'd add some feature for saving custom RGB values.
Re: Managing colour selection on Windows
I'm not colourblind, so my experience can't be measured the same way, but I don't have a problem with Windows or its colour picker.
I do or have worked on both Mac and Linux (a few Debian distros, and mostly Mepis and more latterly Mint).
There are advantages and disadvantages to all, and it's all subjective, but I would say Windows is the best O/S and best UX. (So stone me, it's fashionable.)
That said, I do wish that there was a bit more cross-platform parity in a cross-platform product, and a little less focus on Apple/iOS, but on the whole, the mothership do create an admirably platform independent environment.
PS when I can get on a computer, I will try and see what Richmond's stack looks like on Windows.
I do or have worked on both Mac and Linux (a few Debian distros, and mostly Mepis and more latterly Mint).
There are advantages and disadvantages to all, and it's all subjective, but I would say Windows is the best O/S and best UX. (So stone me, it's fashionable.)
That said, I do wish that there was a bit more cross-platform parity in a cross-platform product, and a little less focus on Apple/iOS, but on the whole, the mothership do create an admirably platform independent environment.
PS when I can get on a computer, I will try and see what Richmond's stack looks like on Windows.
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Managing colour selection on Windows
Somewhere "down the line" the LiveCode people decided to remove the integrated colour chooser
they had inherited from MetaCard and replace it with something that opened into the colour chooser
of the operating system the IDE was working on: and, if you are running things on a Macintosh
computer that's all very fine and dandy, but if you are running things elsewhere things are just not so good.
At the weekend I shall have a poke at RevMedia 4.0 and LiveCode 6.x.x. on some of my groovy 'mature' Macs
and see if I can work out when that decision was taken.
they had inherited from MetaCard and replace it with something that opened into the colour chooser
of the operating system the IDE was working on: and, if you are running things on a Macintosh
computer that's all very fine and dandy, but if you are running things elsewhere things are just not so good.
At the weekend I shall have a poke at RevMedia 4.0 and LiveCode 6.x.x. on some of my groovy 'mature' Macs
and see if I can work out when that decision was taken.
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Managing colour selection on Windows
THIS is also worth playing with.
- Attachments
-
- Colour Me.livecode.zip
- Stack
- (2.42 KiB) Downloaded 49 times
-
- VIP Livecode Opensource Backer
- Posts: 9823
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Managing colour selection on Windows
All three LC desktop implementations use the default OS-provided color picker users on each platform are most accustomed to seeing, don't they?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Managing colour selection on Windows
Certainly, as far back as RevMedia 4 (here on MacOS 10.7.5) RR/LC used the operating system's own colour chooser.
Re: Managing colour selection on Windows
Yes it does, for the colour picker and many other features. If I wasn't on a phone and finding it cumbersome to type, I would have mentioned that too. There are some areas where cross platform features within LiveCode are not the same (eg browser implementation on Linux) but the mothership do a largely admirable job in keeping LC multi platform.FourthWorld wrote: ↑Fri Dec 02, 2022 1:50 amAll three LC desktop implementations use the default OS-provided color picker users on each platform are most accustomed to seeing, don't they?
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Managing colour selection on Windows
I wonder where THIS is in the Windows version . . .
-
- VIP Livecode Opensource Backer
- Posts: 261
- Joined: Sat Aug 16, 2008 9:48 am
- Location: Stockholm, Sweden
- Contact:
Re: Managing colour selection on Windows
Ideally, I would like to hack the IDE so that when I click on one of these buttons in the object inspector, I get my custom colour picker instead of the default OS one:
Anyone knows which lines of which script of which stack I'd need to hack for that, and how to avoid generally breaking LiveCode in the process...?
(Yes, I would experiment on a copy/separate version, but still... I'll feel like a janitor doing brain surgery... )
Anyone knows which lines of which script of which stack I'd need to hack for that, and how to avoid generally breaking LiveCode in the process...?
(Yes, I would experiment on a copy/separate version, but still... I'll feel like a janitor doing brain surgery... )
Re: Managing colour selection on Windows
You could just use the stack I published on SampleStacks/liveCodeShare some time ago. I used FerrusLogic's TinyColor library as an easy way to set the text color to always be appropriate for the backgroundColor and included a quick 'search' function.richmond62 wrote: ↑Thu Dec 01, 2022 10:03 pmSShot 2022-12-01 at 23.01.58.png
-
THIS is also worth playing with.
Recently, Bernd very kindly made some suggestions to sort the grey values correctly (so they follow a text rather than numerical sequence) and to copy the the RGB values, in a addition to the original copying of the colourName... double-click on a color to copy the colorName constant or right-click to copy the RGB values... Drop it into your plugins folder to use as plugin (that's what I do). Look for it in Sample Stacks or the web front end to this on LiveCodeShare:
https://livecodeshare.runrev.com/stack/982/SkColorNames
HTH
Stam