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
Print Preview Crashes LibreCAD #1755
Comments
Bad regression. |
It doesn't happen to me with alpha 369 Appimage on Puppylinux Fossapup. |
I should have been more detailed: it's on Fossapup bare, which is a very cut-down version and does not contain QT, maybe that's the key. |
More testing of alpha 369 Appimage on virtual machines... Time to rebuild my desktop |-p |
One more test: I wiped my LibreCAD configuration and started with a new config and it worked fine - Print Preview appeared as it should. |
From alpha 400 on Print Preview crashed LibreCAD for me too. In alpha 411 it didn't, Print Preview came up. But if I try to change the scale - again crash. By the way, for not to open a new issue, -update current pen by active layer pen- also crashes LibreCAD. |
Might be several distinct issues. Let's handle one by one. Any simple steps for me to reproduce the crash? |
Start 2.2.1-alpha 411 appimage. The other issue, which doesn't belong into this thread: |
@dellus , Cannot reproduce the ‘'update current pen by active layer pen' issue. |
Do you experience such issue with visible or hidden PenPalette widget? Actually, that action relies on functionality provided by the widget, and as far as I can see by one of intermediate commit, if the widget is closed it may work incorrectly. I think in several days I'll commit a fix for this, |
Could review the widget layout also? I have moved the pen pallet and layer tree into tabs, but more work may be needed here. Regards! |
In the 2.2.1-alpha 412 appimage changing the scale in Print Preview doesn't crash LC anymore, but has no effect at all. The other issue, 'update current pen by active layer pen': Pen Palette and Layer tree are indeed disabled. But they seem not to exist in this 412 appimage, I cannot find any tabs or settings to enable them. |
Need a setting in ExtraToolbars: UsePenPallet=1 |
It crashes for me in commit 10dd2da, start LibreCAD, no need to open an existing drawing, click the "Update Current Pen by Active Layer' Pen" I've run LC on valgrind and attached the output in case it helps. |
Just checking the validity of penPaletteWidget seems to do the job for me, no more crashes:
|
Expected behavior
Clicking the Print Preview icon, or selecting File -> Print Preview, switches to the print preview window for the current drawing.
Observed behavior
LibreCAD crashes immediately without any error message
Steps to reproduce or sample file
Operating System and LibreCAD version info
Version: 2.2.1_alpha-369-g1d3b0f18
Compiler: GNU GCC 11.4.0
Compiled on: Mar 30 2024
Qt Version: 5.15.3
Boost Version: 1.74.0
System: Debian GNU/Linux trixie/sid
The text was updated successfully, but these errors were encountered: