Opened 3 years ago

Last modified 3 years ago

#16471 confirmed Bug

Update hidpi settings when it changes

Reported by: Marek Lewandowski Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description (last modified by Marek Lewandowski)

devicePixelRatio is not a constant property, you can move browser between displays with a different pixel ratio.

This test case will require 2 screens witha different pixelratio.

  1. Open editor in a web browser with a 1.0 devicePixelRatio.
  2. Move web browser to the other, hidpi display.

Expected: Icons are updated to hdpi icons.

Actual: Icons remain blurry.

Actually if that's as simple as toggling cke_hidpi class it would be fairly simple to do that. However it will be a little harder with dev version, as it uses direct icon paths in a span.cke_button_icon.

I did not research it in deep, however there's a question on SO that might contain interesting information.

Change History (2)

comment:1 Changed 3 years ago by Marek Lewandowski

Status: newconfirmed

comment:2 Changed 3 years ago by Marek Lewandowski

Description: modified (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy