Last modified: 2014-09-01 15:47:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62513, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60513 - Vector: Logo in sidebar is cut off if browser font-size is too small for 10em to be > 135px
Vector: Logo in sidebar is cut off if browser font-size is too small for 10em...
Status: NEW
Product: MediaWiki skins
Classification: Unclassified
Vector (Other open bugs)
unspecified
All All
: Low normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-28 00:46 UTC by Chris McKenna
Modified: 2014-09-01 15:47 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Examples of truncated logos fr.wikiversity and Wikimedia UK (Konqueror 4.85/Linux/Vector/1024x768) (13.61 KB, image/png)
2014-01-28 00:50 UTC, Chris McKenna
Details

Description Chris McKenna 2014-01-28 00:46:33 UTC
When viewed on a 4:3 resolution screen (1024x768 resolution) in Konqueror 4.8.5 running on Xubuntu Linux 12.04 LTS using the Vector skin, the logo of some wikis is truncated as shown in the attached screenshots. This affects all pages on the affected wikis that I have viewed.

Known affected Wikis:
Wikimedia UK
fr.wikiversity
en.wiktionary
en.wikivoyage
ru.wikivoyage
en.wikinews
ar.wikivoyage (in incubator)

Tested and not affected:
Wikimedia foundation
Meta wiki
en.wikipedia
he.wikipedia
nl.wiktionary
ar.wiktionary
en.wikiversity
commons

The sole determining factor appears to be the width of the logo image.

This does not happen in the Monobook skin in Konqueror, or in either Monobook or Vector when using Firefox 26.

I am unable to test other browsers, operating systems or a different screen on this computer.
Comment 1 Chris McKenna 2014-01-28 00:50:46 UTC
Created attachment 14390 [details]
Examples of truncated logos fr.wikiversity and Wikimedia UK (Konqueror 4.85/Linux/Vector/1024x768)
Comment 2 Andre Klapper 2014-01-28 10:19:10 UTC
Could reproduce for en.wikivoyage.org on 1440x900px in Konqueror 4.11.5 in Fedora 20.
Comment 3 Krinkle 2014-09-01 15:46:31 UTC
The affected wikis have logos that are no wider than any of the others (135px).

If anything, they're actually narrower (fr.wikiversity.org has an odd 134px logo).

However most logos (those made by the design team or those customised in a way that is in line with the original versions) have a fair amount of breathing room included in the image.

Konqueror has a consistent rendering of 120px where the 135px image is located. So it's always being cropped, on all wikis.

But those wikis with customised logos without the breathing room are more visibly cut off (cutting into visible pixels instead of transparent margin).

The width is specified as "10em" in Vector based on font-size "html { font-size: 100%; }". This is not a very reliable way to render a fixed-width image indeed. Presumably the default font size in Konqueror is just tad smaller than most browsers.

Perhaps we should add a min-width: to the Vector sidebar?

PS: Monobook is subject to the same bug, though it specifies a width of 12.2em, so the font-size would have to be a lot smaller for that to resolve to 120px.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links