https://bugs.kde.org/show_bug.cgi?id=500578

            Bug ID: 500578
           Summary: InlineMessage linkActivated has an empty link argument
    Classification: Frameworks and Libraries
           Product: frameworks-kirigami
           Version: Master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: sit...@kde.org
                CC: notm...@gmail.com
  Target Milestone: Not decided

SUMMARY
When an InlineMessage contains a link it cannot be activated at all.

Apparently regressed in
https://invent.kde.org/frameworks/kirigami/-/merge_requests/1638

>        Kirigami.InlineMessage {
>            text: xi18nc("@info","foo <link url='fake:open-details'>view 
> detailed output</link>.")
>            onLinkActivated: (link) => {
>                console.log("link activated:", link)
>            }
>        }

DrKonqi has a bunch of those and one critically important one for diagnostic
data.

STEPS TO REPRODUCE
1. click link
2. signal gets emitted with empty link string

OBSERVED RESULT
Links dont work

EXPECTED RESULT
Links work

SOFTWARE/OS VERSIONS
Operating System: KDE Linux 202502130256
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: AMD Radeon RX 7800 XT

ADDITIONAL INFORMATION
InlineMessage contains a SelectableLabel. SelectableLabel contains derives the
activated link from a HoverHandler
https://invent.kde.org/frameworks/kirigami/-/blob/b2c2d1c86b98da27f348a06320d653a6eba842cc/src/controls/SelectableLabel.qml#L137
the HoverHandle is disabled
https://invent.kde.org/frameworks/kirigami/-/blob/b2c2d1c86b98da27f348a06320d653a6eba842cc/src/controls/SelectableLabel.qml#L149
-> no hovered link -> no activated link

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to