Skip to content

[BUG]: Linux/Wayland unsupported (device pixel ratio 1 instead of real in wayland) #550

@ASVIEST

Description

@ASVIEST

Describe the bug 【Bug描述】

Device pixel ratio always 1 in wayland. I.e it not passed to browser instance. It makes render pixelated. Also there are problem with widget size because width/size, height/size incorrect, so it require manualy hack (run via x11):

QT_QPA_PLATFORM=xcb ./app --no-sandbox --ozone-platform=x11

To Reproduce 【复现步骤】

Run any QCefView app with wayland

Expected behavior 【正确的预期行为】

All works without running via x11

Screenshots 【截图】

...

Environment 【BUG产生的环境】
Archlinux, gnome, wayland, qt6.10

  • OSR/NCW Mode:
  • OS & Version: [e.g. Windows/macOS/Linux]
  • Qt Version:
  • CEF Version:

Additional context 【更多额外信息】

...

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfeatureNew featuretriage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions