[bug 6935] navicube location sometimes jumps to other side

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

[bug 6935] navicube location sometimes jumps to other side

Post by uwestoehr »

I encountered a strange bug and I am not sure if this is Win-only:

- set the NaviCube location to TopLeft
- grab the right border of the main window and shrink the window it to the minimum
result: The NaviCube jumps to the right edge and stays there:

Image

Can anyone confirm this?
chrisb
Veteran
Posts: 53933
Joined: Tue Mar 17, 2015 9:14 am

Re: [bug] navicube location sometimes jumps to other side

Post by chrisb »

I cannot confirm on macOS (slightly outdated). The 3D window cannot be made as narrow as on windows though; the right side doesn't touch the cube.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: [bug] navicube location sometimes jumps to other side

Post by wmayer »

Works fine with:

Code: Select all

OS: Ubuntu 18.04.6 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.28940 (Git)
Build type: Debug
Branch: master
Hash: bd853e5ef292a9b0c0f9fc4ee320e4120782b110
Python 3.6.9, Qt 5.9.5, Coin 4.0.0a, OCC 7.3.0
Locale: German/Germany (de_DE)
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: [bug] navicube location sometimes jumps to other side

Post by wmayer »

Maybe something goes wrong in NaviCubeImplementation::handleResize() for you.
User avatar
Jolbas
Posts: 327
Joined: Sat Mar 26, 2022 7:48 am
Location: Sweden

Re: [bug] navicube location sometimes jumps to other side

Post by Jolbas »

I can confirm on MacOS. The same but mirrored happens when you first place it in the top right corner.
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: [bug] navicube location sometimes jumps to other side

Post by uwestoehr »

Jolbas wrote: Sat May 28, 2022 2:58 pm I can confirm on MacOS. The same but mirrored happens when you first place it in the top right corner.
This happens too for me.

Since you see this too, I reported it now as bug: https://github.com/FreeCAD/FreeCAD/issues/6935
Post Reply