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

Doublecmd fonts become dots Linux QT5 Sway/Wayland. #286

Closed
siyia2 opened this issue Dec 7, 2021 · 13 comments
Closed

Doublecmd fonts become dots Linux QT5 Sway/Wayland. #286

siyia2 opened this issue Dec 7, 2021 · 13 comments

Comments

@siyia2
Copy link

siyia2 commented Dec 7, 2021

Hello, sometimes when i change workspace back n forth, or the screenlocker runs, all fonts in doublecmd-qt5 become dots. Happens only with qt5 version of the program.

@siyia2 siyia2 changed the title Doublecmd fonts become dots under sway-wayland sometimes when screensaver is enabled or workspace changed back and forth. Doublecmd fonts become dots Linux QT5. Dec 7, 2021
@siyia2 siyia2 changed the title Doublecmd fonts become dots Linux QT5. Doublecmd fonts become dots Linux QT5 Sway/Wayland. Dec 7, 2021
@siyia2
Copy link
Author

siyia2 commented Dec 7, 2021

2021-12-08-013703_grim

@alexx2000
Copy link
Contributor

Hi, I guess it can be some incompatibility with XWayland, see also #193

@siyia2
Copy link
Author

siyia2 commented Dec 9, 2021

Thx, that could be it, although with current pascal + lazarus version doublecmd seems to run natively on wayland. Damn why did you chose to write it in pascal? that's an odd choice of a programming language.

@alexx2000
Copy link
Contributor

Current version use XWayland by default. How to execute on native Wayland written here.

Because Pascal is a great and pleasant language. But it undeservedly forgotten today.

@ags1234
Copy link

ags1234 commented Dec 9, 2021

Damn why did you chose to write it in pascal? that's an odd choice of a programming language.

For me it is not odd at all. It is a more than the right choice.
You have no idea how awesome can Pascal be. It has a very long list of features and advantages and combined with Lazarus, the visual development environment for Free Pascal Compiler, it is a complete and great package to work with.

Note these features:

  • a mature IDE where you can quickly create a program by drag-and-dropping components of a form
  • easily readable syntax
  • high speed of execution
  • low memory use
  • fast, mature and very optimized compiler
  • the programs it creates do not depend on any external frameworks and *.dll libraries, and can be distributed as single *.exe files, compatible with a very wide range of operating system versions
  • it can create programs for Linux, Windows, MacOS and may other platforms. Very easily, with little or no modifications to the code
  • compile software that runs on bare hardware, without operating system, or the web
  • the syntax is compatible with that of Delphi
  • I am sure there are more, but I don't remember them now.

And if I look at TIOBE ranking for December 2021, I see that Object Pascal is #16 as the most searched for programming language. So it's not all that forgotten. It's just burried in a lot of modern day crap.

@siyia2: How can this be an odd choice? How many languages do you know that can do this?

@siyia2
Copy link
Author

siyia2 commented Dec 9, 2021

Efficiency wise C is the King it seems and it is widely supported. I would argue in saying that C is the mother/father of modern programming languages, and plus the only language i know to use in some detail :)

@j2969719
Copy link
Contributor

bruh

@siyia2
Copy link
Author

siyia2 commented Dec 10, 2021

lol ok

@ags1234
Copy link

ags1234 commented Dec 11, 2021

@siyia2: It is possible that C could be a little more efficient, but if I have to guess, I would say by a small percent only.
However, this world cannot be full of kings. There also have to exist queens. Would you settle for a queen, siyia2? :))

@j2969719
Copy link
Contributor

bruh2
lets agree that electron is the future queen or something and get the discussion back on track

@siyia2
Copy link
Author

siyia2 commented Dec 12, 2021

bruh2 lets agree that electron is the future queen or something and get the discussion back on track

a Bloated queen at that

@siyia2: It is possible that C could be a little more efficient, but if I have to guess, I would say by a small percent only. However, this world cannot be full of kings. There also have to exist queens. Would you settle for a queen, siyia2? :))

I ll take the queen no prob lol

@ags1234
Copy link

ags1234 commented Dec 13, 2021

bruh2 lets agree that electron is the future queen or something and get the discussion back on track

a Bloated queen at that

@siyia2: It is possible that C could be a little more efficient, but if I have to guess, I would say by a small percent only. However, this world cannot be full of kings. There also have to exist queens. Would you settle for a queen, siyia2? :))

I ll take the queen no prob lol

:)))

@siyia2
Copy link
Author

siyia2 commented Dec 16, 2021

Hello, i figured this was a general issue with qt5 in wayland enviroment.
Setting:

QT_AUTO_SCREEN_SCALE_FACTOR=1
QT_FONT_DPI=101

in /etc/enviroment resolves the font issue

@siyia2 siyia2 closed this as completed Dec 16, 2021
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

4 participants