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

minor rendering issue in list of component lists #5949

Closed
stanislav-brabec opened this issue Apr 30, 2021 · 4 comments
Closed

minor rendering issue in list of component lists #5949

stanislav-brabec opened this issue Apr 30, 2021 · 4 comments
Labels
wontfix Nobody will work on this.

Comments

@stanislav-brabec
Copy link
Contributor

Describe the issue

Real rendering size of the first line of the list of component lists on the title page of the weblate is smaller than the expected rendering size. As a result, browser mis-renders the first line: Item except the last one are on line 1. Line 2 is empty, just with a single item. Starting with line 3, everything is OK.

I suspect that the algorith includes the Preferences icon width to the available space.

To Reproduce the issue

Steps to reproduce the behavior:

  1. Go to https://l10n.opensuse.org/
  2. Resize the window horizontally and watch the list of component lists.

Expected behavior

Do not split the first line.

Screenshots
weblate-lists

Server configuration and status

./manage.py list_versions
 * Weblate: 4.6
 * Django: 3.2
 * siphashc: 1.3
 * translate-toolkit: 3.3.3
 * lxml: 4.4.2
 * Pillow: 8.0.1
 * bleach: 3.1.5
 * python-dateutil: 2.8.1
 * social-auth-core: 4.1.0
 * social-auth-app-django: 4.0.0
 * django-crispy-forms: 1.9.0
 * oauthlib: 2.0.6
 * django-compressor: 2.4
 * djangorestframework: 3.11.2
 * django-filter: 2.4.0
 * django-appconf: 1.0.3
 * user-agents: 2.1
 * filelock: 3.0.12
 * setuptools: 44.1.1
 * jellyfish: 0.7.2
 * openpyxl: 3.0.3
 * celery: 5.0.2
 * kombu: 5.0.2
 * translation-finder: 2.9
 * weblate-language-data: 2021.3
 * html2text: 2019.8.11
 * pycairo: 1.20.0
 * pygobject: 3.34.0
 * diff-match-patch: 20181111
 * requests: 2.25.1
 * django-redis: 4.11.0
 * hiredis: 1.0.1
 * sentry_sdk: 0.14.4
 * Cython: 0.29.22
 * misaka: 2.1.1
 * GitPython: 3.0.5
 * borgbackup: 1.1.13
 * pyparsing: 2.4.7
 * pyahocorasick: 1.4.1
 * Python: 3.6.12
 * Git: 2.26.2
 * psycopg2: 2.8.5
 * chardet: 3.0.4
 * ruamel.yaml: 0.17.2
 * Redis server: 6.0.4
 * PostgreSQL server: 13.2
 * Database backends: django.db.backends.postgresql
 * Cache backends: default:RedisCache, avatar:FileBasedCache
 * Email setup: django.core.mail.backends.smtp.EmailBackend: localhost
 * OS encoding: filesystem=utf-8, default=utf-8
 * Celery: redis://localhost:6379, redis://localhost:6379, regular
 * Platform: Linux 5.3.18-lp152.72-default (x86_64)

System check identified some issues:

WARNINGS:
?: (weblate.W025.ass) Failure in loading handler for ass file format: aeidon or gaupol package required for Subtitle support
	HINT: https://docs.weblate.org/en/weblate-4.6/admin/install.html#optional-deps
?: (weblate.W025.ini) Failure in loading handler for ini file format: Missing iniparse library.
	HINT: https://docs.weblate.org/en/weblate-4.6/admin/install.html#optional-deps
?: (weblate.W025.islu) Failure in loading handler for islu file format: Missing iniparse library.
	HINT: https://docs.weblate.org/en/weblate-4.6/admin/install.html#optional-deps
?: (weblate.W025.laravel) Failure in loading handler for laravel file format: No module named 'phply'
	HINT: https://docs.weblate.org/en/weblate-4.6/admin/install.html#optional-deps
?: (weblate.W025.php) Failure in loading handler for php file format: No module named 'phply'
	HINT: https://docs.weblate.org/en/weblate-4.6/admin/install.html#optional-deps
?: (weblate.W025.srt) Failure in loading handler for srt file format: aeidon or gaupol package required for Subtitle support
	HINT: https://docs.weblate.org/en/weblate-4.6/admin/install.html#optional-deps
?: (weblate.W025.ssa) Failure in loading handler for ssa file format: aeidon or gaupol package required for Subtitle support
	HINT: https://docs.weblate.org/en/weblate-4.6/admin/install.html#optional-deps
?: (weblate.W025.sub) Failure in loading handler for sub file format: aeidon or gaupol package required for Subtitle support
	HINT: https://docs.weblate.org/en/weblate-4.6/admin/install.html#optional-deps
?: (weblate.W033.Gerrit) Failure in loading VCS module for Gerrit: git: 'review' is not a git command. See 'git --help'.
 (1)
	HINT: https://docs.weblate.org/en/weblate-4.6/vcs.html
?: (weblate.W033.Mercurial) Failure in loading VCS module for Mercurial: [Errno 2] No such file or directory: 'hg': 'hg'
	HINT: https://docs.weblate.org/en/weblate-4.6/vcs.html
?: (weblate.W033.Subversion) Failure in loading VCS module for Subversion: git: 'svn' is not a git command. See 'git --help'.

The most similar commands are
	fsck
	mv
	show
 (1)
	HINT: https://docs.weblate.org/en/weblate-4.6/vcs.html

INFOS:
?: (weblate.I021) Error collection is not set up, it is highly recommended for production use
	HINT: https://docs.weblate.org/en/weblate-4.6/admin/install.html#collecting-errors
?: (weblate.I028) Backups are not configured, it is highly recommended for production use
	HINT: https://docs.weblate.org/en/weblate-4.6/admin/backup.html

System check identified 13 issues (1 silenced).
@nijel
Copy link
Member

nijel commented Apr 30, 2021

The rendering on your server looks broken in more ways. Did you run weblate collectstatic after upgrading?

@github-actions
Copy link

This issue has been automatically marked as stale because there wasn’t any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!

@github-actions github-actions bot added the wontfix Nobody will work on this. label May 11, 2021
@stanislav-brabec
Copy link
Contributor Author

The rendering on your server looks broken in more ways. Did you run weblate collectstatic after upgrading?

I ran ./manage.py collectstatic:

0 static files copied to '/var/lib/weblate/static', 394 unmodified.

@stanislav-brabec
Copy link
Contributor Author

It does not happen in 4.6.2.

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

No branches or pull requests

2 participants