Community discussions

MikroTik App
 
User avatar
Sumarious
just joined
Topic Author
Posts: 9
Joined: Fri Apr 05, 2019 2:13 pm

Winbox - Darkmode - For the love of God, Please.

Sun Feb 21, 2021 6:43 pm

I've got dark mode on my phone, dark theme in windows, my terminal windows are all dark, I have chrome extensions, and scripts to force websites that refuse to adapt and evolve to use custom CSS to make them dark...

I spend my entire workday in front of an array of monitors and have taken every step possible to reduce the amount of blinding white screaming hot photons that would otherwise come blasting into my eye sockets, and then there is Winbox.. Which I have to spend a good portion of my day working with, which I have no ability to tame down. It's just screaming hot bright blinding white light at all times.

Is it really too much to ask that some time be taken to implement an alternative color scheme for this application?

You have a user, who buys, who uses, and deploys tons of your products, in actual physical pain because of the use of Winbox.

Blinding screaming hot white light-induced headaches are not a requested nor desired feature.

Please.
 
User avatar
Maggiore81
Member
Member
Posts: 378
Joined: Sun Apr 15, 2012 12:10 pm
Location: Italy
Contact:

Re: Winbox - Darkmode - For the love of God, Please.

Sun Feb 21, 2021 7:30 pm

Do like me, put eyeglasses with blu light filtering on that.
I see everything brown but that is ok !
Dott. Elia Spadoni
---
Network Administrator
MTCNA, MTCRE, MTCTCE, MTCINE, MTCWE, MTCSE
Spadhausen Internet Provider
Ravenna, ITALY
http://www.spadhausen.com
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 6190
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Winbox - Darkmode - For the love of God, Please.

Sun Feb 21, 2021 9:45 pm

USE CLI ;-)
I'd rather manage rats than software. Follow my advice at your own risk! (Sob & mkx forced me to write that!)
MTUNA Certified, by the Ascerbic Llama!
 
User avatar
Sumarious
just joined
Topic Author
Posts: 9
Joined: Fri Apr 05, 2019 2:13 pm

Re: Winbox - Darkmode - For the love of God, Please.

Sun Feb 21, 2021 10:52 pm

Do like me, put eyeglasses with blu light filtering on that.
I see everything brown but that is ok !

More like welding goggles...

This is kinda what it feels like to open up winbox...
Image
 
Znevna
Member Candidate
Member Candidate
Posts: 200
Joined: Mon Sep 23, 2019 1:04 pm

Re: Winbox - Darkmode - For the love of God, Please.

Sun Feb 21, 2021 11:45 pm

Ah yes, the only problem left to be resolved in the MikroTik world: a dark mode for WinBox.
As a side note, I have all my monitors set at around 120cd/m2, which is a reasonable value for most home/office environments, no "screaming white light" here.
 
r00t
Member
Member
Posts: 427
Joined: Tue Nov 28, 2017 2:14 am

Re: Winbox - Darkmode - For the love of God, Please.

Mon Feb 22, 2021 5:40 pm

Yeah, seriously this is LAST thing Mikrotik should be working on at the moment.
Just look around, there are serious bugs, memory leaks, ROS 7 issues, new wireless drivers problems...
 
User avatar
inteq
Member Candidate
Member Candidate
Posts: 268
Joined: Wed Feb 25, 2015 8:15 pm
Location: Romania

Re: Winbox - Darkmode - For the love of God, Please.

Mon Feb 22, 2021 9:15 pm

Yes, because changing a color would take an entire team of devs several months. /s
What does WinBox background color have to do with ROS other bugs is beyond me.
 
erkexzcx
Member Candidate
Member Candidate
Posts: 177
Joined: Mon Oct 07, 2019 11:42 pm

Re: Winbox - Darkmode - For the love of God, Please.

Tue Feb 23, 2021 10:57 am

or at least option to reverse colors of WinBox :D
 
eddieb
Member Candidate
Member Candidate
Posts: 202
Joined: Thu Aug 28, 2014 10:53 am
Location: Netherlands

Re: Winbox - Darkmode - For the love of God, Please.

Tue Feb 23, 2021 11:03 am

Please Mikrotik,

do NOT spent your time on something like Darkmode, it is not neccesary !
Focus on fixing bugs in ROS and prepare for ROS7...
Running 6.48.1 (stable) on :
CCR1009-8G-1S (2x ipsec/l2tp site-to-site, ipsec/l2tp roadwarrior, dhcpd, dns), CRS125-24G-1S, RB1100, RB962UiGS-5HacT2HnT (10pc), RB931-2nD, RB951, RB750GL ,RB2011UAS-RM, PWR-LINE-AP, RB750Gr3 running dude
 
User avatar
tomaskir
Trainer
Trainer
Posts: 1151
Joined: Sat Sep 24, 2011 2:32 pm
Location: Slovakia

Re: Winbox - Darkmode - For the love of God, Please.  [SOLVED]

Tue Feb 23, 2021 8:05 pm

There is a way - altho not a straightforward one.
Using Linux and Wine, you can force a "theme" for a Wine prefix. You then run Winbox inside that prefix. The theme can override any colors you want.

This is an example of forcing a dark theme for Winbox:
Image

It's not perfect, but it works. If you are running Windows... sorry, no good news for you there.
Unimus - configuration management, automation and backup solution
Mass Config Push, network-wide RouterOS upgrades, and more!
 
User avatar
Sumarious
just joined
Topic Author
Posts: 9
Joined: Fri Apr 05, 2019 2:13 pm

Re: Winbox - Darkmode - For the love of God, Please.

Wed Mar 03, 2021 1:49 pm

There is a way - altho not a straightforward one.
Using Linux and Wine, you can force a "theme" for a Wine prefix. You then run Winbox inside that prefix. The theme can override any colors you want.

This is an example of forcing a dark theme for Winbox:
Image

It's not perfect, but it works. If you are running Windows... sorry, no good news for you there.
I am stuck within the Corporate Windows ecosystem.. But I do run the Linux subsystem just so I can have a proper terminal when connecting to all the cloud services I manage...
Installing an xserver might just be worth it.

Thank you very much for this option.
 
r00t
Member
Member
Posts: 427
Joined: Tue Nov 28, 2017 2:14 am

Re: Winbox - Darkmode - For the love of God, Please.

Wed Mar 03, 2021 7:12 pm

Based on the above wine findings, I have tried to do the same on windows and it sort-of works, but it's not as good.
I have injected DLL into winbox process that replaces GetSysColor API and instead of returning default windows colors, it returns colors from wine dark theme.
This seems to be OK for most elements, but some are still drawn in gray, meaning it's either system control or Winbox gets the color from somewhere else.
GetSysColor.png
For Mikrotik developers: Doing the same in your own code is as simple as making GetSysColor function in your code, so it doesn't get imported from windows DLL and then supplying color values from INI file or some other source. This way you will not have to make any changes to your existing code, this is basically equal to my DLL injection method. (And to call original function, just use LoadLibrary + GetProcAddress).
Based on my screenshot, this seems to do the job for about 80% of GUI elements, rest may be using hardcoded colors or they use windows GUI controls that have fixed colors (these will be probably hardest to change on per-process basis - I think this applies to menus and toolbars, they can be owner-drawn but that requires some extra code to do so).
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: Alantisav, mbovenka and 123 guests