Day/Night Mode File manager

SYSTEM INFORMATION
OS type and version Debian 12
Webmin version 2.302
Authentic Theme version 23.02

Hi, I always had a problem with very laggy file manager’s file editor and recently on my new server I noticed that lag was gone. Thought maybe some update did the trick, but once i put on Night mode it started lagging again, with day mode there is 0 issues. When I tried on my all other older servers and saw that on all of them I was using night mode which caused that lag. So it seems there is some kind of bug? Also I must mention that this problem exists on Safari browser, tested on chrome both day and night modes don’t cause any issues. Anyone noticed this?

Hello,

Thanks for the heads up!

To summarize, does this issue happen only in Safari and not in Chrome?

If so, what Safari version is this?

Yes only on Safari.

Safari version: 18.3.1 (20620.2.4.11.6)

That’s very odd! I don’t have this issue with my Safari 18.3.1. Do you have the same issue in a private browsing mode?

In private browsing mode there is a bit less input lag, but still noticeable. Also the more text is in editable file the more it lags while typing/editing it.

Also I’m using Macbook Pro M3

Do you have any experimental features enabled in the Safari developer panel? If you do, reset all to defaults.

If that doesn’t help, disable all extensions, restart the browser, and see if that solves your problem. To be clear, it’s definitely a local issue.

Everything is at default. Removed all extensions, restarted the browser. Still the same. Also just tried replicate this issue on my other laptop Macbook Air M1, same issue.

You’ll need to look into this—it might be a network issue. Have you tried temporarily disabling iCloud Private Relay?

Tried with/without Private Relay no difference. I highly doubt that it’s problem on my side, since I’ve tested on 2 different machines, different networks. Also on day mode there is absolutely no lag, everything works flawlessly, but once I turn on dark mode file editor becomes super laggy (big input, scrolling lag)

Alright, I have dug in deeper, and was able to reproduce it! This is a silly Safari bug, but we can address it on our end.

You can apply the following patches and force a page reload by using ⌥⌘R (Reload Page From Origin) in Safari and see if it fixes the issue for you too?

webmin patch https://raw.githubusercontent.com/webmin/authentic-theme/refs/heads/master/unauthenticated/css/palettes/nightrider.min.css
webmin patch https://raw.githubusercontent.com/webmin/authentic-theme/refs/heads/master/unauthenticated/css/palettes/nightrider.min.css.gz
1 Like

Works perfectly after patch! Good job Ilia and thank you :slight_smile:

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.