Public bug reported:

[Impact]

* On Ubuntu Kylin 2604, tooltips display with an incorrect (oversized) 
dimension when hovering over application icons on the desktop, degrading the 
user experience of the UKUI desktop environment.
* The fix corrects the tooltip size calculation by using proper padding metrics 
(leftPadding/rightPadding/topPadding/bottomPadding) instead of a fixed 
multiplier, and adds automatic rich text detection for HTML content, restoring 
tooltip sizing to normal.

[Test Plan]

1. Install Ubuntu Kylin 2604 and boot into the UKUI desktop environment
2. Hover the mouse over various application icons on the desktop
3. Observe that the tooltip appears with a normal, correctly-sized appearance
4. Verify tooltips with both plain text and HTML/rich text content display 
properly
5. Confirm tooltip positioning remains correct after the size fix

[Where problems could occur]

* The change modifies tooltip implicit size calculation and text format
detection in QML. If there are edge cases where leftPadding/rightPadding
are zero or undefined, tooltips could render too small. The rich text
detection regex could also misidentify plain text containing angle
brackets as HTML. However, these scenarios are unlikely in normal UKUI
desktop usage.

[Other Info]

* This fix affects only the ToolTip.qml component in the qt6-ukui-
platformtheme package, with minimal and targeted changes.

** Affects: qt6-ukui-platformtheme (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2151863

Title:
  Tooltip displays oversized when hovering over desktop application
  icons

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt6-ukui-platformtheme/+bug/2151863/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to