Version 2.0.7 build February 6, 2015 running on Ubuntu 14.04. Dual monitor setup. LibreCAD stretches across both windows and will not resize smaller. It will resize larger.
I am not familiar with git bisection. I did some searches and I think I understand what it does but I'm not sure. Can you give me any assistance with its usage?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello...
I have similar trouble.
Ubuntu 14.04 and librecad (master SCM 2.0.7 compiled Mar 14 2015) I use librecad rarely so that bug can be in older version too.
I have dual monitor and can't fit librecad on one monitor only. Seems that librecad get some minimal window size (wich is very large) and can be resized only to even bigger window but not to smaller or to fit on just one monitor.
With that the librecad is unusable at least in my system (can't reach commandline as is out of the window)
The priority should be more than 5 for that bug.
Last edit: eslavko 2015-03-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Seems that is not same. I was closed all toolbars and stil cannot resize properly. The maximize/restore button doesn't resize window and with grabbing border I can just make size bigger.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When reverting the two first changed lines, the window fits on a single monitor in a dual monitor setup and can resize bigger and smaller.
I did not see a difference whether I did comment out the third change or not.
I must admit, I do not understand out of the commit message " layerwidget: allow shrinking by expanding drawing area", what this would be fixing. Resizing in between the drawing area and the layer and block widgets used to work for me.
Hope this helps ...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1, incorrect layouts and sizepolicies, not well tested;
2, some explicitly fixed size buttons and icons;
We have to cleanup for:
1, layouts and sizepolicy;
2, resolution independency behaviour (mostly for high definition displays, say, 3K, 4K monitors, multiple displays).
The work needed is more than trivial:
1, design a layout architecture;
2, implement this invasive layout architecture;
3, cleanup for button/action redundancy in the process (for example, CAD toolbars have hard-coded buttons, and the similar actions are added in QMenu as QActions.)
I raised the priority to 8, the highest for non-crashing/non-data-losing
Any help is welcome!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't have a dual monitor setup to test here.
Looks like we have more and more bugs with multiple screen setup, and I will try to find ways to troubleshoot.
If it helps, it was only the very latest build that this problem occurred. I receive nightly builds and it only just started happening.
It helps, if you can use git bisection to locate the commit which causes this regression.
I am not familiar with git bisection. I did some searches and I think I understand what it does but I'm not sure. Can you give me any assistance with its usage?
Hello...
I have similar trouble.
Ubuntu 14.04 and librecad (master SCM 2.0.7 compiled Mar 14 2015) I use librecad rarely so that bug can be in older version too.
I have dual monitor and can't fit librecad on one monitor only. Seems that librecad get some minimal window size (wich is very large) and can be resized only to even bigger window but not to smaller or to fit on just one monitor.
With that the librecad is unusable at least in my system (can't reach commandline as is out of the window)
The priority should be more than 5 for that bug.
Last edit: eslavko 2015-03-14
I test whether is a duplicate of bug#506
https://sourceforge.net/p/librecad/bugs/506/
Seems that is not same. I was closed all toolbars and stil cannot resize properly. The maximize/restore button doesn't resize window and with grabbing border I can just make size bigger.
I identified the following commit to cause the regression:
https://github.com/LibreCAD/LibreCAD/commit/30f98defd1f59ffa9935eb1ddf9807134161c77d
When reverting the two first changed lines, the window fits on a single monitor in a dual monitor setup and can resize bigger and smaller.
I did not see a difference whether I did comment out the third change or not.
I must admit, I do not understand out of the commit message " layerwidget: allow shrinking by expanding drawing area", what this would be fixing. Resizing in between the drawing area and the layer and block widgets used to work for me.
Hope this helps ...
The source of this bug:
1, incorrect layouts and sizepolicies, not well tested;
2, some explicitly fixed size buttons and icons;
We have to cleanup for:
1, layouts and sizepolicy;
2, resolution independency behaviour (mostly for high definition displays, say, 3K, 4K monitors, multiple displays).
The work needed is more than trivial:
1, design a layout architecture;
2, implement this invasive layout architecture;
3, cleanup for button/action redundancy in the process (for example, CAD toolbars have hard-coded buttons, and the similar actions are added in QMenu as QActions.)
I raised the priority to 8, the highest for non-crashing/non-data-losing
Any help is welcome!
Bug report for High definition GUI:
http://forum.librecad.org/UI-Support-for-high-DPI-monitors-td5711067.html
tweaking of size policies:
https://github.com/LibreCAD/LibreCAD/commit/21b704635f0be5c31acc72b6f6c0dcc82ffd114d
March 27, 2015 build seems to have corrected this issue for me! LibreCAD can now be sized to easily fit on one screen. Excellent! Thank you!