Time |
S |
Nick |
Message |
00:00 |
|
aditsu |
for Linux, javafx specifically uses gnome guidelines (which I think are an abomination, just like everything related to gnome) |
00:01 |
|
aditsu |
I should check what KDE does.. |
00:10 |
|
aditsu |
seems to do yes - no - cancel (good) and ok - apply - cancel (acceptable) |
01:28 |
|
aditsu |
ah, nice visualization at https://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/ButtonBar.html |
01:31 |
|
aditsu |
...except it's wrong :/ |
05:24 |
|
|
sivoais joined #sourcefu |
10:40 |
|
pdurbin |
aditsu: I was just asking about this on Friday and I realized I don't know which order buttons are supposed to be in. It sounds like it depends on if you're on Windows, Mac, or Linux. But I'm building a web app. What's the order supposed to be for the web? |
10:43 |
|
aditsu |
pdurbin: yeah, I also concluded it's better to follow the environment.. except javafx doesn't support my environment (KDE), those morons just assume Linux = Gnome |
10:43 |
|
aditsu |
anyway, I coded it myself, plus I had to do workarounds for a whole bunch of bugs |
10:44 |
|
aditsu |
for web.. I'd go with KDE button order, which is similar to windows :p |
10:45 |
|
aditsu |
except somewhat better :) |
10:48 |
|
aditsu |
so my program now automatically adjusts the button order in windoze and mac (javafx already did that), and in Linux it distinguishes between KDE and other /coughcrapcough/ stuff (for which it assumes gnome button order) |
10:49 |
|
aditsu |
pdurbin: I guess you could detect the OS on the web too, and adjust the button order.. but that's probably too much work |
10:50 |
|
aditsu |
plus you can't detect KDE vs gnome |
10:50 |
|
aditsu |
unless it's a DE-specific browser |
10:53 |
|
aditsu |
btw, those user agent strings are so ridiculous... "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36" -> the *ONLY* true parts are: X11 (kinda), Linux x86_64, and 57.0.2987.133, everything else is a lie |
10:57 |
|
aditsu |
pdurbin: windoze is popular so that counts somewhat, but in general it's just important to be consistent |
11:03 |
|
aditsu |
so many bugs today :( |
12:47 |
|
pdurbin |
aditsu: on the web, the button order should be consistent no matter what operating system you're using, I would think. |
13:06 |
|
aditsu |
hmm, there might be arguments both ways, but I can see the point in that |