linuxserver / docker-freecad

Web accessible FreeCAD inside a Debian Container
GNU General Public License v3.0
14 stars 4 forks source link

[BUG] Constraint/Formula Windows opens in full screen #3

Closed rickyphewitt closed 1 month ago

rickyphewitt commented 1 month ago

Is there an existing issue for this?

Current Behavior

When clicking add constraint or formula button to input a value referenced from a spreadsheet the window opens full screen obscuring anything behind it.

FullScreenConstraintWindow

Expected Behavior

In my local freecad instance the formula window opens in a more compact way still allowing view of the main workspace.

CorrectSizeConstraintWindow

Steps To Reproduce

  1. Using FreeCAD 0.20.0 release
  2. File -> New
  3. Set the workspace to Part Design
  4. Use the Tasks tab then click Create Body
  5. Then from the Tasks tab click Create Sketch, Choose your Plane
  6. From the Sketcher Workspace draw a line
  7. Click on the Line and Apply a Constraint
  8. Constraint Window is Full Screen (should not be full screen)
  9. Click on the Formula Icon in the upper right
  10. Formula Window is Full screen (should not be full screen)

You can manually minimize it and the window is the correct size. Same as a my local install of FreeCad.

Environment

- OS:
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal

- How docker service was installed:
Ubuntu Package Manager

CPU architecture

x86-64

Docker creation

version: '3.1'
services:
  freecad:
    image: lscr.io/linuxserver/freecad:latest
    container_name: freecad
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - PUID=33
      - PGID=1000
      - TZ=Etc/UTC
    ports:
      - 3004:3000
      - 3005:3001
    restart: unless-stopped

excluded volume mounts as those are specific to my impl

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    33
User GID:    1000
───────────────────────────────────────
[custom-init] No custom files found, skipping...
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.2.0 - built Jun 15 2024 18:56:53
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

Obt-Message: Xinerama extension is not present on the server
[ls.io-init] done.
Traceback (most recent call last):
  File "<string>", line 8, in <module>
FileNotFoundError: [Errno 2] No such file or directory: '/lsiopy/bin/activate_this.py'
Failed to create /var/www/.cache for shader cache (Permission denied)---disabling.
FreeCAD 0.20.2, Libs: 0.20.2R
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##
github-actions[bot] commented 1 month ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

aptalca commented 1 month ago

NO_FULL https://github.com/linuxserver/docker-freecad?tab=readme-ov-file#optional-environment-variables

rickyphewitt commented 1 month ago

Aaand that worked. Thank you!!