LibreCAD / LibreCAD

LibreCAD is a cross-platform 2D CAD program written in C++17. It can read DXF/DWG files and can write DXF/PDF/SVG files. It supports point/line/circle/ellipse/parabola/spline primitives. The user interface is highly customizable, and has dozens of translations.
http://librecad.org/
Other
4.48k stars 1.01k forks source link

LibreCAD window unavailable, after multi monitor setup switched back to single monitor #1166

Open lordofbikes opened 4 years ago

lordofbikes commented 4 years ago

Expected behavior

On a notebook with external monitor LibreCAD window is moved to the 2nd screen. When the notebook is started without external screen, the LibreCAD window should appear on the main screen again.

Observed behavior

LibreCAD window is unavailable. The icon is in the taskbar, but the window is out of the screen.

Steps to reproduce or sample file

Operating System and LibreCAD version info

Windows 10 LibreCAD 2.2.0-rc1

Reported in forum: https://forum.librecad.org/Main-window-not-visible-tp5718099.html

lordofbikes commented 4 years ago

The reported work around for Windows is to minimize all windows (shortcut WIN-m) and restore LibreCAD by clicking the task bar icon.

Another Windows work around is to edit LibreCAD settings in registry (while LibreCAD is closed): HKEY_CURRENT_USER\Software\LibreCAD\LibreCAD\Geometry Check WindowHeight, WindowWidth, WindowX and WindowsY and set appropriate values.

On Linux and MacOS the settings are stored in LibreCAD.conf somewhere in the user home folder.

Sargas0X0101 commented 3 years ago

Hello all i have the same problem. I work with a Laptop in a docking station with 2 external monitors. If i open LibreCAD i have the Icon in the Taskbar but no window. The workaround with win+M and taskbar icon does not work.

i have a Win 10 64 bit system

my regedit values are : image

what are the correct values for window x and y ?

Thanks

lordofbikes commented 3 years ago

There are no correct values for WindowX and WindowY, they simply contain the last window position. Your values represent negative numbers, means your LibreCAD window was left side of the main display. So setting both to 0 should bring back LibreCAD to the main monitor again, no matter where the unplugged display was located.

kn0xit commented 1 year ago

I have the same problem running LibreCAD 2.2.0 on Windows 11.

The workaround with win+M and taskbar icon does not work. Same here.

I had to uninstall, delete LibreCAD folder in Windows registry, and reinstall to get it working again.

fa201 commented 1 year ago

This is only applicable to Windows OS ?

kn0xit commented 1 year ago

In my case, yes, as the resolution of the issue is also tied to the Windows Registry entries.

bajraan commented 1 year ago

There is a simple way how to bring the window back.

  1. Click on the libreCAD on the taskbar
  2. Alt + Space (Small window appear in the upper left corner)
  3. Click on Move or press M
  4. Using arrows you can easily bring back the LibreCAD window.

image

dxli commented 1 year ago

Commit a6f3423

Tavo965 commented 1 year ago

This is what worked for me: 1- Close LibreCAD 2- Go into the screen configuration of windows 3- Change de order, if screen 2 is on the right, move it to the left 4- Launch LibreCAD, the main screen should be there