Closed Bug 1722327 Opened 3 years ago Closed 2 years ago

HiDpi Linux: dragging selected text makes it LARGE

Categories

(Core :: Widget: Gtk, defect)

Firefox 90
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: peter.volkov, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0

Steps to reproduce:

I have HiDpi display. xrandr:
eDP1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 310mm x 170mm

I'm using the following environment setting (but I'm not sure this influences firefox):
GDK_DPI_SCALE=0.5
GDK_SCALE=2

So I have two HiDPI related problems:

  1. scrollbars are very thin
  2. whenever I select and drag text, the selected text becomes huge.

Actual results:

Whenever I drag text dragged text size becomes huge.

Scrollbars are too thin.

Expected results:

I expect the size of the text to stay the same. And scrollbars should have a proportionally normal size.

Version: Firefox 89 → Firefox 90

This is a photo of dragged text.

Hi pva,
Thanks for the report!
Can you attach your about:support information please?

Could you please also answer the following questions in order to further investigate this issue?

1- Does this issue happen with a new profile? Here is a link on how to create a new profile: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
2- Are you using add-ons? If so could you please list them? (you can try the issue while in Safe Mode. You can find helpful info here : https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode .)
3- Does this issue occur in the latest nightly version of firefox? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/

I've assigned a component in order to get the dev team involved, but if it's not relevant, please feel free to change it to an appropriate one.
Best regards, Clara.

Flags: needinfo?(peter.volkov)
Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Yes, I've reproduced the issue with a clean profile and in safe mode.
Also, I've tried with the nightly version of firefox, 91.0b8, with a clean profile: issue it there still.

Flags: needinfo?(peter.volkov)

Those env vars definitely influence Firefox.

Re. scrollbars: can you attach a screenshot of a hovered scrollbar in gtk3-widget-factory for example? Firefox's scrollbar should be the same size. You can change widget.non-native-theme.scrollbar.size in about:config as a workaround.

Re the dragged text, I can't repro on wayland, so it's probably X11-specific.

Flags: needinfo?(peter.volkov)

And now, on firefox 107.0.1 I'm unable to reproduce this issue.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(peter.volkov)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: