#34 Dockable objects list - refreshing problem

Released in 1.4x
closed-fixed
Drzewiecki T.
Interface (12)
7
2006-08-14
2006-03-07
Drzewiecki T.
No

This bug was introduced after setting dockable property
inside 'Objects list' (version 1.41b70).

1. Goto a first tab.
2. Select an object, but not the first.
3. Goto a second tab.
4. Select another object (also not the first).
5. Switch between them.
6. You'll see an 'empty' tab (it's not connected with
current docking or not).

Problem is probably in different (than before docking)
refresh handling.

Discussion

  • Drzewiecki T.
    Drzewiecki T.
    2006-03-08

    Logged In: YES
    user_id=747155

    TCN_SELCHANGE
    CDbSourceWnd::OnSelChangeTab()
    and
    CDbObjListCtrl::Refresh()

     
  • Drzewiecki T.
    Drzewiecki T.
    2006-03-08

    Logged In: YES
    user_id=747155

    Fixed in CDbSourceWnd::OnSelChangeTab().
    Added Invalidate().

     
  • Drzewiecki T.
    Drzewiecki T.
    2006-03-08

    • status: open --> open-fixed
     
  • Drzewiecki T.
    Drzewiecki T.
    2006-04-05

    Logged In: YES
    user_id=747155

    >> More detailed description from somebody on SQLTools.net:
    Just a quick note that i experienced some graphical bugs
    when using the Objects List.. To reproduce it, i'm not sure,
    but i have my windows laid out like this:

    Open Files List || SQL Editor Window to ~column 80 ||
    Objects List

    Sometimes when using the objects list and docking/undocking
    it or moving it around and resizing it, the tab panels stop
    rendering properly. If i switch to Functions tab, then it is
    all grey until i click about in it and the items are redrawn
    one by one. if i drag another window over it, then move it
    away, again the refresh causes it to render properly

    Ive just found out i can cause it fairly reliably by
    arranging my windows like this then RIGHT clicking on the
    tabs area which causes them to shrink to icons only mode and
    then this graphical corruption occurs.

    Heres the weird thing: if i click on each tab in turn left
    to right from functions, through procedures, packages,
    bodies... then functions doesnt render properly, but all the
    others do... interestingly if i get to the other end and
    start clicking on them right to left, none of them render..
    so Right to Left = No render. Left to right = Render

    or put another way, if the currently highlighted tab is
    among those to the right of the one that was previously on
    show, the current tab renders. if the current tab is to the
    left of the previous one, it doesnt render.

    Minimizing and maximising the app seems to solve it most
    times...

     
  • Drzewiecki T.
    Drzewiecki T.
    2006-08-14

    Logged In: YES
    user_id=747155

    Included in SQLT 1.4.2 RC1.

     
  • Drzewiecki T.
    Drzewiecki T.
    2006-08-14

    • status: open-fixed --> closed-fixed
     
  • Drzewiecki T.
    Drzewiecki T.
    2006-08-14

    • milestone: 455736 --> Released in 1.4x