Summary: | Avoid opening more than one "get new applets" windows | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | postix <postix> |
Component: | Widget Explorer | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | bugseforuns, nate, postix |
Priority: | NOR | Keywords: | junior-jobs, usability |
Version: | 5.16.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/815c6ae8888a13cdb0c298ccf9adafd3bd9bc251 | Version Fixed In: | 5.21 |
Description
postix
2019-10-09 14:09:09 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/570 Git commit 815c6ae8888a13cdb0c298ccf9adafd3bd9bc251 by Nate Graham, on behalf of Willyanto Willyanto. Committed on 19/01/2021 at 16:07. Pushed by ngraham into branch 'master'. Fix opening more than one get new applets windows A new instance WidgetExplorer is created everytime we open get new applets window. Each and every instance of WidgetExplorer has its own newStuffDialog. This means that downloadWidgets method will always create new instance of QtQuickDialogWrapper due to the default value of newStuffDialog is null. Change newStuffDialog to static so that it will be shared to every instances of WidgetExplorer. This prevents another get new applets window to be opened. M +3 -1 components/shellprivate/widgetexplorer/widgetexplorer.cpp https://invent.kde.org/plasma/plasma-workspace/commit/815c6ae8888a13cdb0c298ccf9adafd3bd9bc251 |