Registered Member
|
Hi there!
after two weeks out of home, and before updating my accounts, I have downloaded (git) and compiled the current Skrooge. Everything looked fine but when I try to run it (using X Windows Server -xming and VcXsvr-) I get all these messages and Skrooge's window doesn't open:
Any idea? Thanks! Jesus M Diaz |
Moderator
|
No real idea, but just for a test, could you remove the 3 following lines in skrooge/main.cpp and build again?
#if QT_VERSION >= 0x050600 QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); #endif |
Registered Member
|
Before the test you seggested, I downloaded and compiled the official release 2.11.0, and it failed in the same way. Then I downloaded and compiled 2.10.5 and it works fine.
Then I removed those three lines and it works. Anyway I don't know way I have lost my configuration (backups, date format, etc.) (Forget this part, I launched Skrooge from a different user) and no icons are shown (maybe because of the modification you made to workaround "poor icon themes"?) (and second time I launched, I have icons now, but huge ones, not as before) Best regards Jesus M Diaz |
Moderator
|
Good.
Could you tell me what is your icon theme and publish a screen capture?
|
Moderator
|
Hi,
Qt::AA_EnableHighDpiScaling is normally done to have a better display on hdpi screen. Do you have an idea why this doesn't work in you case? I don't know what is "X Windows Server -xming and VcXsvr" |
Registered Member
|
Xming and VcXsrv are two X11 servers tuning on Windows. I am using Skrooge running on a Slackware 14.2 server, but using a Windows 10 laptop as terminal.
Maybe the windows laptop doesn't support hdpi screen or the X11 servers (both xming and VcXsrv) don't. It would be nice if Skrooge could check that capability before enabling Qt::AA_EnableHighDpiScaling Thanks |
Moderator
|
Hi,
Qt::AA_EnableHighDpiScaling must normally have an impact only on HDpi device. On normal devices, that mine, this normally have no impact. In you case, this should do nothing! Do you know if I can reproduce your issue? I don't have windows computer. I must reproduce it on linux only. Is it possible? |
Registered Member
|
I will try to connect a screen and keyboard to my Linux server and I'll try to reproduce it. I will let you know if I get it also in the Linux box.
Thanks for your work, always. JM |
Moderator
|
Hi JesusM,
Did you want a way to reproduce this issue only with linux? Thank you. |
Registered Member
|
Sorry, when I connected the screen it didn't work (I didn't use it for years, so I am not surprised) so I couldn't reproduce it.
|
Moderator
|
Thank you for the answer, I will put Qt::AA_EnableHighDpiScaling as on option. Like this, this will avoid you to build the application.
|
Moderator
|
Hi,
I committed a correction: now HIGH DPI is disabled by default and can be enable by exporting SKGHIGHDPI. |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]