- 11 Mar, 2019 1 commit
-
-
Eike Hein authored
Summary: BUG:405076 Reviewers: #plasma, mart Reviewed By: #plasma, mart Subscribers: broulik, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D19518
-
- 03 Jan, 2019 1 commit
-
-
David Edmundson authored
Summary: RunnerMatchesModel is backed by a list. When this list changes RunnerManagerModel add/removes the new number of rows then called dataChanged on everything that remained. It's a common pattern, but not a great one. Especially with QtQuick where moving a delegate is faster than updating all the properties of an existing one - unfortunately I can't find a nice solution to do this properly in linear time. The problem with the current code is we update the entire list in the insert/remove rows. This is a violation of the model rules as we're updating rows outside the rows listed inside begin/remove rows. It works, but Qt's model test fails. We also have a lot of duplicates of a crash in QtQuick after runner model changes, bug 369430. I think it could be related, but can't prove anything. This patch updates the rows that exist in both the before and after models before adding/removing the remaining rows. BUG: 402439 Test Plan: Added Qt model tester in https://phabricator.kde.org/P283 It now passes. Reviewers: #plasma, hein Reviewed By: #plasma, hein Subscribers: hein, apol, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D17725
-
- 29 Nov, 2018 1 commit
-
-
Laurent Montel authored
-
- 27 Nov, 2018 1 commit
-
-
Nate Graham authored
-
- 26 Nov, 2018 2 commits
-
-
Kevin Funk authored
-
Kevin Funk authored
Summary: Trace: Direct leak of 336 byte(s) in 6 object(s) allocated from: #0 0x544cc0 in operator new(unsigned long) (/home/kfunk/devel/install/kf5/bin/plasmashell+0x544cc0) #1 0x7fbad15cddaf in KAStatsFavoritesModel::Private::entryForResource(QString const&) const /home/kfunk/devel/src/kf5/plasma-desktop/applets/kicker/plugin/kastatsfavoritesmodel.cpp:171:24 #2 0x7fbad15b2d8e in KAStatsFavoritesModel::Private::addResult(QString const&, int, bool) /home/kfunk/devel/src/kf5/plasma-desktop/applets/kicker/plugin/kastatsfavoritesmodel.cpp:280:22 #3 0x7fbad15b044f in KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString) /home/kfunk/devel/src/kf5/plasma-desktop/applets/kicker/plugin/kastatsfavoritesmodel.cpp:233:13 #4 0x7fbad15a78ea in KAStatsFavoritesModel::initForClient(QString const&) /home/kfunk/devel/src/kf5/plasma-desktop/applets/kicker/plugin/kastatsfavoritesmodel.cpp:485:13 ... Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D17039
-
- 16 Nov, 2018 2 commits
-
-
Kevin Funk authored
-
Kevin Funk authored
... to make Clang a bit more happy
-
- 27 Sep, 2018 2 commits
-
-
Laurent Montel authored
-
Laurent Montel authored
-
- 27 Aug, 2018 1 commit
-
-
Yuri Chornoivan authored
-
- 08 Aug, 2018 1 commit
-
-
Kai Uwe Broulik authored
Makes it consistent with other places where such an entry exists, such as Dolphin's context menu Differential Revision: https://phabricator.kde.org/D14671
-
- 07 Aug, 2018 1 commit
-
-
Kai Uwe Broulik authored
For KCMs we get a relative entryPath() for our KService resulting in an invalid URL being created. BUG: 397070 FIXED-IN: 5.14.0 Differential Revision: https://phabricator.kde.org/D14647
-
- 06 Aug, 2018 1 commit
-
-
Shubham . authored
Reviewers: jgrulich, hein, abetts Reviewed By: hein Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D14652
-
- 25 Jul, 2018 1 commit
-
-
Laurent Montel authored
-
- 11 Jul, 2018 5 commits
-
-
Kai Uwe Broulik authored
-
Kai Uwe Broulik authored
-
Kai Uwe Broulik authored
Fixes timeline and search URLs in "Computer" tab BUG: 363337 FIXED-IN: 5.12.7 Differential Revision: https://phabricator.kde.org/D14029
-
Kai Uwe Broulik authored
This groups entries in Places under the same categories (Places, Recently Saved, Remote, Devices, etc) as in all other places where Places are shown Differential Revision: https://phabricator.kde.org/D14030
-
Kai Uwe Broulik authored
It is only used in one place and cached, so no need for a global static that is created as soon as the plugin is loaded. Differential Revision: https://phabricator.kde.org/D13999
-
- 03 Jul, 2018 3 commits
-
-
Eike Hein authored
-
Eike Hein authored
-
Eike Hein authored
The InvalidAppsFilterProxy and GroupSortProxy models were creating circular parent-child relationships by setting themselves as parents of their parent objects. Reviewers: davidedmundson, mart Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D13856
-
- 01 Jun, 2018 3 commits
-
-
Eike Hein authored
-
Eike Hein authored
-
Eike Hein authored
Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D13273
-
- 28 May, 2018 1 commit
-
-
Eike Hein authored
This reverts commit 8d113b09598c0cd0f92d6395c7c7dec8c65fa735.
-
- 21 May, 2018 1 commit
-
-
Nate Graham authored
Summary: Users get confused by the difference between "Pin to Task Manager" and "Add to Panel (Widget)", and we get bugs about this. This patch resolves that confusion by only showing "Add to Panel (Widget)" when there's no Task Manager widget. BUG: 390817 FIXED-IN: 5.14.0 Test Plan: Dragging-and-dropping an app from Kicker or Kickoff pins it to the Task Manager if there's a Task Manager, or creates a Panel launcher if there's no Task Manager. Context menu items: Task Manager, widgets unlocked: {F5856628} Task Manager, Widgets locked: {F5856629} No Task Manager, Widgets unlocked: {F5856630} Task Manager, Widgets unlocked: {F5856631} Reviewers: #plasma, davidedmundson, mart Reviewed By: #plasma, mart Subscribers: mart, davidedmundson, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D12969
-
- 18 May, 2018 3 commits
-
-
Eike Hein authored
-
Eike Hein authored
Submodels are exclusively created from C++, so the QQmlParserStatus contract does not run. Run componentComplete() manually to cause a refresh.
-
Eike Hein authored
Summary: Fixes regression introduced by a0ca2d1bc204. BUG:394322 Reviewers: broulik, sitter Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D12958
-
- 14 May, 2018 1 commit
-
-
Алексей Шилин authored
Summary: D10890 was a workaround related to KRecentDocument::add() bug (see D10863) which is fixed in Frameworks 5.46. Given that Plasma 5.13 depends on that Frameworks version, it's safe to remove this no longer needed workaround without breaking anything. Reviewers: #plasma, broulik, hein Reviewed By: #plasma, hein Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D12701
-
- 11 May, 2018 1 commit
-
-
Eike Hein authored
Summary: This fixes a regression introduced in 38403268aad3, which forgot to handle the branch where the counts are the same. BUG:394013 Reviewers: #plasma Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D12774
-
- 18 Apr, 2018 1 commit
-
-
Eike Hein authored
Reviewers: #plasma, broulik Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D12324
-
- 17 Apr, 2018 2 commits
-
-
David Faure authored
-
David Faure authored
Summary: The new asserts added in qtbase in commit 00c09e752f (Qt 5.11) are triggered by this invalid code, which sets up the model before the begin* methods. So Qt already sees the new rowCount in that method, which is wrong. Test Plan: Opening the K menu Reviewers: hein, davidedmundson Reviewed By: davidedmundson Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D12275
-
- 05 Apr, 2018 2 commits
-
-
Kai Uwe Broulik authored
-
Kai Uwe Broulik authored
Forward the action information to the model and pass all information to run. This way future me will not have to wonder why actions don't work when he touches this area of code again. Differential Revision: https://phabricator.kde.org/D11927
-
- 08 Mar, 2018 2 commits
-
-
Алексей Шилин authored
-
Алексей Шилин authored
Summary: Due to KRecentDocument::add() bug, application name '<app>' could be stored for recent documents instead of its desktop entry name 'org.kde.<app>'. This issue mostly affects items opened from apps themselves, while items opened from e.g. Dolphin are not affected. (The bug is fixed by D10863, but we depend on Frameworks 5.42 which doesn't include it.) Kicker and taskmanager used to query for '<app>' agent only, thus excluding items with correct 'org.kde.<app>' agent. This commit makes kicker and taskmanager query for both '<app>' and 'org.kde.<app>' agents in order to get all recent documents for the application. Test Plan: # Create 'test1' and 'test2' text files. # Open 'test1' in Kate from Dolphin. # Open 'test2' from Kate itself. # Right-click Kate in Kicker/Kickoff and Task Manager and check that both files are present there. Reviewers: #plasma, broulik, hein Reviewed By: #plasma, hein Subscribers: anthonyfieroni, ngraham, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D10890
-