You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
This issue only relates to a single bug. I will open new issues for any other problems.
Describe the bug
If you remove all tabs from DocTabs, the selected indicator for the last tab remains visible.
How to reproduce
Run the attached test case. The first time will fail because the testdata is not present. Copy the failed files to the testdata folder and rerun - it will now run and pass all tests. Now compare emptyTabs.xml to afterTabRemoval.xml. The indicator rectangle which has a size of zero in emptyTabs now has an actual size and position in afterTabRemoval. Performing a DocTabs.SelectItem(-1) or DocTabs.Refresh() has no effect.
Checklist
Describe the bug
If you remove all tabs from DocTabs, the selected indicator for the last tab remains visible.
How to reproduce
Run the attached test case. The first time will fail because the testdata is not present. Copy the failed files to the testdata folder and rerun - it will now run and pass all tests. Now compare emptyTabs.xml to afterTabRemoval.xml. The indicator rectangle which has a size of zero in emptyTabs now has an actual size and position in afterTabRemoval. Performing a DocTabs.SelectItem(-1) or DocTabs.Refresh() has no effect.
Screenshots
Example code
Fyne version
2.3.5
Go compiler version
1.21.0
Operating system and version
Windows 10
Additional Information
Here's the full test project, including testdata:
fyneDocTabsIndicatorTest.zip
The text was updated successfully, but these errors were encountered: