Re: Review Request 124208: Fallback for componentFriendlyForAction name resolving
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/124208/#review83642 --- It looks that this patch doesn't work as it should. For me action-property(componentDisplayName) always returns an empty string and thus System setting is used from QGuiApplication::applicationDisplayName() for all components. When I open configuration for global shortcuts for the first time I see like ~10 components, but after it gets saved then everything is merged into one component called System settings. This was working fine before this change. - Jan Grulich On Čec. 1, 2015, 7:49 dop., Martin Gräßlin wrote: --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/124208/ --- (Updated Čec. 1, 2015, 7:49 dop.) Review request for KDE Frameworks and Harald Sitter. Repository: kglobalaccel Description --- Currently the name is resolved from an undocumented dynamic property which gets set by KActionCollection (xmlgui). If one uses KGlobalAccel without using KActionCollection one would have to know the name of the private property. To provide a better name the method performs the same fallbacks as KActionCollection. If the property is not set, it uses either the application display name or the application name. Diffs - src/kglobalaccel.cpp 6838bbcfd91d690c067b12db133b6abca5f24203 Diff: https://git.reviewboard.kde.org/r/124208/diff/ Testing --- KWin's component now reported properly as KWin. (KWin is the testcase as it doesn't use xmlgui.) Thanks, Martin Gräßlin ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: Review Request 124208: Fallback for componentFriendlyForAction name resolving
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/124208/ --- (Updated July 1, 2015, 7:49 a.m.) Status -- This change has been marked as submitted. Review request for KDE Frameworks and Harald Sitter. Changes --- Submitted with commit e2cfe1752c5d35779c030dd4c909d172876489ba by Martin Gräßlin to branch master. Repository: kglobalaccel Description --- Currently the name is resolved from an undocumented dynamic property which gets set by KActionCollection (xmlgui). If one uses KGlobalAccel without using KActionCollection one would have to know the name of the private property. To provide a better name the method performs the same fallbacks as KActionCollection. If the property is not set, it uses either the application display name or the application name. Diffs - src/kglobalaccel.cpp 6838bbcfd91d690c067b12db133b6abca5f24203 Diff: https://git.reviewboard.kde.org/r/124208/diff/ Testing --- KWin's component now reported properly as KWin. (KWin is the testcase as it doesn't use xmlgui.) Thanks, Martin Gräßlin ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Review Request 124208: Fallback for componentFriendlyForAction name resolving
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/124208/ --- Review request for KDE Frameworks and Harald Sitter. Repository: kglobalaccel Description --- Currently the name is resolved from an undocumented dynamic property which gets set by KActionCollection (xmlgui). If one uses KGlobalAccel without using KActionCollection one would have to know the name of the private property. To provide a better name the method performs the same fallbacks as KActionCollection. If the property is not set, it uses either the application display name or the application name. Diffs - src/kglobalaccel.cpp 6838bbcfd91d690c067b12db133b6abca5f24203 Diff: https://git.reviewboard.kde.org/r/124208/diff/ Testing --- KWin's component now reported properly as KWin. (KWin is the testcase as it doesn't use xmlgui.) Thanks, Martin Gräßlin ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: Review Request 124208: Fallback for componentFriendlyForAction name resolving
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/124208/#review81855 --- Ship it! Ship It! - Harald Sitter On June 29, 2015, 9:18 a.m., Martin Gräßlin wrote: --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/124208/ --- (Updated June 29, 2015, 9:18 a.m.) Review request for KDE Frameworks and Harald Sitter. Repository: kglobalaccel Description --- Currently the name is resolved from an undocumented dynamic property which gets set by KActionCollection (xmlgui). If one uses KGlobalAccel without using KActionCollection one would have to know the name of the private property. To provide a better name the method performs the same fallbacks as KActionCollection. If the property is not set, it uses either the application display name or the application name. Diffs - src/kglobalaccel.cpp 6838bbcfd91d690c067b12db133b6abca5f24203 Diff: https://git.reviewboard.kde.org/r/124208/diff/ Testing --- KWin's component now reported properly as KWin. (KWin is the testcase as it doesn't use xmlgui.) Thanks, Martin Gräßlin ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel