Bug 487470 - Cursor near bottom or right edge of window has tooltips appear on the opposite side of the window
Summary: Cursor near bottom or right edge of window has tooltips appear on the opposit...
Status: RESOLVED DUPLICATE of bug 487339
Alias: None
Product: filelight
Classification: Applications
Component: general (show other bugs)
Version: 24.05.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-24 11:16 UTC by Mohammed Chelouti
Modified: 2024-05-27 12:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Demonstration of the odd tooltip placement (599.57 KB, video/mp4)
2024-05-24 11:16 UTC, Mohammed Chelouti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mohammed Chelouti 2024-05-24 11:16:09 UTC
Created attachment 169767 [details]
Demonstration of the odd tooltip placement

SUMMARY
Tooltip positioning in Filelight is wrong when the cursor is getting close to the bottom or right window border.

STEPS TO REPRODUCE
1. Perform a scan
2. Ensure the application window is sized in a way that the pie chart has very little padding from the window border
2. Move the mouse cursor over the pie chart and observe the tooltip
3. Move the cursor close the bottom or right edge

OBSERVED RESULT
The tooltip will be rendered on the opposite side of the *window*, when the cursor is too close to the edge.

EXPECTED RESULT
The tooltip will be rendered on the opposite side of the *cursor* (if window border is at physical screen border) OR beyond the window border.

SOFTWARE/OS VERSIONS
Linux: ArchLinux
Kernel: 6.9.1
KDE Plasma Version: N/A
KDE Frameworks Version: 6.2.1 
Qt Version: 6.7.1 (Built against 6.7.0)
Display Server Platform: Wayland
Wayland Compositor: river 0.3.0

ADDITIONAL INFORMATION
The issue can be observed, regardless of how close to a border of the physical monitor the window border is.

I checked if other KDE apps have the same issue. But both Dolphin and Okular draw differnet looking tooltips that are rendered outside the window border.

Only tested on Wayland.
Comment 1 Harald Sitter 2024-05-27 12:04:29 UTC

*** This bug has been marked as a duplicate of bug 487339 ***