[wp-trac] [WordPress Trac] #48780: Image Editor screen is scaled incorrectly

WordPress Trac noreply at wordpress.org
Fri Nov 29 10:44:54 UTC 2019


#48780: Image Editor screen is scaled incorrectly
-----------------------------+---------------------------------
 Reporter:  fierevere        |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  5.3.1
Component:  Media            |     Version:  5.3
 Severity:  normal           |  Resolution:
 Keywords:  has-screenshots  |     Focuses:  ui, administration
-----------------------------+---------------------------------

Comment (by sabernhardt):

 @sathyapulse Thanks for trying another option.
 While 48780.3.patch may cover more cases, it unfortunately introduces an
 overlap in the 2-column layout that was not there in previous versions at
 some screen sizes (at 100% zoom, about 1066-1150px wide, with an image
 wider than it is tall). In mine, I had set the entire column's `min-width`
 specifically to 400 pixels because the image can be (only) as wide as
 that, so the floating column would drop down if there isn't enough space
 for all 400 pixels.

 My patch (48780.2.diff) clearly does not correct the problem as I had
 thought it would, but it still might be good enough as a partial fix in a
 minor version. In my tests it keeps the image's column at the top, as it
 had been in 5.2, in the 2-column layout when the screen/window is about
 1168-1348px+ wide (100% zoom). If you're interested in a temporary fix,
 I'd appreciate more testing to ensure my option does not make the layout
 worse than either 5.2 or 5.3.0 in any case (various languages and zoom
 levels, 1-column and 2-column layouts, expanding the auto-folded side menu
 at narrower widths, etc.). Note: the first row of five buttons is allowed
 to wrap to the next line(s), and the Undo and Redo buttons are on a
 separate line in 5.3.

 (I purposely responded here instead of #47136, intending to keep further
 discussion of a temporary patch here, separate from the ticket that would
 address a real fix.)

 And until a better layout is provided in a future (major) version, I'd
 encourage people using the editor to consider switching to the 1-column
 layout under Screen Options.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48780#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list