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

            Bug ID: 494991
           Summary: regression: InlineMessage linkActivated opens the link
                    automatically
    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
InlineMessage linkActivated opens the link automatically which makes it
impossible to handle the opening in a custom fashion. This particularly
regresses drkonqi which uses fake urls all over the place to link to resources
that are created on-demand and then opened.

STEPS TO REPRODUCE
        Kirigami.InlineMessage {
            text:  xi18nc("@info", "Failed to submit bug report:
<message>%1</message>. When filing a bug report please also include the <link
url='#context'>context data</link>", errorContext)
            onLinkActivated: (link) => {
                if (link === "#context") {
                    DrKonqi.saveReport(contextData)
                }
            }

OBSERVED RESULT
fake url opens

EXPECTED RESULT
fake url doesn't open

SOFTWARE/OS VERSIONS
Operating System: KDE Linux 0d1b87bb
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.3-arch1-1
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

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

Reply via email to