ubports / morph-browser

Moved to https://gitlab.com/ubports/core/morph-browser
https://gitlab.com/ubports/core/morph-browser
GNU General Public License v3.0
45 stars 35 forks source link

Text cursor handle is too big in external display #88

Open kugiigi opened 5 years ago

kugiigi commented 5 years ago

Steps to reproduce

  1. Connect phone to an external display
  2. Open the morph browser
  3. Select/highlight the texts in the address bar.

Expected behavior

The text cursor handle's size should be scaled relative to the current UI scaling

Actual behavior

The text cursor handle is too big compared to the rest of the UI

kugiigi commented 5 years ago

sorry, this only affects the new browser. I've edited the details :smile:

balcy commented 5 years ago

sounds to me like a problem of Ubuntu Toolkit (the addressbar is just a TextField) Probably the other apps are not affected because Screen.DevicePixelRatio is always 1 (no scaling)