-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected pop of Start page and crash when Start page is closed #16616
Comments
Backtrack:
|
|
Thanks for the super thorough bug report 👍 |
Data tab?
What is that? My first thought was "press Enter twice," but it does not give this result. "press the second edit box(?)", "type "2x"?" |
Ahhh, sorry fixed. I put the key in |
I cannot reproduce. OS: Ubuntu 24.04.1 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 1.1.0dev.38740 (Git)
Build type: Debug
Branch: master
Hash: b4923d1c584a4dce794d91a4b090a5293569223a
Python 3.12.3, Qt 5.15.13, Coin 4.0.2, Vtk , OCC 7.6.3
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: unset/FreeCAD Classic/Qt default OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 1.1.0dev.38728 (Git)
Build type: Release
Branch: main
Hash: 9de78e27f4148e8032863788a9804486e769388b
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: Russian/Russia (ru_RU)
Stylesheet/Theme/QtStyle: unset/FreeCAD Classic/Qt default |
The same code with Qt5 |
@xtemp09 Can you pls test again with the following (updated) instructions:
|
@pinkavaj, still no crash.
Why on Earth activation of the Start page is unexpected? The tab receives keyboard focus, therefore activates, it happens eveywhere all the time. OS: Ubuntu 24.04.1 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 1.1.0dev.38740 (Git)
Build type: Debug
Branch: master
Hash: b4923d1c584a4dce794d91a4b090a5293569223a
Python 3.12.3, Qt 5.15.13, Coin 4.0.2, Vtk , OCC 7.6.3
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: FreeCAD Dark.qss/FreeCAD Dark/Fusion OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 1.1.0dev.38728 (Git)
Build type: Release
Branch: main
Hash: 9de78e27f4148e8032863788a9804486e769388b
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: Russian/Russia (ru_RU)
Stylesheet/Theme/QtStyle: FreeCAD Dark.qss/FreeCAD Dark/Fusion |
When Qt 6.7.3 is released, I'll try to reproduce the crash with it. |
Thx for verification, really seems Qt6 related. Hmm, the activation of Start page does not hapend to me when I build with Qt5. The tab just jumps over the navigation elements, I need to press enter or click to activate them. IMHO just pressing tab key (on keyboard) should not change the active tab on window, especially not on the one who does not have focus. Mey-be better to add screencast, gimme few minutes ... |
@xtemp09 Added screencast. I did more testing and with Qt5, the Start page after pressing tab key button pop-ups and sometime not, but it never crashes and valgrind is not complaining. The bahevior depends on the panels layout start-issue.mp4 |
@pinkavaj, your video shows normal crashless workflow. The Start page does not always show up because changing mode from Independent to Combined (or back) also changes MainWindow's tab order. |
@xtemp09 I have update the screencast to make it clear the FreeCad crashes
The similar behavior can be reproduced with latest freecad-start-crash.mp4 |
I managed to reproduce the crash, though, I have to press Tab 18 times. The crash occures only if I select Dark theme first. OS: Ubuntu 24.04.1 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 1.1.0dev.38830 (Git)
Build type: Debug
Branch: master
Hash: b38c42262f58cf0587b627e7a866d3756da34dc4
Python 3.12.3, Qt 6.7.2, Coin 4.0.2, Vtk , OCC 7.6.3
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: unset/FreeCAD Classic/fusion |
I can reproduce it for Light theme too (but not for classic). |
Yes, it is reproducible with Qt 6. Qt 5 works fine. Qt must have undergone some internal changes during the transition from 5 to 6. |
Is there an existing issue for this?
Problem description
The Freecad exhibits unexpected behaviour by switching from current document to Start page and crashes when the Start page is closed.
Reproduction: (See comments for more precise instructions!)
By the second , button on Status bar is activated (gets focus), but the focus is lost once the Start page pops-up.
Note: when the original document is selected (becomes visible) and then the tab with Start page is closed, there is no crash.
Full version info
Subproject(s) affected?
None
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: