Bug 467119

Summary: Tooltips are oftentimes cut when they intersect with something
Product: [I don't know] kde Reporter: David <david.cortes.rivera>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: hover_cut_short
kde_font_settings

Description David 2023-03-09 16:28:13 UTC
Created attachment 157149 [details]
hover_cut_short

SUMMARY
Oftentimes, tooltips that appear when hovering the mouse over something will be cut short if they intersect with some button or similar. See attached screenshot for an example. Happens in pretty much every KDE app.

STEPS TO REPRODUCE (bug happens rather randomly, might work instantaneously)
1. Launch some KDE app that would have tooltips appearing when hovering the mouse over something. Examples: dolphin, spectacle.
2. Hover the mouse over buttons near the window edges that would trigger a tooltip, or near buttons that are placed close to some widget like "set zoom level" or checkbox-like icons.

OBSERVED RESULT
Oftentimes, the tooltip is cut.

EXPECTED RESULT
Tooltip should always appear in full.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-6-amd64 (64-bit)
Graphics Platform: X11
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: SLIMBOOK
Product Name: Executive

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-03-13 19:07:33 UTC
> Happens in pretty much every KDE app
That's weird because I don't think I've ever seen this happen. Are you using any non-default fonts, font sizes, or other similar settings?
Comment 2 David 2023-03-13 19:09:40 UTC
Created attachment 157240 [details]
kde_font_settings

I am using debian-default fonts (which look different from the ones in your screenshot) with non-default sizes. Attached is a screenshot of the configuration.
Comment 3 Nate Graham 2023-03-14 13:51:28 UTC
Hah, your settings are actually identical to my own. Can you try to find a pattern for which tooltips get cut off and which ones don't? Are the cut-off ones always near the right screen edge? Do you have multiple monitors? Does it reproduce with a new user account?
Comment 4 David 2023-03-14 16:39:37 UTC
(In reply to Nate Graham from comment #3)
> Hah, your settings are actually identical to my own. Can you try to find a
> pattern for which tooltips get cut off and which ones don't? Are the cut-off
> ones always near the right screen edge? Do you have multiple monitors? Does
> it reproduce with a new user account?

(a) All tooltips in QT apps get cut at random times.
(b) No, happens anywhere, including in the middle of the app if they intersect with another button.
(c) I have a single monitor.
(d) Haven't tried with a different user, but this is a new computer that I set up without carrying any old settings under /home. Every setting I've changed was done manually through the current systemsettings5 app from plasma 5.27.2.
Comment 5 Bug Janitor Service 2023-03-29 03:45:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 David 2023-03-29 08:57:58 UTC
(In reply to Bug Janitor Service from comment #5)
> Dear Bug Submitter,
> 
> This bug has been in NEEDSINFO status with no change for at least
> 15 days. Please provide the requested information as soon as
> possible and set the bug status as REPORTED. Due to regular bug
> tracker maintenance, if the bug is still in NEEDSINFO status with
> no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
> due to lack of needed information.
> 
> For more information about our bug triaging procedures please read the
> wiki located here:
> https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging
> 
> If you have already provided the requested information, please
> mark the bug as REPORTED so that the KDE team knows that the bug is
> ready to be confirmed.
> 
> Thank you for helping us make KDE software even better for everyone!

All requested info is provided.
Comment 7 Nate Graham 2023-03-29 14:40:26 UTC
Does the issue still happen if you use a different widget style like Oxygen?
Comment 8 David 2023-03-29 17:49:46 UTC
(In reply to Nate Graham from comment #7)
> Does the issue still happen if you use a different widget style like Oxygen?

You mean application style? It happens with oxygen too.
Comment 9 Nate Graham 2023-03-29 18:20:19 UTC
In that case this is almost certainly a Qt bug. I don't see any other option given how universal it is for you. Feel free to submit a bug report about it to bugreports.qt.io.