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

Tomáš Hnyk <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |NEEDSINFO
         Resolution|---                         |WAITINGFORINFO

--- Comment #7 from Tomáš Hnyk <[email protected]> ---
Specifically this code:

https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/7051/diffs?file_path=applets%2Fclipboard%2Fqml%2Fmain.qml#63f11254f18be4be3341e23d5452f6972725413b

readonly property bool clipboardHasPassword:
historyModel.sourceModel.clipboardHasPassword
    readonly property bool selectionHasPassword:
historyModel.sourceModel.selectionHasPassword
    readonly property bool hasNothingToShow: isClipboardEmpty &&
!clipboardHasPassword && !selectionHasPassword

    switchWidth: Kirigami.Units.gridUnit * 12
    switchHeight: Kirigami.Units.gridUnit * 12
    // Stays active while expanded, so the handler below can still collapse it
    Plasmoid.status: if (!hasNothingToShow || main.expanded) {
        PlasmaCore.Types.ActiveStatus
    } else if (main.inEmbeddedContainment) {
        PlasmaCore.Types.HiddenStatus
    } else {
        PlasmaCore.Types.PassiveStatus
    }
    toolTipMainText: i18n("Clipboard Contents")
    toolTipSubText: if (hasNothingToShow) {
        i18n("Clipboard is empty")
    } else if (clipboardHasPassword && selectionHasPassword) {
        i18nc("@info", "The clipboard and the selection currently hold
sensitive data")
    } else if (clipboardHasPassword) {
        i18nc("@info", "The clipboard currently holds sensitive data")
    } else if (selectionHasPassword) {
        i18nc("@info", "The selection currently holds sensitive data")
    } else {
        historyModel.currentText
    }

Should take care of that. Can anybody really reproduce this on Firefox 6.9 ?

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

Reply via email to