Panels behave differently when not docked
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
Panels behave differently when not docked
If I have the Properties panel and the Selection panel undocked, outside the main window. I get the following behaviour:
When FC looses focus and another application both panels fall behind the new app's window (this is as it should be)
When FC regains focus, the Selection panel pops in front, but the Properties panel does not.
This is inconsistent.
I think the correct behaviour should be both pop in front when FC gets focus.
This is with the configuration below (i.e. Debian, but works fine on Ubuntu though).
After turning off OpenGL in Preferences make no panel to front on get focus. Then setting it back, it remains that no panels receive focus when FC does. (At least now it is consistent )
Is it possible some other setting, FC or system, is effecting this?
OS: Debian GNU/Linux 10 (buster) (XFCE/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.26507 (Git)
Build type: Release
Branch: master
Hash: 9d70589d6c2f08f3339c40e9b990fde5863b45b7
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.6.0
Locale: English/UnitedStates (en_US)
When FC looses focus and another application both panels fall behind the new app's window (this is as it should be)
When FC regains focus, the Selection panel pops in front, but the Properties panel does not.
This is inconsistent.
I think the correct behaviour should be both pop in front when FC gets focus.
This is with the configuration below (i.e. Debian, but works fine on Ubuntu though).
After turning off OpenGL in Preferences make no panel to front on get focus. Then setting it back, it remains that no panels receive focus when FC does. (At least now it is consistent )
Is it possible some other setting, FC or system, is effecting this?
OS: Debian GNU/Linux 10 (buster) (XFCE/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.26507 (Git)
Build type: Release
Branch: master
Hash: 9d70589d6c2f08f3339c40e9b990fde5863b45b7
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.6.0
Locale: English/UnitedStates (en_US)
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Panels behave differently when not docked
I suspect DE specific, or possibly multi-monitor. I can't reproduce on a single monitor system (Manjaro OS).
I think so. Just need to do git pull specifying the particular branch right?Anyway, would you be able to compile a tentative fix ?
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Panels behave differently when not docked
OK, I created draft PR5216, so to try it :
Code: Select all
git fetch origin pull/5216/head:PR5216 #if origin is your own fork, use 'upstream' instead of 'origin'
git checkout PR5216
When you're done with testing, you can delete the local branch with
Code: Select all
git branch -D PR5216
Re: Panels behave differently when not docked
Hmm...for my edification (and maybe peace of mind). I keep, I think, the origin source in a local directory. Daily I do "git pull", then in a local build directory do the cmake and make.openBrain wrote: ↑Wed Dec 01, 2021 1:27 pmOK, I created draft PR5216, so to try it :Then run your normal build process.Code: Select all
git fetch origin pull/5216/head:PR5216 #if origin is your own fork, use 'upstream' instead of 'origin' git checkout PR5216
When you're done with testing, you can delete the local branch withCode: Select all
git branch -D PR5216
Normally for all other trial builds I create a new local directory for the source and build. Typically with a "git clone <git> <local dir>"
Basically I want to understand how I get back to what I have before the fetch (assuming following your instructions).
Sorry, I have the O'Reilly git manual and this stuff still eludes me. Ok the day I'm reading and doing it, but, 6 weeks later...deer in the headlights.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Panels behave differently when not docked
No problem. Can you give me yourdrmacro wrote: ↑Wed Dec 01, 2021 1:42 pm Hmm...for my edification (and maybe peace of mind). I keep, I think, the origin source in a local directory. Daily I do "git pull", then in a local build directory do the cmake and make.
Normally for all other trial builds I create a new local directory for the source and build. Typically with a "git clone <git> <local dir>"
Basically I want to understand how I get back to what I have before the fetch (assuming following your instructions).
Code: Select all
git remote -v
Code: Select all
git branch
Re: Panels behave differently when not docked
Code: Select all
$git remote -v
origin https://github.com/FreeCAD/FreeCAD.git (fetch)
origin https://github.com/FreeCAD/FreeCAD.git (push)
$ git branch
* master
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Panels behave differently when not docked
OK, so your origin is on FreeCAD master repo.drmacro wrote: ↑Wed Dec 01, 2021 1:51 pmCode: Select all
$git remote -v origin https://github.com/FreeCAD/FreeCAD.git (fetch) origin https://github.com/FreeCAD/FreeCAD.git (push) $ git branch * master
So basically what will happen :
Code: Select all
git fetch origin pull/5216/head:PR5216
Then$ git branch
* master
* PR5216
Code: Select all
git checkout PR5216
Just compile and run
When it's done, switch back to master branch with
Code: Select all
git checkout master
Code: Select all
git branch -D PR5216
Re: Panels behave differently when not docked
Unfortunately it made no difference. Selection view, Report view, Python console all pop forward but not Properties.
OS: Debian GNU/Linux 10 (buster) (XFCE/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.26519 +1 (Git)
Build type: Release
Branch: PR5216
Hash: fb94b177cbb6bb37113404d0daa1516ee29b11aa
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
OS: Debian GNU/Linux 10 (buster) (XFCE/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.26519 +1 (Git)
Build type: Release
Branch: PR5216
Hash: fb94b177cbb6bb37113404d0daa1516ee29b11aa
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."