#361 block and layer window dissappear after block insert

GUI (97)

When a block is inserted the right hand windows disappears, no layer or block window.
The view->toolbar controls will not make the layer or block windows show.
If the block window has been detached it stays visible. The main edit window seems to grow beyond the screen size.

It seems that the main edit window is overlaying the right hand window real estate after a block has been inserted.

Only a exit and restart of the whole app will make the block and layer windows show up again.
A work around is to undock the layer and block windows before add a block.

SCM Revision: 2.0.0alpha4
Compiled on: Oct 17 2012


  • Dongxu Li

    Dongxu Li - 2012-10-23

    please provide steps to reproduce this bug

  • alpinekid

    alpinekid - 2012-10-24

    Draw box on screen
    block-> create block
    ref point 0,0
    blockname fred
    delete block from drawing window
    select block fred
    click insert the active block icon in the blocklist window
    position block

    I have been trying out the undocked windows. Now the symptoms is slightly different.

    When I have re-landed the the blocklist window and positioned it on the righthand side,
    The window is now visible but both the layer and block list widows extend beyond the screen.
    When I drag one window off the desktop and make it float above the desktop, it is wider than I set it to . I reset the size, sized so all the icons are close together. Reland the window and it grows to a size greater than what can be seen on the screen.

    When I drag both windows, layer list and block list off the desktop, the main drawing window grow to beyond the screen and i can never reland the windows on the right side.

    I close and reopen the librecad app. The main window is now completely visable.
    I reposition the windows....

    it goes on like this. As I try different combination of of restarts, and docking and undocking and resizing I get various combination of visible of windows. Its always after inserting a block.

    I just tried inserting from the menu instead of the icon, same problem.

    The block inserted is also defective, see other bug report.

    comment 2

    I just found a simpler process.
    open attached file,
    select block fred
    click block-> insert block
    drawing windows grows beyond screen size.

    I can not figure out how to attach file or to see your comments. I got a email notice with your comments.

  • alpinekid

    alpinekid - 2012-10-24
  • alpinekid

    alpinekid - 2012-10-24

    OK, I figured it out, the coment and attached file text does not look like a button but they are.

  • alpinekid

    alpinekid - 2012-11-12

    I figured out what is going on.
    When the inset block action is selected, new objects are added to the "tool bar" above the main edit window.
    This is pushing the window wider than my screen and the layer and blocks windows are getting push off.
    After the inset block action is done, the size of the toolbar goes back to normal but the edit window stays bigger than my screen and so the other windows never come back into view and the resize area is off-screen so i can not manually resize the window.

    I figured this out when I upgraded to a double screen.

  • Dongxu Li

    Dongxu Li - 2012-12-30
    • labels: --> GUI
    • status: open --> open-accepted
  • Dongxu Li

    Dongxu Li - 2012-12-31
    • status: open-accepted --> open-fixed
  • Dongxu Li

    Dongxu Li - 2012-12-31

    It's a size policy issue similar to bug# 3597425

  • Dongxu Li

    Dongxu Li - 2013-01-02
    • status: open-fixed --> open-accepted
  • Dongxu Li

    Dongxu Li - 2013-01-02

    another fix in master branch, the size policy of toolOptions is set to "Preferred".

    I'm not sure about the right fix here. More work is needed.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks