Recent

Author Topic: Dual screen: force Lazarus to open in the main screen [SOLVED]  (Read 1153 times)

Dzandaa

  • Sr. Member
  • ****
  • Posts: 423
  • From C# to Lazarus
Hi,

Recently, my main screen crashed and I had to use a new one and swap the two screens, the new one having a lower resolution.

Now my main screen is identified as 2 and Lazarus still opens on the left screen.

My other programs don't have this problem.

Is there a solution to this problem?

Thank you

B->
« Last Edit: March 09, 2024, 01:08:30 pm by Dzandaa »
Regards,
Dzandaa

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11029
  • Debugger - SynEdit - and more
    • wiki
Re: Dual screen: force Lazarus to open in the main screen
« Reply #1 on: March 09, 2024, 12:12:09 pm »
Move it once to the other screen, and close it? Then it should remember.

The IDE stores (for each of its windows) the global coordinates.

If you use desktops, you need to save them.

Dzandaa

  • Sr. Member
  • ****
  • Posts: 423
  • From C# to Lazarus
Re: Dual screen: force Lazarus to open in the main screen
« Reply #2 on: March 09, 2024, 12:51:04 pm »
Hi
@Martin_fr

I already tried that.

The problem is (I think) that the main Display is identify as 2, not 1 and I don't know how to force it to be the first Display.

B->
Regards,
Dzandaa

rvk

  • Hero Member
  • *****
  • Posts: 6703
Re: Dual screen: force Lazarus to open in the main screen
« Reply #3 on: March 09, 2024, 01:04:22 pm »
I already tried that.
Are you using the docking package in Lazarus?
I remember there where some issues with docking and starting at the wrong screen in the past.

Dzandaa

  • Sr. Member
  • ****
  • Posts: 423
  • From C# to Lazarus
Re: Dual screen: force Lazarus to open in the main screen
« Reply #4 on: March 09, 2024, 01:07:59 pm »
Hi,

I found the problem, effectively I used Desktops and Docking in Lazarus, saving it again solve the problem :)

Thank you!!!

B->

Regards,
Dzandaa

 

TinyPortal © 2005-2018