Ticket #13217 (closed defect: duplicate)

Opened 2 years ago

Last modified 5 months ago

wxAuiNotebook incorrect tab order after drag and drop or split

Reported by: LukasK Owned by:
Priority: normal Milestone:
Component: wxAui Version: 2.9-svn
Keywords: needs-comments Cc: wxw@…
Blocked By: Patch: yes
Blocking:

Description

Tabbing through a wxAuiNotebook with Ctrl+Tab or Ctrl+Shift+Tab switches tabs in their original order instead of their current positions after drag and drop or split.

I described this problem as comments for ticket #10848 which might be unrelated.

Attachments

CycleControls.patch download (4.1 KB) - added by LukasK 2 years ago.
Patch which makes Ctrl+Tab and Ctrl+Shift+Tab cycles through the tabs in one tab control in the visual control order order, and switching to the next tab control after the last or first tab
auibook_tab_order.2.patch download (6.2 KB) - added by LukasK 9 months ago.
Updated version of outdated "CycleControls.patch". Developed against wxWidgets trunk, at r72457
auibook_tab_order.patch download (6.2 KB) - added by LukasK 9 months ago.
Updated version of outdated "CycleControls.patch". Developed against wxWidgets trunk, at r72457
repro_13217.py download (1.4 KB) - added by LukasK 9 months ago.
wxPython application for demonstrating the problem

Change History

Changed 2 years ago by LukasK

Patch which makes Ctrl+Tab and Ctrl+Shift+Tab cycles through the tabs in one tab control in the visual control order order, and switching to the next tab control after the last or first tab

Changed 2 years ago by LukasK

  • patch set

Changed 2 years ago by LukasK

The patch CycleControls.patch still works with r67750.

Changed 2 years ago by LukasK

  • version set to 2.9-svn

Changed 10 months ago by mj41

  • cc wxw@… added

Any updates? We have Padre (Perl editor) related issue  http://padre.perlide.org/trac/ticket/442 . Thanks.

BTW there is
wxAuiNotebook::GetPage
* Returns the page specified by the given index.
*  http://docs.wxwidgets.org/2.8/wx_wxauinotebook.html#wxauinotebookgetpage

wxNotebook::GetPage
* Returns the window at the given page position.
*  http://docs.wxwidgets.org/2.8/wx_wxnotebook.html#wxnotebookgetpage

Changed 9 months ago by vadz

  • keywords needs-comments added

I don't know this code at all and so have trouble reviewing this patch.

Could you please confirm that it fixes the problem in Padre? If so, it would be a good motivation to try to understand what this patch does and commit it.

Changed 9 months ago by LukasK

Updated version of outdated "CycleControls.patch". Developed against wxWidgets trunk, at r72457

Changed 9 months ago by LukasK

wxPython application for demonstrating the problem

Changed 5 months ago by LukasK

  • status changed from new to closed
  • resolution set to duplicate

This was fixed for #10848.
Resolving as duplicate.

Note: See TracTickets for help on using tickets.