V26.00 Side slider Problem?

SYSTEM INFORMATION
Version Webmin 2.600
Version Usermin 2.420
Version Virtualmin 7.50.0 GPL
Version Apache 2.4.65

Hi,
on the latest update to version 2.60 the pin/unpin icon looks like this


and it is impossible to adjust the setting in theme settings

I am using the same PC / monitor as before the theme update so the local screen resolution can be ruled out any ideas ?

At first, I laughed and thought, there’s no way that’s possible! Then I tried to reproduce it, and when I did, I laughed even more!

This is expected because keeping it visible all the time needs a screen width of at least 1366px. I will add a help tooltip to show that.

But I have no idea why this pin/unpin icon is tilted at 45 degrees, but I’ll take a look.

Thanks for reporting!

Thanks again! I found a bug. I’m surprised it went unnoticed for so long!

We will fix it in the next minor release!

I hope the fixed bug fixes this issue as my screen width is well in excess of 1366px

Hmm, if you reload the page, do you see the radio buttons available for toggling? Or are they always off?

Just wondering if this could be the local OS reporting the wrong screen resolution to the theme ? Therefore the theme is acting correctly. I’ll do some jquery code to grab the local screen resolution to see if that is the case.
After a reload the toggle is still off

Alright, thanks! Let me know what you discover.

This is the ‘window’ dimensions according to jquery

the OS reports this

so both jquery and the OS report a width of 1920px, so it looks like the theme in this case is not detecting it correctly

I can’t reproduce it, but I used a simple test that should return true or false, like this:

window.matchMedia('(max-width: 1365px)').matches

This is what I get

A work around for anyone who has this issue (as @Ilia can not reproduce it)
edit

/etc/webmin/authentic-theme/settings.<user_name>.js

find the line

settings_side_slider_fixed=false; 

and change false to true

Notes:
if you use the theme editor and save the theme settings the setting will revert to false
if you login as root rather than a sudo capable user the file will be

/etc/webmin/authentic-theme/settings.js

no user name needed

1 Like

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