Litarvan / lightdm-webkit-theme-litarvan

Litarvan's LightDM HTML Theme
BSD 3-Clause "New" or "Revised" License
707 stars 73 forks source link

Theme shows error message with own os-logo (only on my laptop) #165

Closed BlackRabbitLP closed 2 years ago

BlackRabbitLP commented 2 years ago

Hi there,

I have a curious issue: I have to PCs, a Tower PC and a laptop. The software running on both, except of the drivers of course is the same: Arch-Linux 5.17.8 with xfce desktop environment My laptop is from 2014: Acer Aspire V3-772G, Intel Core i5-4200M, NVIDIA GeForce GTX 750M, 16 GB RAM My PC is built by myself: ASUS ROG-STRIX B450f-Gaming-Board, AMD Ryzen 7 3700, NVIDIA GeForce RTX 3060, 32 GB RAM

Now my issue: If I use my own logo-picture on the laptop, correct name, because I just use the name of the original file, correct filetype (PNG), correct picture dimensions, lightdm-webkit2 shows an error with the theme, doesn't load the os-logo, but shows the logonscreen without any further issue. I use the same picture with the same lightdm-webkit2 on my desktop-PC and it just works. I'm not on my laptop right now, but the errormessages in the logs say, that two .js-files and a .css-file was loaded, but not used within a specific time. When I'm on my laptop in roundabout 9 hours, I can add the specific errormessages, but maybe anyone or litarvan himself has an idea, what it could be? Is my CPU or GPU to weak for this?

Kind regards BlackRabbitLP

BlackRabbitLP commented 2 years ago

In addition to my issue above I add the error messages from greeter.log:

CONSOLE OTHER WARN The resource file:///usr/share/lightdm-webkit/themes/litarvan/css/app.7f502890.css was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
CONSOLE OTHER WARN The resource file:///usr/share/lightdm-webkit/themes/litarvan/js/app.fc965120.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
CONSOLE OTHER WARN The resource file:///usr/share/lightdm-webkit/themes/litarvan/js/chunk-vendors.5d34b97f.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
CONSOLE JS ERROR Unhandled Promise Rejection: NavigationDuplicated: Navigating to current location ("/base/login") is not allowed

(lightdm-webkit2-greeter:623): Gtk-CRITICAL **: 15:54:04.282: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

The last error message is from my login today, although I haven't got an error message while logging in, today, because I use the original os-logo of the litarvan theme.

BlackRabbitLP commented 2 years ago

Okay, I got it to work: Instead of copying the existing file as root into the directory /usr/share/lightdm-webkit/themes/litarvan/img, I opened the modified picture a graphics manipulation program (GIMP, Krita etc.) as root and exported the picture into the target directory. Thanks anyway, if you already started to look for a solution :)