Is it possible to use default color picker but not the macos one? Like the same one roblox studio on windows 10 has. Would be nice to have that option.
I don’t think so, Roblox engineers probably made custom color picker for windows, since there is no public api for color picker, unlike in macos.
It is just easier to use components and api, which already provided, I guess.
So if the custom color picker is already there, then why not make an option to use that, custom one, rather than the macos one
Different codebases I guess? I’m not working for Roblox, so I don’t know the insights of the engine, probably something to do with system apis.
Well the thing is that whole studio ui on macos is implemented the same way as on windows, except for the color picker. Thats what im talking about.
Ok, I dug deeper into old non-compiled 2016 code base of Roblox (I will not add the link to the source (I also did not steal it, it’s publicly available))
Recently, Roblox changed their UI to use Lua(u) instead of previously using Qt for UI. 2016 code is pretty much unreadable cpp code, but I found this: QColorDialog Class | Qt Widgets | Qt 6.10.0 (this documentation is probably for newer version for Qt, than what Roblox used back in 2016). So Roblox did not make their own color picker, they are just using the color picker which came with Qt, to this day.
Documentation for Qt QColorDialog has property QColorDialog::DontUseNativeDialog, which dictates, whenever to use OS color picker or Qt’s color picker. Reasons why Roblox would use native color picker over Qt’s could in my opinion be:
- Macos color picker supports the different color profiles, but Qt’s probably doesn’t
- Qt color picker might not always work on macos, due to API changes or some other underlying reasons.
(These are my opinions and based on my own research, so don’t trust everything I’ve said)