* * *

Author Topic: Lazarus IDE with a high-resolution screen (3840x2160)  (Read 1113 times)

Benoni_Edin

  • New member
  • *
  • Posts: 5
Lazarus IDE with a high-resolution screen (3840x2160)
« on: June 28, 2017, 02:19:37 pm »
I'm using Lazarus version #: 1.6.4 (FPC 3.02) and run on a Windows 7 machine with two 2 Samsung screens attached both 3840x2160 pixels.

Editing Forms and compiling programs works but the Lazarus IDE interface doesn't take the high resolution into account.
As an example, attached is the "Watch Properties" dialog that becomes essentially useless.

I have never experienced any problems running Lazarus with screens with less resolution. Extensive searching through online documentation and exploring settings in Lazarus hasn't been helpful.

Any suggestions?

/Ben

rvk

  • Hero Member
  • *****
  • Posts: 2974
Re: Lazarus IDE with a high-resolution screen (3840x2160)
« Reply #1 on: June 28, 2017, 02:30:44 pm »
That's not due to the resolution but to your DPI settings.

Right click the desktop, choose Display settings and set the "Change the size of text, apps and other items" to 100% and all will be fine (except your eyes  :P).

Thaddy

  • Hero Member
  • *****
  • Posts: 4805
Re: Lazarus IDE with a high-resolution screen (3840x2160)
« Reply #2 on: June 28, 2017, 02:36:46 pm »
As I understand Laz 1.8 performs better with high dpi monitors. You may want to try that. Trunk 1.9 is surely much better
"Logically, no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive."

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3263
  • I like bugs.
Re: Lazarus IDE with a high-resolution screen (3840x2160)
« Reply #3 on: June 28, 2017, 02:54:06 pm »
As an example, attached is the "Watch Properties" dialog that becomes essentially useless.
I fixed the anchoring of "Enabled" CheckBox in WatchPropertyDlg in revision 55411.
Please test in trunk.
It will not make it to Lazarus 1.8RC3 but it will be in Lazarus 1.8 final.
Please report any similar issues with HiDPI in the bug tracker or in here.

Benoni_Edin

  • New member
  • *
  • Posts: 5
Re: Lazarus IDE with a high-resolution screen (3840x2160)
« Reply #4 on: June 28, 2017, 05:31:03 pm »
Thank you for the impressively quick response!

Perhaps I was unclear: The problem is not limited to the WatchPropertyDialog but to several dialogs, including, e.g.,
o Path Editor (controls scaled as if a a much smaller font was used)
o Options for Project (I see the top of the title For Darwin)

Yours,
/Ben

wp

  • Hero Member
  • *****
  • Posts: 3956
Re: Lazarus IDE with a high-resolution screen (3840x2160)
« Reply #5 on: June 28, 2017, 06:27:45 pm »
Scaling did not work before Laz 1.8. Try the RC2, or wait a few days until the RC3 is published.
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus