| Summary: | Document switcher layout is broken | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | popov895 <popov895> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | christoph, popov895, waqar.17a |
| Priority: | NOR | ||
| Version First Reported In: | Git | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Document Swicther | ||
Yes, seems an issue if all documents are untitled, not sure why. Hmm, at work I could reproduce, on X11, at home with Wayland this seems to work properly. Interestingly, the popup doesn't even have a parent widget. The reason is simple: The 0th column contains the path of the files. Since there are only untitled documents, there are only empty paths, i.e. of length = 0 chars. The 0th column is still visible, likely with a minimum width. The possible fix is: When showing the tab switcher, first check whether there is an entry with a valid path. If not, hide column 0. Then this should be fixed. Hmm, funny enough, for me this works on X11 and Wayland even with that. I can no longer reproduce this bug. |
Created attachment 151515 [details] Document Swicther SUMMARY The layout in the Document Switcher plugin is broken. SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.25.80 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.5 Graphics Platform: X11