[FIXED] Ticket #3991 - freecad app window not placed properly on screen

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
bzb.dev001
Posts: 102
Joined: Sun May 05, 2019 3:08 am

[FIXED] Ticket #3991 - freecad app window not placed properly on screen

Post by bzb.dev001 »

Using freecad 0.19 on Ubuntu 18.04. When start freecad from the AppImage file, the application window is not positioned properly with the window's title bar totally outside of the screen.

OS: Ubuntu 18.04.2 LTS (LXDE/Lubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16718 (Git) AppImage
Build type: Release
Branch: master
Hash: cfd04ac6afa091f5c4f18e94756bd58fb6d66806
Python version: 3.7.1
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Canada (en_CA)

Issue in question
issue in question
issue in question
issue.JPG (60.66 KiB) Viewed 1461 times
Expected window position
expected window placement
expected window placement
expected.JPG (46.8 KiB) Viewed 1461 times
Created bug report 0003991 for this issue
Last edited by Kunda1 on Mon Jun 17, 2019 7:24 am, edited 3 times in total.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: freecad app window not placed properly on screen

Post by Kunda1 »

Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: freecad app window not placed properly on screen

Post by Kunda1 »

Can't recreate this on:

Code: Select all

OS: Manjaro Linux (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16854 (Git) AppImage
Build type: Release
Branch: master
Hash: fe0fd5512ba9a8a9c729cdc47af35bbe965050ac
Python version: 3.7.1
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Please update to the latest 0.19_pre revision and retest
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
bzb.dev001
Posts: 102
Joined: Sun May 05, 2019 3:08 am

Re: freecad app window not placed properly on screen

Post by bzb.dev001 »

wmayer
Founder
Posts: 20309
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: freecad app window not placed properly on screen

Post by wmayer »

Using freecad 0.19 on Ubuntu 18.04. When start freecad from the AppImage file, the application window is not positioned properly with the window's title bar totally outside of the screen.
Had you running a FreeCAD instance in the past which was not at the correct position when closing it? Position and size of the main window, its toolbars and dock windows are saved in the file $HOME/.config/FreeCAD/FreeCAD.conf

What happens when you delete the file and start again the AppImage? Only if it's not in the correction position I would consider this as a bug, but otherwise not.
bzb.dev001
Posts: 102
Joined: Sun May 05, 2019 3:08 am

Re: freecad app window not placed properly on screen

Post by bzb.dev001 »

I've deleted remnants of previous installation of FreeCAD before starting the latest version.


Here is what I've noticed:

TestCase#1:
-Removed following directories...
~/.FreeCAD
~/.config/FreeCAD
-Fresh start of FreeCAD.
-FreeCAD window fills up the whole screen. The title bar of window is outside of screen.
-Reduce window size and place at center of screen.
-Close FreeCAD.
-Start FreeCAD.
-FreeCAD window appears in center of screen with previous reduced window size
-This is expected

TestCase#2:
-Following from previous test case.
-Move FreeCAD window to upper left corner of screen.
-Close FreeCAD.
-Start FreeCAD.
-FreeCAD window is located at upper left corner of screen with previous window size but the window title bar is outside of screen
-This is unexpected.

TestCase#3:
-Initial condition: Repeat TestCase#1
-Move window so left side of window is touching left most of screen. Making sure it does not touch the top most of screen.
-Close FreeCAD.
-Start FreeCAD.
-FreeCAD window is now placed properly on desktop as last time it was closed.
-Note: If the distance of top edge of window is a distance shorter than height of title bar, then the next time it starts, the window title bar would be partially outside of screen.
-This is a bug here.

TestCase#4:
-Initial condition: Repeat TestCase#1
-Move window so top of window is touch top of screen. Left of window is not touching left of screen.
-Close FreeCAD.
-Start FreeCAD.
-the window title bar is outside of screen. Left edge of window is in proper place.
-This is unexpected.

The FreeCAD used...

Code: Select all

OS: Ubuntu 18.04.2 LTS (LXDE/Lubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16854 (Git) AppImage
Build type: Release
Branch: master
Hash: fe0fd5512ba9a8a9c729cdc47af35bbe965050ac
Python version: 3.7.1
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Canada (en_CA)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: freecad app window not placed properly on screen

Post by Kunda1 »

bzb.dev001 wrote: Thu May 30, 2019 11:09 pm
Do you mind retesting on latest v0.19 ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: [FIXED] Ticket #3991 - freecad app window not placed properly on screen

Post by Kunda1 »

Op retested issue #3991 and couldn't reproduce on latest v0.19
Closing ticket.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply