#125 Selecting next tab after closing does not work.

closed-fixed
SebHoll
5
2009-04-19
2008-06-14
Jan Varho
No

If you have three file tabs open and close the #1 from left you are taken to the next one (correctly). If you now click on the next to the right, the tab changes, but code view does not. Same happens with more tabs under similar conditions.

This seems to be due to TBMXHost.RemovePanel calling SelectPanel before RemoveGadgetItem - tabbar thinks #2 is still active after #1 is removed and #2 becomes #1. This is a problem with Win32MaxGUIEx, and may not happen on other implementations (not tested).

The patched RemovePanel is a quick fix that does not blow anything up on said MaxGUI implementation. It opens helppanel to prevent currentpanel being deleted (which crashes).

Discussion

  • Jan Varho

    Jan Varho - 2008-06-14

    Patched Remove Panel function

     
  • SebHoll

    SebHoll - 2008-06-14

    Logged In: YES
    user_id=2058178
    Originator: NO

    Nope - I think this is a MaxGUI bug, as it happens in the official IDE too. Have posted a suggested fix here:

    http://www.blitzbasic.com/Community/posts.php?topic=78634

     
  • SebHoll

    SebHoll - 2008-06-14
    • labels: --> Interface (example)
    • assigned_to: nobody --> sebholl
    • status: open --> pending
     
  • SebHoll

    SebHoll - 2008-06-14

    Logged In: YES
    user_id=2058178
    Originator: NO

    OK, a fix has now been committed to the MaxGUI SVN repository for win32maxguiex.bmx.

     
  • Mark Tiffany

    Mark Tiffany - 2009-04-19
    • status: pending --> closed-fixed
     
  • Mark Tiffany

    Mark Tiffany - 2009-04-19

    This bug has been fixed in the current source code. If the
    status is set to "Pending", it is only fixed in the CVS; the
    download versions are *NOT* fixed until the status changes to
    "Closed".

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks