#768 space allocation for structure view can't be resized


Using version TeXstudio 2.6.0 (SVN 4063) on a Macbook Pro...

When I open multiple tabs, eventually the structure view at left shrinks, and it cannot be resized to make it wider. If I then close a number of the tabs, it goes back to being resize-able. So, to reproduce... open a number of tex documents, each in a tab. On my 12th open document, the structure view starts to get narrower. At that point, I cannot drag it wider... until I close a tab... in which case I can now make it wider, but only a bit. Close another tab, and now I can make it wider.

So, I reckon that the display manager is calculating the minimum width for the tab display first, and then resizing the structure view within the remaining width. That's no good! The structure view should have priority and be 'locked' to whatever size the user has set; it should not be resizing to smaller and smaller, and prevented from being adjusted...

I constantly get into a situation where I have to close documents (that I don't want to close) just so I can widen the structure view to something useable, so that I can select a document. It's a faulty design IMHO; if I set the size of the structure window, then that size should be honoured, not auto-resized when I open documents.


  • Andrew Davie

    Andrew Davie - 2013-07-20

    2.6.2 same issue

  • Benito van der Zander

    does not seem to happen on Linux+qt4.8.5

  • Andrew Davie

    Andrew Davie - 2013-07-22

    I have also confirmed the same problem happens on a second Macbook.

    I also checked on my Ubuntu machine -- it does not happen there. Behaviour is exactly as I would expect. Seems the mac version handles the window spacing differently than Linux versions do.

  • Tim Hoffmann

    Tim Hoffmann - 2013-07-22

    Confirmed for OSX. Note also, that the navigation buttons do not appear when there are more tabs than space in the tabbar. -> Likely a bug in the size calculations of QTabBar.

  • Tim Hoffmann

    Tim Hoffmann - 2014-01-27

    fixed (hg 4252 (c52ad4b4e39b))

  • Tim Hoffmann

    Tim Hoffmann - 2014-01-27
    • status: open --> fixed
    • Group: -->

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

Sign up for the SourceForge newsletter:

No, thanks