Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double Commander in Wayland, KDE Plasma 5 and 4K shows blurry text #193

Closed
elman22 opened this issue Oct 4, 2021 · 17 comments
Closed

Double Commander in Wayland, KDE Plasma 5 and 4K shows blurry text #193

elman22 opened this issue Oct 4, 2021 · 17 comments
Milestone

Comments

@elman22
Copy link

elman22 commented Oct 4, 2021

When I run Double Commander in Wayland session in KDE Plasma 5 and use 4K display with scaling set to 200 %, all fonts are blurry (as with other application which do not support Wayland). Could you please add support for Wayland?

Double Commander 0.9.10 beta
Revision: 9640
Build: 2021/06/01
Lazarus: 2.0.12.0
Free Pascal: 3.2.2
Platform: x86_64-Linux-qt5
System: Manjaro Linux
Desktop Environment: KDE
Widgetset library: Qt 5.15.2, libQt5Pas 5.6.1

@alexx2000
Copy link
Contributor

So it is XWayland bug. DC can work under Wayland if built it using Lazarus 2.2 and execute via:
doublecmd -platform wayland

@elman22
Copy link
Author

elman22 commented Oct 26, 2021

Cool. Thanks for letting me know. I will try is as soon as Arch will use Lazarus 2.2 for build.

@altosch
Copy link

altosch commented Nov 3, 2021

Hi, I have pretty much the same problem.

Double Commander 1.0.1 beta, revision 35
-> from official download site https://sourceforge.net/p/doublecmd/wiki/Download/
-> package doublecmd-1.0.1.qt.x86_64.tar.xz

I'm using KDE Neon 5.23, Qt 5.15.3, Wayland, Full HD 1920x1080, scale 150%.

It's blurry. On About screen I can see: Lazarus 2.0.12.0.

If I try to run it with -platform wayland it won't start and there is an error: "[FORMS.PP] ExceptionOccurred".
I take the Lazarus 2.2 is needed.

If I get it right Lazarus 2.2.0 is not yet released but it will be soon.
Can we hope that when it is released the official versions will be build with it?

@alexx2000
Copy link
Contributor

Hi, yes.

@dandv
Copy link

dandv commented Nov 29, 2021

@alexx2000: What is the recommended version to run on KDE, the Qt or GTK version?

BTW, I know this is a question, and it would be best suited for the Discussions section of the repo. Would you consider enabling Discussions for this repo?

@elman22
Copy link
Author

elman22 commented Nov 29, 2021

@dandv KDE Plasma is Qt based desktop environment, so run Qt version. I also tried GTK version and if you have correctly configured GTK theme it looks all right.

@alexx2000
Copy link
Contributor

@dandv, Qt5 of course. I thought about Discussions section, but we have already forum.

@Vascom
Copy link

Vascom commented Apr 12, 2022

The same problem with doublecmd 1.0.5.
Adding -platform wayland cause crash:

$ doublecmd-qt -platform wayland
SystemLocale ru_RU
SystemLanguage ru
SystemEncoding UTF-8
DefaultSystemCodePage 65001
DefaultFileSystemCodePage 65001
DefaultRTLFileSystemCodePage 65001
[FORMS.PP] ExceptionOccurred 
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $000000000059F723
  $00000000005EA2B9
  $000000000073E6BD
  $000000000073E09D
  $000000000073A1D3
  $00000000006F3DB1
  $00000000006F3CCB
  $00000000004B228A
[FORMS.PP] ExceptionOccurred 
Warning: Skip libKF5IconThemes exit handler

@alexx2000
Copy link
Contributor

My builds still use Lazarus 2.0.12.

@Vascom
Copy link

Vascom commented Apr 12, 2022

On my Fedora 35 lazarus 2.0.12 too.

@elman22
Copy link
Author

elman22 commented Apr 12, 2022

My Arch has Lazarus 2.2.0.4 and DC starts just fine.

@Vascom
Copy link

Vascom commented Apr 12, 2022

Doublecmd has minimal requred version of lazarus?

@elman22
Copy link
Author

elman22 commented Apr 12, 2022

If you want to use Wayland platform, yes. You need at least Lazarus 2.2.

@Vascom
Copy link

Vascom commented Apr 15, 2022

Thanks, it works.

@regs01
Copy link

regs01 commented Sep 6, 2022

doublecmd -platform wayland

Is this QT-only? Any way to do the same with GTK?

@alexx2000
Copy link
Contributor

Qt only, GTK2 does not support Wayland.

@alexx2000
Copy link
Contributor

alexx2000 commented Sep 10, 2022

DC 1.0.7 is built using Lazarus 2.2.2. Also it executes natively under Wayland by default.

@alexx2000 alexx2000 added this to the v1.0.7 milestone Sep 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants