Created attachment 178302 [details] complete output from strace SUMMARY Sometimes, when I hover over the text of a file with a really long name, the full name of the file appears in a new window which briefly opens, and then closes. Issue is not 100% reproducible Video showing the issue: https://www.youtube.com/watch?v=vLU6SG-cZDQ STEPS TO REPRODUCE 1. Have a file with a really long name 2. Hover over the file's name 3. Full name might appear in a new window OBSERVED RESULT The file's full name sometimes briefly appears in a new window which closes after a split second EXPECTED RESULT The file's full name should always appears in a small popup beside the cursor. SOFTWARE/OS VERSIONS Operating System: Gentoo Linux 2.17 KDE Plasma Version: 6.3.0 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.2 Kernel Version: 6.6.75-gentoo (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor Memory: 30.9 GiB of RAM Graphics Processor: AMD Radeon RX 6800
Can confirm this happens sometimes. For me it happens pretty often. I just had to set a filename to `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.txt` Operating System: Fedora Linux 41 KDE Plasma Version: 6.3.80 KDE Frameworks Version: 6.12.0 Qt Version: 6.8.2 Kernel Version: 6.12.15-200.fc41.x86_64 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 3600 6-Core Processor Memory: 15.5 GiB of RAM Graphics Processor: AMD Radeon RX 6600
Seems it happens only when the window with the filename has not been activated at all. But if it's somehow activated, like even clicked on once, things start working for me.
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/921
Git commit 99c48acc8ea5e614e447a8f62d92c8d12e9cf58b by Akseli Lahtinen. Committed on 27/02/2025 at 12:05. Pushed by akselmo into branch 'master'. dolphinview: Add widget parameter to elided QToolTip::showText Without this parameter the QToolTip can not always determine what is the parent, so it will create a toplevel window in those cases. Make sure we have dolphinview itself as a widget there, so QToolTip and thus QtWayland can resolve what is the parent. This avoids creating random windows when opening a tooltip. M +1 -1 src/views/dolphinview.cpp https://invent.kde.org/system/dolphin/-/commit/99c48acc8ea5e614e447a8f62d92c8d12e9cf58b
*** Bug 497249 has been marked as a duplicate of this bug. ***
*** Bug 502466 has been marked as a duplicate of this bug. ***