Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#121 drpython-165: switching tabs does not correctl

closed
nobody
None
5
2008-02-25
2008-02-24
Tiziano Mueller
No

One of our users reported the following error together with a patch:

After switching tabs using the keyboard shortcut (Ctrl+Tab), some commands
(e.g. cut, copy, paste, run) are applied to the previously visible document.
Switching tabs by clicking on them works fine.

Reproducible: Always

Steps to Reproduce:
1.Open multiple documents
2.Select some text in one document
3.Ctrl-tab to another document
4.Press Ctrl+X to cut selected text

Actual Results:
The command is applied to the first document, not the current one

Using:
wxpython-2.6.4.0
wxGTK-2.8.7.1-r1

Discussion

  • Logged In: YES
    user_id=772872
    Originator: NO

    Thank you for reporting that. I tried immediatly on windows, and I saw at once, that that text was pasted into the previous document. The patch looks at first glance good, but other tab switching functions aren't working properly anymore then.

     
  • Logged In: YES
    user_id=772872
    Originator: NO

    checked in into svn, in windows there was a problem, so I changed the patch to:
    wx.CallAfter (self.SetTab) in drNotebook.py.

     
  • Logged In: YES
    user_id=772872
    Originator: NO

    I close the bug n

     
    • status: open --> closed