New overlay mode (Now ready for testing)

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

Re: New overlay mode (Now ready for testing)

Post by realthunder »

OficineRobotica wrote: Tue Oct 13, 2020 10:30 pm There is something about the interface in general the 3d view in particularl. It is sooooo buttery smooth. It really feels different. The only strange thing that I noticed is that I get a big hit in performance when screen recording. That didn't happen with your previous release. The video below is recorded directly in OpenGL to get a decent frame rate. But man, FreeCad feels so good when not recording. Night and day difference.
Yes, I did something to improve the mouse over highlight rendering, so that it won't trash render cache. Not sure why it will have any effect on recording.

Have you seen this? Your boolean tools put to some good use. https://forum.freecadweb.org/viewtopic.php?f=24&t=51054
Nice! I'll post some summary about the new features in that thread.
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
User avatar
OficineRobotica
Posts: 433
Joined: Thu Feb 21, 2019 8:17 am
Contact:

Re: New overlay mode (Now ready for testing)

Post by OficineRobotica »

realthunder wrote: Wed Oct 14, 2020 12:05 am Yes, I did something to improve the mouse over highlight rendering, so that it won't trash render cache.
Out of curiosity I did fire up both of your 2 latest releases side by side and indeed I get on both roughly the same fps but believe me that it feels different on my laptop at least. Trying to put my finger on what it is I noticed that rotating the 3d view especially seems allot smoother. With the previous release rotating randomly skips a frame or two and perhaps that contributes to the perception. Perhaps it has something to do with the fact that you merged the pr about the view rotation and unwanted selection when using the touchpad navigation.

About the screen recording. Restarting the laptop solved the problem. Stupid, I know, I was overly excited about the smoothness of the 3d view that I wanted to share and didn't realized that the system load was perhaps high for some mysterious reason.

Anyway. I just wanted to let you know.
Cheers
Check out my Youtube channel at: https://www.youtube.com/@OficineRobotica
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: New overlay mode (Now ready for testing)

Post by Kunda1 »

OficineRobotica wrote: Wed Oct 14, 2020 4:51 am About the screen recording. Restarting the laptop solved the problem. Stupid, I know, I was overly excited about the smoothness of the 3d view that I wanted to share and didn't realized that the system load was perhaps high for some mysterious reason.
It could be a memory leak in the recording sw ?
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
OficineRobotica
Posts: 433
Joined: Thu Feb 21, 2019 8:17 am
Contact:

Re: New overlay mode (Now ready for testing)

Post by OficineRobotica »

Kunda1 wrote: Wed Oct 14, 2020 12:50 pm It could be a memory leak in the recording sw ?
Having more experience programing than us simple users really helps catching glitches. Thank you. While cross opening some files between LinkStage3 and
master I noticed That the latest release of linkstage3 uses allot of memory.
realthunder wrote: Wed Oct 14, 2020 12:05 am
In the screencast below you can see that Linkstage3 is having jumps of 50mb at a time on each recompute. I did tried to disable autorecompute but the jump in memory consumption is still there. Linkstage3 reports roughly 300mb usage when opening this file but I managed to get over one gig only by moving the center piece. The memory usage for FCmaster, that you see in the system monitor below FreeCADLink, is with the same file opened plus other 5 files with links that should total around 25 files in memory. Also notice the really low cpu usage while I try to move that component. Is that a technical limitation of the solver? I feel that if at least one core was used to it's full potential, the movement could be almost real time.

Do you still have access to the file? It is called HydroBrake. Can I do something else to help debug the memory leak?
Cheers.

phpBB [video]
Check out my Youtube channel at: https://www.youtube.com/@OficineRobotica
User avatar
OficineRobotica
Posts: 433
Joined: Thu Feb 21, 2019 8:17 am
Contact:

Re: New overlay mode (Now ready for testing)

Post by OficineRobotica »

The last 2 videos that I posted on Youtube have sparked allot of interest. It is only that people are asking about the mac and windows binaries. @realthunder can you tell me please what should I respond in the comments?
Check out my Youtube channel at: https://www.youtube.com/@OficineRobotica
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

Re: New overlay mode (Now ready for testing)

Post by realthunder »

OficineRobotica wrote: Thu Oct 15, 2020 8:54 am In the screencast below you can see that Linkstage3 is having jumps of 50mb at a time on each recompute. I did tried to disable autorecompute but the jump in memory consumption is still there. Linkstage3 reports roughly 300mb usage when opening this file but I managed to get over one gig only by moving the center piece. The memory usage for FCmaster, that you see in the system monitor below FreeCADLink, is with the same file opened plus other 5 files with links that should total around 25 files in memory. Also notice the really low cpu usage while I try to move that component. Is that a technical limitation of the solver? I feel that if at least one core was used to it's full potential, the movement could be almost real time.

Do you still have access to the file? It is called HydroBrake. Can I do something else to help debug the memory leak?
Cheers.
I am actually chasing the memory problem for several days now. It got my attention when a user reported huge memory consumption when doing draft link array with a step import. I am pretty sure it is not a memory leak, but memory inefficiency in topo naming. I am working on a fix right now, but it is not simple and may take a while. The topo naming also takes a lot of space when saving to file. And I'll tackle that later as well.

OficineRobotica wrote: Thu Oct 15, 2020 9:54 am The last 2 videos that I posted on Youtube have sparked allot of interest. It is only that people are asking about the mac and windows binaries. @realthunder can you tell me please what should I respond in the comments?
I try to make a build for those platforms today.
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
User avatar
OficineRobotica
Posts: 433
Joined: Thu Feb 21, 2019 8:17 am
Contact:

Re: New overlay mode (Now ready for testing)

Post by OficineRobotica »

realthunder wrote: Thu Oct 15, 2020 10:03 am
I really hope I'm posting in the right thread as I think this bug is related to the GUI.

I'm getting a consistent crash with the file linked bellow and using your latest daily release. Steps to reproduce.
1- open file and select the "assembly"
2- V, F (view full for the assembly)
3- rotate the view

Sometimes will crash right after I select the assembly, others will take all the above steps. I couldn't replicate the behaviour with other files but I didn't really tried allot for lack of time.

EDIT: I get the crash when selecting a assembly3 container in other files too.

Backtrace:

Code: Select all

./FreeCAD-asm3-Daily-Conda-Py3-Qt5-20210301-glibc2.12-x86_64.AppImage 
/tmp/.mount_FreeCAbVPprR
FreeCAD 0.19, Libs: 2021.0301R23964 +3306 (Git)
Constructor Workbench Loaded
Sheet Metal workbench loaded
Loading Assembly4 WorkBench
----------------
GuiCommand: Toggle grid
----------------
GuiCommand: Toggle grid
Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7ffad186d210]
#1  0x7ffad142b5dd in SoSeparator::GLRenderInPath(SoGLRenderAction*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x4bd
#2  0x7ffad3d093af in Gui::SoFCSelectionRoot::_renderPrivate(SoGLRenderAction*, bool, bool&) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0x8bf
#3  0x7ffad3d0990d in Gui::SoFCSelectionRoot::renderPrivate(SoGLRenderAction*, bool) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0xcd
#4  0x7ffad1201149 in SoAction::traverse(SoNode*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x69
#5  0x7ffad13c2952 in SoChildList::traverse(SoAction*, int, int) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x82
#6  0x7ffad1430271 in SoSwitch::doAction(SoAction*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x2b1
#7  0x7ffad3d0af16 in Gui::SoFCSwitch::doAction(SoAction*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0x596
#8  0x7ffad142b5ed in SoSeparator::GLRenderInPath(SoGLRenderAction*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x4cd
#9  0x7ffad3d093af in Gui::SoFCSelectionRoot::_renderPrivate(SoGLRenderAction*, bool, bool&) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0x8bf
#10  0x7ffad3d0990d in Gui::SoFCSelectionRoot::renderPrivate(SoGLRenderAction*, bool) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0xcd
#11  0x7ffad1201149 in SoAction::traverse(SoNode*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x69
#12  0x7ffad13c2952 in SoChildList::traverse(SoAction*, int, int) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x82
#13  0x7ffad1430271 in SoSwitch::doAction(SoAction*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x2b1
#14  0x7ffad3d0af16 in Gui::SoFCSwitch::doAction(SoAction*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0x596
#15  0x7ffad142b5ed in SoSeparator::GLRenderInPath(SoGLRenderAction*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x4cd
#16  0x7ffad3d093af in Gui::SoFCSelectionRoot::_renderPrivate(SoGLRenderAction*, bool, bool&) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0x8bf
#17  0x7ffad3d0990d in Gui::SoFCSelectionRoot::renderPrivate(SoGLRenderAction*, bool) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0xcd
#18  0x7ffad1201149 in SoAction::traverse(SoNode*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x69
#19  0x7ffad13c2952 in SoChildList::traverse(SoAction*, int, int) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x82
#20  0x7ffad1430271 in SoSwitch::doAction(SoAction*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x2b1
#21  0x7ffad3d0af16 in Gui::SoFCSwitch::doAction(SoAction*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0x596
#22  0x7ffad142b5ed in SoSeparator::GLRenderInPath(SoGLRenderAction*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x4cd
#23  0x7ffad3d091ad in Gui::SoFCSelectionRoot::_renderPrivate(SoGLRenderAction*, bool, bool&) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0x6bd
#24  0x7ffad3d0990d in Gui::SoFCSelectionRoot::renderPrivate(SoGLRenderAction*, bool) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0xcd
#25  0x7ffad142b5ed in SoSeparator::GLRenderInPath(SoGLRenderAction*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x4cd
#26  0x7ffad142b5ed in SoSeparator::GLRenderInPath(SoGLRenderAction*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x4cd
#27  0x7ffad1552046 in SoShadowGroupP::GLRender(SoGLRenderAction*, int) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x256
#28  0x7ffad142b5ed in SoSeparator::GLRenderInPath(SoGLRenderAction*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x4cd
#29  0x7ffad1201149 in SoAction::traverse(SoNode*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x69
#30  0x7ffad1208d96 in SoGLRenderAction::beginTraversal(SoNode*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x186
#31  0x7ffad3d16164 in Gui::SoBoxSelectionRenderAction::beginTraversal(SoNode*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0x64
#32  0x7ffad1201ac2 in SoAction::apply(SoPathList const&, int) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x5b2
#33  0x7ffad3d1392f in Gui::SoBoxSelectionRenderActionP::apply(Gui::SoBoxSelectionRenderAction*, SoPathList const&, int) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0x10f
#34  0x7ffad3d13a20 in Gui::SoBoxSelectionRenderAction::apply(SoPathList const&, int) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0xa0
#35  0x7ffad12085d9 in SoGLRenderActionP::renderSingle(SoNode*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x279
#36  0x7ffad1208aae in SoGLRenderActionP::render(SoNode*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x11e
#37  0x7ffad1208cb2 in SoGLRenderAction::beginTraversal(SoNode*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0xa2
#38  0x7ffad3d16164 in Gui::SoBoxSelectionRenderAction::beginTraversal(SoNode*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0x64
#39  0x7ffad1201e2a in SoAction::apply(SoNode*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x2ea
#40  0x7ffad3d13d1a in Gui::SoBoxSelectionRenderAction::apply(SoNode*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0x2a
#41  0x7ffad14fa75a in SoRenderManager::renderScene(SoGLRenderAction*, SoNode*, unsigned int) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x4a
#42  0x7ffad14fb86c in SoRenderManager::actuallyRender(SoGLRenderAction*, int, int, int) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x7c
#43  0x7ffad14fba27 in SoRenderManager::renderSingle(SoGLRenderAction*, int, int, int) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0xc7
#44  0x7ffad14fc06b in SoRenderManager::render(SoGLRenderAction*, int, int, int) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x9b
#45  0x7ffad14f9f7d in SoRenderManager::render(int, int) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/../lib/libCoin.so.80+0x8d
#46  0x7ffad3ddde92 in Gui::View3DInventorViewer::renderScene() from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0x262
#47  0x7ffad3d96aa5 in SIM::Coin3D::Quarter::QuarterWidget::paintEvent(QPaintEvent*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0x325
#48  0x7ffad3d9d0c5 in SIM::Coin3D::Quarter::SoQTQuarterAdaptor::paintEvent(QPaintEvent*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0x45
#49  0x7ffad25c295d in QWidget::event(QEvent*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x5a3
#50  0x7ffad262bdb7 in QFrame::event(QEvent*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x27
#51  0x7ffad27a6ebe in QGraphicsView::viewportEvent(QEvent*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x456
#52  0x7ffad3d96b7c in SIM::Coin3D::Quarter::QuarterWidget::viewportEvent(QEvent*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0x9c
#53  0x7ffad1d6f019 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Core.so.5+0xcd
#54  0x7ffad25977e1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0xcb
#55  0x7ffad259d31d in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x1ac9
#56  0x7ffad3a52399 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeCADGui.so+0x89
#57  0x7ffad1d71606 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Core.so.5+0x86
#58  0x7ffad25bd612 in QWidgetPrivate::sendPaintEvent(QRegion const&) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x28
#59  0x7ffad25bdd3f in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x707
#60  0x7ffad25be4b1 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x2c1
#61  0x7ffad25be1be in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0xb86
#62  0x7ffad25be4b1 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x2c1
#63  0x7ffad25be1be in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0xb86
#64  0x7ffad25be4b1 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x2c1
#65  0x7ffad25be1be in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0xb86
#66  0x7ffad25be4b1 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x2c1
#67  0x7ffad25be1be in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0xb86
#68  0x7ffad25be4b1 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x2c1
#69  0x7ffad25be1be in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0xb86
#70  0x7ffad25be4b1 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x2c1
#71  0x7ffad25be1be in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0xb86
#72  0x7ffad25be4b1 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x2c1
#73  0x7ffad25be3ce in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x1de
#74  0x7ffad25be3ce in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x1de
#75  0x7ffad25be3ce in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x1de
#76  0x7ffad25be3ce in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRege*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5+0x1de
#77  0x7ffad25be1be in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*/../lib/libQt5Widgets.so.5+0xb86
#78  /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5(+0x17ed08) [0x7ffad25a1d08]
#79  /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5(+0x17efaf) [0x7ffad25a1faf]
#80  0x7ffad25b2dd4 in QWidgetPrivate::syncBackingStore() from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5W
#81  0x7ffad25c2cd9 in QWidget::event(QEvent*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.so.5
#82  0x7ffad266d34f in QMainWindow::event(QEvent*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Widgets.
#83  0x7ffad3ead26c in Gui::MainWindow::event(QEvent*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFreeC
#84  0x7ffad25977f2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAbVPprR/usr
#85  0x7ffad259d31d in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/li
#86  0x7ffad3a52399 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAbVPprR/usr/bin/..
#87  0x7ffad1d71606 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCAbVPprR/usr/
#88  0x7ffad1d7183e in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) from /tmp/.mount
#89  /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Core.so.5(+0x1dc54c) [0x7ffad1da054c]
#90  /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7fface41798d
#91  /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/./libglib-2.0.so.0(+0x54c21) [0x7fface417c21]
#92  /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_iteration+0x31) [0x7fface417cc1
#93  0x7ffad1da00e8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.m
#94  0x7ffad1d6e019 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAbVPprR/u
#95  0x7ffad1d71e8f in QCoreApplication::exec() from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib/libQt5Core.so.5+0
#96  0x7ffad39cd53e in Gui::Application::runApplication() from /tmp/.mount_FreeCAbVPprR/usr/bin/../lib64/libFr
#97  /tmp/.mount_FreeCAbVPprR/usr/bin/FreeCADLink(+0x44bf) [0x55c4062cd4bf]
#98  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7ffad184e0b3]
#99  /tmp/.mount_FreeCAbVPprR/usr/bin/FreeCADLink(+0x47d9) [0x55c4062cd7d9]

Code: Select all

OS: KDE neon User Edition 5.21 (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 2021.0224.23964 +3289 (Git) AppImage
Build type: Release
Branch: LinkStage3
Hash: 2dd87c255154b308a7681c1a7c5740151f340b0a
Python version: 3.8.8
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)


Also, in my latest video I inserted a "you are awsome" meme. That one was because you tackled the jupyter integration. The one I'm inserting here is because of this line in the release log "Disable shadow and shading for Draft grid and other trackers"

awsome.jpg
awsome.jpg (58.31 KiB) Viewed 2726 times

BR
Attachments
profilo50x50.fcstd
(31.04 KiB) Downloaded 72 times
Bracket.FCStd
(593.24 KiB) Downloaded 60 times
Check out my Youtube channel at: https://www.youtube.com/@OficineRobotica
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

Re: New overlay mode (Now ready for testing)

Post by realthunder »

OficineRobotica wrote: Fri Mar 05, 2021 7:32 am I really hope I'm posting in the right thread as I think this bug is related to the GUI.

I'm getting a consistent crash with the file linked bellow and using your latest daily release. Steps to reproduce.
1- open file and select the "assembly"
2- V, F (view full for the assembly)
3- rotate the view

Sometimes will crash right after I select the assembly, others will take all the above steps. I couldn't replicate the behaviour with other files but I didn't really tried allot for lack of time.
This is most like the same problem reported here, which has been fixed already.
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
User avatar
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: New overlay mode (Now ready for testing)

Post by bitacovir »

I get some errors with TechDraw DraftView elements

Code: Select all

13:13:28  <class 'SyntaxError'>: ('invalid syntax', ('<string>', 2, 277, 'App.getDocument(\'Planta_General\').getObject(\'DraftView002\').Symbol = \'<svg\\n\txmlns="http://www.w3.org/2000/svg" version="1.1"\\n\txmlns:freecad="http://www.freecadweb.org/wiki/index.php?title=Svg_Namespace">\\n\' + Draft.getSVG(App.getDocument(\'Planta_General\').getObject(\'Wire\'),,scale=0.02,linewidth=1,fontsize=12,direction=FreeCAD.Vector(0,0,1),linestyle="Solid",color="#000000",linespacing=1,techdraw=True,override=False) + \'\\n</svg>\'\n'))
13:13:28  Recompute failed! Please check report view.
13:13:29  <string>(1)<class 'SyntaxError'>: ('invalid syntax', ('<string>', 2, 277, 'App.getDocument(\'Planta_General\').getObject(\'DraftView002\').Symbol = \'<svg\\n\txmlns="http://www.w3.org/2000/svg" version="1.1"\\n\txmlns:freecad="http://www.freecadweb.org/wiki/index.php?title=Svg_Namespace">\\n\' + Draft.getSVG(App.getDocument(\'Planta_General\').getObject(\'Wire\'),,scale=0.02,linewidth=1,fontsize=12,direction=FreeCAD.Vector(0,0,1),linestyle="Solid",color="#000000",linespacing=1,techdraw=True,override=False) + \'\\n</svg>\'\n'))
13:13:29  Recompute failed! Please check report view.
13:13:34  <string>(1)<class 'SyntaxError'>: ('invalid syntax', ('<string>', 2, 277, 'App.getDocument(\'Planta_General\').getObject(\'DraftView002\').Symbol = \'<svg\\n\txmlns="http://www.w3.org/2000/svg" version="1.1"\\n\txmlns:freecad="http://www.freecadweb.org/wiki/index.php?title=Svg_Namespace">\\n\' + Draft.getSVG(App.getDocument(\'Planta_General\').getObject(\'Wire\'),,scale=0.02,linewidth=1,fontsize=12,direction=FreeCAD.Vector(0,0,1),linestyle="Solid",color="#000000",linespacing=1,techdraw=True,override=False) + \'\\n</svg>\'\n'))
13:13:34  Recompute failed! Please check report view.
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 2021.311.24301 +3373 (Git)
Build type: Release
Branch: LinkStage3
Hash: 91ca94db328bf6126c4a01547b6aa2202d876ebc
Python version: 3.6.8
Qt version: 5.12.6
Coin version: 4.0.0a
OCC version: 7.5.0
Locale: English/United States (en_US)
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

Re: New overlay mode (Now ready for testing)

Post by realthunder »

bitacovir wrote: Wed Mar 24, 2021 4:18 pm I get some errors with TechDraw DraftView elements
Thanks for the report. It is fixed. Not in time to be included in my latest release, though. Will include it in the next one. BTW, it will easier for me the track if you can report the problem to github issue page next time.
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
Post Reply