Menu

#846 Toolbars corruption when saving perspective

Next_Nightly
fixed
UI (54)
Patch
2019-09-29
2019-06-26
No

After saving the perspective (View -> Perspectives -> Save current) all toolbars' images disssapear, and you need to use Fit, Optimize or restart C::B to get them back.

This is due to a call to m_LayoutManager.Update() from a wrong point (the sizes are not set).

My setup is Windows 7, wx3.1.2 and C::B head, but I doubt this is relevant here,

1 Attachments

Discussion

  • Teodor Petrov

    Teodor Petrov - 2019-06-29

    This patch doesn't solve the problem on wxGTK...

     
  • Teodor Petrov

    Teodor Petrov - 2019-06-29
    • status: open --> applied
    • assigned_to: Teodor Petrov
     
  • Teodor Petrov

    Teodor Petrov - 2019-06-29

    Ok, it seems that it fixes it, I've failed to test this correctly. Thanks...

     
  • Teodor Petrov

    Teodor Petrov - 2019-07-04
    • status: applied --> open
     
  • Teodor Petrov

    Teodor Petrov - 2019-07-04

    Unfortunately the fix for this broke the case which the orignal code tried to fix. We want to reset the stored size in the perspective, because if the toolbar is stored larger for some reason (the user selected bigger icon size for example) it can never be shrinked to fit the new size. :(

     
  • Teodor Petrov

    Teodor Petrov - 2019-09-29
    • status: open --> fixed
     
  • Teodor Petrov

    Teodor Petrov - 2019-09-29

    Fixed in [r11866]

     

    Related

    Commit: [r11866]


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.