Menu

#503 Application window stretched and can't resize under Linux

Next release
open-accepted
None
8
2015-03-27
2015-02-07
Rodney Gray
No

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.

1 Attachments

Discussion

  • Dongxu Li

    Dongxu Li - 2015-02-08

    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.

     
    • Rodney Gray

      Rodney Gray - 2015-02-08

      If it helps, it was only the very latest build that this problem occurred. I receive nightly builds and it only just started happening.

       
  • Dongxu Li

    Dongxu Li - 2015-02-08

    It helps, if you can use git bisection to locate the commit which causes this regression.

     
  • Rodney Gray

    Rodney Gray - 2015-02-10

    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?

     
  • eslavko

    eslavko - 2015-03-14

    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
  • Dongxu Li

    Dongxu Li - 2015-03-14

    I test whether is a duplicate of bug#506

    https://sourceforge.net/p/librecad/bugs/506/

     
  • eslavko

    eslavko - 2015-03-20

    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.

     
  • Christian Luginbühl

    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 ...

     
  • Dongxu Li

    Dongxu Li - 2015-03-22
    • status: open --> open-accepted
    • assigned_to: Dongxu Li
    • Priority: 5 --> 8
     
  • Dongxu Li

    Dongxu Li - 2015-03-22

    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!

     
  • Rodney Gray

    Rodney Gray - 2015-03-27

    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!

     

Log in to post a comment.