If you open modules from different libraries ( without dismissing the basic IDE ) then the tabbed layout of the available modules is deeply screwed up To reproduce, a) open the basic organizer Tools | Macros | Organize Macros | LibreOffice Macros | LibreOffice Basic b) navigate to MyMacros / Standard / Module1 / Main click 'Edit' In the bottom left corner you will see the Module1 tab ( and tabs for any other modules you may have in the Standard library c) open another library, e.g. open the basic organizer like in the first step above d) navigate to LibreOffice Macros / FormWizard / develop / PositionControls click 'Edit' you should see a really horrific rendition of the tabs ( see attachments )
Created attachment 46114 [details] screwed up tab display
Created attachment 46115 [details] what it should look like
seems this is related to changes made to the tabbar control. It looks like a combination of the fact that the BasicIDE reuses the same tabbar control for different libraries and also probably the usage of the tabbar control from the BasicIDE implementation does not quite fit what's required given the new changes to the control. cc'ing Kohei here too
Created attachment 46116 [details] a possible fix the patch above fixes the problem, it calls resize in various places to force ImplFormat to be called as it seems that the problems relate to the tab rectangles not getting updated as required. I'm pretty sure there is a better way to force that to happen. Kohei, any idea ?
No ideas. My change was already in effect in 3.3, and in 3.3 it seems to work fine. Something may have changed in vcl with regard to refreshing of controls. I've seen other oddities with painting in general.
(In reply to comment #5) > No ideas. :-( > My change was already in effect in 3.3, and in 3.3 it seems to work > fine. ah ok ( I just assumed this was a more recent change ), at least now something to chase, I will hopefully be able to see why it works there and possibly work out why it fails now > > Something may have changed in vcl with regard to refreshing of controls. I've > seen other oddities with painting in general. hmm ok, good to know, I hoped this was a usage problem from the IDE implementation side ( since calc sheet tabs seem to work fine ) but... anyway you have at least given me a hint of where to look. I'll hold off the hacky fix for a little while anyway. Thanks again!!
fixed http://cgit.freedesktop.org/libreoffice/libs-gui/commit/?h=libreoffice-3-4&id=18211731500d267bd68c914d2cf204d8e9ee755f