Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: loading.svg VS loading.gif #4959

Open
1 task done
gioman opened this issue Nov 7, 2024 · 1 comment
Open
1 task done

[Bug]: loading.svg VS loading.gif #4959

gioman opened this issue Nov 7, 2024 · 1 comment
Labels

Comments

@gioman
Copy link
Contributor

gioman commented Nov 7, 2024

What is the bug? (in English)

I noticed that in recent versions of LMWC the animated logo that shows at a project load has moved from an animated gif to an animated svg, I guess for the better quality and smaller size that svg gives.

Anyway there are a few observations to make:

  • it is very hard (at least for me) to understand how to create an animated SVG, I found basically zero documentation and tools about how to create one of them

  • if "loading.svg" is missing then LMWC do not seems to fall back using "loading.gif"

  • I tried to cheat my way in using an animated gif instead of a animated svg, by renaming loading.gif to loading.svg, and this seems to work on firefox but not on chrome

Steps to reproduce the issue

See description.

Versions, safeguards, check summary etc

Versions :

  • Lizmap Web Client : 3.8.2
  • Lizmap plugin : 4.4.4
  • QGIS Desktop : 3.34.9
  • QGIS Server : 3.34.11
  • Py-QGIS-Server : not used
  • QGIS Server plugin atlasprint : 3.4.1
  • QGIS Server plugin lizmap_server : 2.11.0
  • QGIS Server plugin wfsOutputExtension : 1.8.0
List of Lizmap Web Client modules :
* lizmapdemo : 3.6.0a1
List of safeguards :
* Mode : safe
* Allow parent folder : no
* Prevent other drive : yes
* Prevent PG service : yes
* Prevent PG Auth DB : yes
* Force PG user&pass : yes
* Prevent ECW : yes

Check Lizmap plugin

  • I have done the step just before in the Lizmap QGIS desktop plugin before opening this ticket. Otherwise, my ticket is not considered valid and might get closed.

Operating system

Ubuntu 22.04

Browsers

Firefox, Chrome

Browsers version

Latest updates

Relevant log output

No response

@gioman gioman added the bug label Nov 7, 2024
@Gustry
Copy link
Member

Gustry commented Nov 7, 2024

if "loading.svg" is missing then LMWC do not seems to fall back using "loading.gif"

According to the code in Lizmap, the only way is to override the value img/loading.svg :

https://github.com/search?q=repo%3A3liz%2Flizmap-web-client%20img%2Floading.svg&type=code

It's possible to create a theme. It's less convenient indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants