Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No idea, that's what I saw, when I came back. #1626

Closed
hboetes opened this issue Oct 16, 2021 · 1 comment
Closed

No idea, that's what I saw, when I came back. #1626

hboetes opened this issue Oct 16, 2021 · 1 comment
Labels

Comments

@hboetes
Copy link
Member

hboetes commented Oct 16, 2021

Nicotine+ Version: 3.2.0.dev1
GTK Version: 3.24.30
Python Version: 3.8.12 (default, Sep 26 2021, 13:12:50)
[Clang 11.1.0 ]

Type: <class 'IndexError'>
Value: list index out of range
Traceback: File "/home/nicotine/src/nicotine-plus/pynicotine/gtkgui/frame.py", line 1464, in on_change_primary_tab
page_num = self.MainNotebook.page_num(visible_pages[tab_num - 1])

@hboetes hboetes added the bug label Oct 16, 2021
@slook
Copy link
Member

slook commented Oct 16, 2021

I have been able to reproduce this error @mathiascode it occurs when the number of visible primary tabs is less than 9 and a key-press event for Ctrl/Alt+ > visible_pages ... quite obvious really I'm surprised I missed this up until now, I think it's since 82fa35a

I suppose it must also happen when switching to a new secondary tab that is activated in a hidden primary tab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants