Page MenuHomePhabricator

Thumbnail can get split into two pieces when in columns using Chrome
Open, Stalled, Needs TriagePublic

Description

When using Chrome, thumbnails might be split on two columns if they are inserted within a column.

Example: https://it.wikipedia.org/w/index.php?title=Parco_Natura_Viva&oldid=97414977


The file is listed between Stegosaurus and Camptosaurus in the code

*''[[Stegosaurus]]''
[[File:2 stegosauri.jpg|miniatura]]
*''[[Camptosaurus]]''

and as you can see the thumbnail is split. Using Microsoft Edge, however, the thumbnail isn't split:

The issue became more evident when I tried to add a caption:
Chrome


Edge

Event Timeline

Nnvu created this task.Apr 26 2018, 12:57 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 26 2018, 12:57 PM
Aklapper updated the task description. (Show Details)Apr 26 2018, 1:15 PM
Aklapper updated the task description. (Show Details)

Thanks for reporting this.
Going to https://it.wikipedia.org/wiki/Parco_Natura_Viva#Parco_delle_estinzioni I do not see two columns, only one...
How to see what you are seeing? :-/

Nnvu added a comment.Apr 26 2018, 1:24 PM

Thanks for reporting this.
Going to https://it.wikipedia.org/wiki/Parco_Natura_Viva#Parco_delle_estinzioni I do not see two columns, only one...
How to see what you are seeing? :-/

I think it might be a resolution problem. Try to zoom-out the page.

Oh thanks, indeed. Sorry! I can reproduce this in Chromium 65 and not in Firefox 59 - Firefox moves the complete thumbnail and caption to the next column while Chromium maybe tries the same but ignores the height of the surrounding caption when performing that calculation? I'm just guessing though.

Hmm, is there any indicator that this is a problem in MediaWiki code? Looks like a bug in Chromium to me which you (or anyone) could report to the Chromium maintainers at https://bugs.chromium.org/p/gerrit/issues/list

Aklapper renamed this task from Thumbnail split on columns using Chrome to Thumbnail can get split into two pieces when in columns using Chrome.May 29 2018, 11:54 AM
Aklapper changed the task status from Open to Stalled.
Aklapper added a project: Upstream.
Aklapper updated the task description. (Show Details)

@Nnvu: Can you please report this to the Chrome/Chromium developers in https://bugs.chromium.org/p/gerrit/issues/list ? Thanks.

Vvjjkkii renamed this task from Thumbnail can get split into two pieces when in columns using Chrome to o5daaaaaaa.Jul 1 2018, 1:13 AM
Vvjjkkii changed the task status from Stalled to Open.
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from o5daaaaaaa to Thumbnail can get split into two pieces when in columns using Chrome.Jul 2 2018, 4:36 PM
CommunityTechBot changed the task status from Open to Stalled.
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.