Image Workbench is missing on the latest Weekly.

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!
user1234
Veteran
Posts: 3345
Joined: Mon Jul 11, 2016 5:08 pm

Re: Image Workbench is missing on the latest Weekly.

Post by user1234 »

chennes wrote: Tue Mar 28, 2023 10:46 pm
user1234 wrote: Tue Mar 28, 2023 9:40 pm From what an old copy? Deleted all configs from hand (controlled with a search, even cache and local), nothing left.
I was thinking of an old copy in your build folder.
No, there was not any, i will test it later.


Now i pulled the last master and compiled it in the other machine (no clean from scratch build, just a recompile with ccache), there was still the ImageWB, but it does not crash, as long it will not be used further then the dialogs, which is OK for this wip state. Also there are 4 different FreeCAD builds on this machine.

Code: Select all

Err: Program received signal SIGSEGV, Segmentation fault.
Err: #0  /lib/x86_64-linux-gnu/libc.so.6(+0x38d60) [0x7f0ae60f3d60]
Err: #1  0x7f0ae8283009 in App::Transaction::addObjectDel(App::TransactionalObject const*) from /home/user/Programs/FreeCADmaster/build/lib/libFreeCADApp.so+0x89
Err: #2  0x7f0ae8173be2 in App::Document::addObject(char const*, char const*, bool, char const*, bool) from /home/user/Programs/FreeCADmaster/build/lib/libFreeCADApp.so+0x3a2
Err: #3  0x7f0ae82313e4 in App::DocumentPy::addObject(_object*, _object*) from /home/user/Programs/FreeCADmaster/build/lib/libFreeCADApp.so+0xd4
Err: #4  0x7f0ae8232384 in App::DocumentPy::staticCallback_addObject(_object*, _object*, _object*) from /home/user/Programs/FreeCADmaster/build/lib/libFreeCADApp.so+0x24
Err: #5  /lib/x86_64-linux-gnu/libpython3.9.so.1.0(+0x10cc93) [0x7f0ae781cc93]
Err: #6  /lib/x86_64-linux-gnu/libpython3.9.so.1.0(_PyObject_MakeTpCall+0x90) [0x7f0ae77d6a50]
Err: #7  /lib/x86_64-linux-gnu/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x8632) [0x7f0ae77882f2]
Err: #8  /lib/x86_64-linux-gnu/libpython3.9.so.1.0(+0x1a4ddc) [0x7f0ae78b4ddc]
Err: #9  /lib/x86_64-linux-gnu/libpython3.9.so.1.0(_PyEval_EvalCodeWithName+0x4e) [0x7f0ae78b512e]
Err: #10  /lib/x86_64-linux-gnu/libpython3.9.so.1.0(PyEval_EvalCodeEx+0x3e) [0x7f0ae78b517e]
Err: #11  /lib/x86_64-linux-gnu/libpython3.9.so.1.0(PyEval_EvalCode+0x1b) [0x7f0ae78b072b]
Err: #12  /lib/x86_64-linux-gnu/libpython3.9.so.1.0(+0x1e9735) [0x7f0ae78f9735]
Err: #13  /lib/x86_64-linux-gnu/libpython3.9.so.1.0(PyRun_StringFlags+0x93) [0x7f0ae78fa013]
Err: #14  0x7f0ae7e00718 in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /home/user/Programs/FreeCADmaster/build/lib/libFreeCADBase.so+0x58
Err: #15  0x7f0ae8b2979f in Gui::Command::_runCommand(char const*, int, Gui::Command::DoCmd_Type, char const*) from /home/user/Programs/FreeCADmaster/build/lib/libFreeCADGui.so+0x7f
Err: #16  0x7f0ae8b298ff in Gui::Command::_doCommand(char const*, int, Gui::Command::DoCmd_Type, char const*, ...) from /home/user/Programs/FreeCADmaster/build/lib/libFreeCADGui.so+0xcf
Err: #17  0x7f098b476968 in CmdCreateImagePlane::activated(int) from /home/user/Programs/FreeCADmaster/build/Mod/Image/ImageGui.so+0x3b8
Err: #18  0x7f0ae8b2ce4b in Gui::Command::_invoke(int, bool) from /home/user/Programs/FreeCADmaster/build/lib/libFreeCADGui.so+0x1fb
Err: #19  0x7f0ae8b2d20e in Gui::Command::invoke(int, Gui::Command::TriggerSource) from /home/user/Programs/FreeCADmaster/build/lib/libFreeCADGui.so+0xfe
Err: #20  /lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2e45a6) [0x7f0ae675b5a6]
Err: #21  0x7f0ae71e2b62 in QAction::triggered(bool) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x42
Err: #22  0x7f0ae71e53a1 in QAction::activate(QAction::ActionEvent) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0xe1
Err: #23  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x2521b2) [0x7f0ae72d81b2]
Err: #24  0x7f0ae72d82d1 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0xf1
Err: #25  0x7f0ae73c79ca in QToolButton::mouseReleaseEvent(QMouseEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0xa
Err: #26  0x7f0ae7228fae in QWidget::event(QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1ce
Err: #27  0x7f0ae71e915f in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x7f
Err: #28  0x7f0ae71f004b in QApplication::notify(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x49b
Err: #29  0x7f0ae8ae6108 in Gui::GUIApplication::notify(QObject*, QEvent*) from /home/user/Programs/FreeCADmaster/build/lib/libFreeCADGui.so+0x68
Err: #30  0x7f0ae6724fca in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x12a
Err: #31  0x7f0ae71ef076 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1d6
Err: #32  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1bb011) [0x7f0ae7241011]
Err: #33  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1be33e) [0x7f0ae724433e]
Err: #34  0x7f0ae71e915f in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x7f
Err: #35  0x7f0ae8ae6108 in Gui::GUIApplication::notify(QObject*, QEvent*) from /home/user/Programs/FreeCADmaster/build/lib/libFreeCADGui.so+0x68
Err: #36  0x7f0ae6724fca in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x12a
Err: #37  0x7f0ae6aff583 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /lib/x86_64-linux-gnu/libQt5Gui.so.5+0x653
Err: #38  0x7f0ae6ad564c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /lib/x86_64-linux-gnu/libQt5Gui.so.5+0xac
Err: #39  /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x697da) [0x7f0ae0a0a7da]
Err: #40  /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x25b) [0x7f0ae44c0e6b]
Err: #41  /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52118) [0x7f0ae44c1118]
Err: #42  /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2f) [0x7f0ae44c11cf]
Err: #43  0x7f0ae677c51f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x5f
Err: #44  0x7f0ae672398b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x12b
Err: #45  0x7f0ae672bc00 in QCoreApplication::exec() from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x90
Err: #46  0x7f0ae8a3d463 in Gui::Application::runApplication() from /home/user/Programs/FreeCADmaster/build/lib/libFreeCADGui.so+0x2543
Err: #47  /home/user/Programs/FreeCADmaster/build/bin/FreeCAD(+0x997c) [0x555c8839997c]
Err: #48  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f0ae60ded0a]
Err: #49  /home/user/Programs/FreeCADmaster/build/bin/FreeCAD(+0x9c2a) [0x555c88399c2a]

Code: Select all

OS: Debian GNU/Linux 11 (bullseye) (X-Cinnamon/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32637 (Git)
Build type: Release
Branch: master
Hash: 7fa7cb7f0b222864be7416c683166876eab190bc
Python 3.9.2, Qt 5.15.2, Coin 4.0.0, Vtk 9.0.1, OCC 7.7.1
Locale: English/United States (en_US)
Installed mods: 
  * QuickMeasure 2022.10.28
  * Assembly4 0.12.6
  * CurvedShapes 1.0.4
  * Curves 0.6.8


Just said, i complain here nothing, it is a dev version, in a FOSS, with more then one OS, with more then 1000s files, with a few million lines of code, made from people in their spare time, in a very complicated field of usage. That there are time to time some inconveniences should be logic. Also how should they know there are issues, when there are no one using the dev version? (catch22)


Greetings
user1234
drmacro
Veteran
Posts: 8868
Joined: Sun Mar 02, 2014 4:35 pm

Re: Image Workbench is missing on the latest Weekly.

Post by drmacro »

Syres wrote: Thu Mar 30, 2023 5:09 pm
drmacro wrote: Thu Mar 30, 2023 5:05 pm Ok, that solved the issue of two entries. But still no scale by two points...
Nope, for now you have to use my macro on page 4 of this thread, it's not been merged as easyw-fc stated.
Ah...I missed that he had compiled the PR... :oops:
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
easyw-fc
Veteran
Posts: 3630
Joined: Thu Jul 09, 2015 9:34 am

Re: Image Workbench is missing on the latest Weekly.

Post by easyw-fc »

Code: Select all

OS: Linux Mint 20.3 (X-Cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32655 (Git)
Build type: Unknown
Branch: master
Hash: c39dbc93f692feb153599af035211785505f3086
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk 7.1.1, OCC 7.5.2
I've found these two issues opening a jpg or a png (just the image on the document):
1) the interactive line is behind the image (it is not visible)
2) changing the transparency of the image plane (i.e. to 70) and deselecting it, the plane doesn't respect its transparency, unless I add i.e. a cube
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Image Workbench is missing on the latest Weekly.

Post by wmayer »

git commit fa3ee34
2) changing the transparency of the image plane (i.e. to 70) and deselecting it, the plane doesn't respect its transparency, unless I add i.e. a cube
The old image wb suffered from the same problem. But don't know what's the reason of this behaviour.
User avatar
easyw-fc
Veteran
Posts: 3630
Joined: Thu Jul 09, 2015 9:34 am

Re: Image Workbench is missing on the latest Weekly.

Post by easyw-fc »

1)
wmayer wrote: Sat Apr 01, 2023 12:53 pm git commit fa3ee34
THX
2) changing the transparency of the image plane (i.e. to 70) and deselecting it, the plane doesn't respect its transparency, unless I add i.e. a cube...
The old image wb suffered from the same problem. But don't know what's the reason of this behaviour.
that is very marginale, I even never noticed in previous files...
It disappears as soon i.e. a sketcher is added.
LHC
Posts: 321
Joined: Thu Sep 17, 2020 4:21 pm
Location: Canadian Coffee Shop

Re: Image Workbench is missing on the latest Weekly.

Post by LHC »

Just downloaded the latest Conda for windows. Looks like this image issue is all resolved now. I seem to be be able to open up old files and double clicking on the image object I can rescale with picking 2 points again.

Are there any further additions or improvements to the image handling functions yet to come ?
User avatar
chennes
Veteran
Posts: 3881
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Image Workbench is missing on the latest Weekly.

Post by chennes »

I believe that @paddle has some user interface ideas that he's working on.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
paddle
Veteran
Posts: 1392
Joined: Mon Feb 03, 2020 4:47 pm

Re: Image Workbench is missing on the latest Weekly.

Post by paddle »

Yes there are a few things. I'm currently working on it.
leoheck
Veteran
Posts: 1223
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: Image Workbench is missing on the latest Weekly.

Post by leoheck »

paddle wrote: Tue Apr 04, 2023 8:32 pm Yes there are a few things. I'm currently working on it.
Interesting, can you share something?
User avatar
paddle
Veteran
Posts: 1392
Joined: Mon Feb 03, 2020 4:47 pm

Re: Image Workbench is missing on the latest Weekly.

Post by paddle »

- Make a single 'Image plane settings' task box that incorporate attachement plane + moving it on XY (currently only possible through transform) + scale + rotation + transparancy.
- Change the image size that is now in px, which does not make any sense for the user, to the system unit.
- Think about ways to improve the ui of 2 points length. For instance pressing enter after typing desired distance close the taskview without validating instead of validating the length.
Should be ready in a few days.
Post Reply