Opened 5 years ago

Closed 4 years ago

#10638 closed defect (fixed)

Can't change AUI pane resizable when floating pane shown

Reported by: net147 Owned by:
Priority: normal Milestone: 2.9.1
Component: wxAui Version: stable-latest
Keywords: Cc: net147@…, biwillia76, csomor
Blocked By: Blocking:
Patch: yes

Description

If you create an AUI toolbar and undock it so it is floating, changing whether it is resizable has no effect even after calling Update() on the AUI manager. This occurs in 2.8 SVN and 2.9 SVN.

A patch is attached to fix this.

Attachments (1)

framemanager_resizable_fix_r58853.patch download (678 bytes) - added by net147 5 years ago.
Fix AUI pane resizable changing while its floating pane is shown.

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by net147

Fix AUI pane resizable changing while its floating pane is shown.

comment:1 Changed 5 years ago by net147

  • Cc net147@… added

comment:2 Changed 5 years ago by net147

  • Milestone set to 2.9.1

comment:3 Changed 5 years ago by net147

  • Milestone changed from 2.9.1 to 2.9.0
  • Version changed from 2.9-svn to 2.9.0

Okay to apply this to 2.9.0 branch?

comment:4 Changed 5 years ago by vadz

  • Cc biwillia76 csomor added
  • Status changed from new to confirmed

This patch seems correct to me but I know wxAUI far too little to apply it without testing and I don't know how to test it so I won't do it for now, sorry.

As for 2.9.0 it's up to Stefan to decide. Again, I think this should be safe but I could be wrong.

comment:5 Changed 5 years ago by net147

  • Milestone changed from 2.9.0 to 2.9.1
  • Version changed from 2.9.0 to 2.9-svn

2.9.0 milestone is already past.

comment:6 Changed 4 years ago by VZ

  • Resolution set to fixed
  • Status changed from confirmed to closed

(In [63948]) Update AUI pane resizable status even when it is floating.

Making a pane (e.g. a toolbar) [not] resizable didn't have any effect when it
was floating, fix this by explicitly updating its style to match the internal
state.

Closes #10638.

Note: See TracTickets for help on using tickets.