[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-09-11 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=473798

--- Comment #19 from Fushan Wen  ---
Git commit 436d456bef16ed30a4f8bfbda93d0cb42d7808b9 by Fushan Wen.
Committed on 10/09/2023 at 01:32.
Pushed by fusionfuture into branch 'master'.

Lazy load MobileTextActionsToolBar

In most cases desktop users won't need it, and according to qmlprofiler,
compiling MobileTextActionsToolBar.qml usually takes about 50~100ms
depending on the hardware and disk speed. After this change, the
compilation only takes 10~20ms, which significantly speeds up the opening
speed of config dialogs.

M  +7-66   org.kde.desktop/private/MobileTextActionsToolBar.qml
C  +9-21   org.kde.desktop/private/MobileTextActionsToolBarImpl.qml [from:
org.kde.desktop/private/MobileTextActionsToolBar.qml - 050% similarity]

https://invent.kde.org/frameworks/qqc2-desktop-style/-/commit/436d456bef16ed30a4f8bfbda93d0cb42d7808b9

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-09-06 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=473798

--- Comment #18 from Fushan Wen  ---
Git commit 0f91327c650991f71803276f992981244329ab43 by Fushan Wen.
Committed on 07/09/2023 at 04:50.
Pushed by fusionfuture into branch 'master'.

wallpapers/image: lazy load image model and slide model

1. Make sure the image model and the slide model are only created
   when necessary, so the slide model will not consume resource when the
   image plugin is used, and vice versa.
2. When used in a config dialog, the model is created only after the
   component is completely created, which means all bindings are properly
   set. This avoids some unnecessary work.

M  +67   -32   wallpapers/image/plugin/imagebackend.cpp
M  +9-6wallpapers/image/plugin/imagebackend.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/0f91327c650991f71803276f992981244329ab43

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-09-02 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=473798

--- Comment #17 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3245

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-09-01 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=473798

--- Comment #16 from Fushan Wen  ---
Git commit 2c77155c583a734f2f63e76842399eab37f35b0a by Fushan Wen.
Committed on 01/09/2023 at 19:06.
Pushed by fusionfuture into branch 'master'.

Button: don't compile NewStuff.Dialog on the first load

When Loader.sourceComponent is set, QML engine will precompile the
component even if the Loader is not active. This reduces the compilation
time by about 15% (400ms -> 300ms).

M  +24   -30   src/qtquick/qml/Button.qml

https://invent.kde.org/frameworks/knewstuff/-/commit/2c77155c583a734f2f63e76842399eab37f35b0a

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-08-31 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=473798

--- Comment #15 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/frameworks/knewstuff/-/merge_requests/273

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-08-31 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=473798

--- Comment #14 from Fushan Wen  ---
Git commit 91eb28e53233b97031163faf126f361d235b6500 by Fushan Wen.
Committed on 01/09/2023 at 03:17.
Pushed by fusionfuture into branch 'kf5'.

GridDelegate: lazy load menu

The menu is only used for keyboard navigation, so no need to always load
it. This speeds up the compilation of GridDelegate.

(cherry picked from commit 0068222cf64877f109c8f23feb7906e11d09b7dd)

M  +19   -27   src/qmlcontrols/kcmcontrols/qml/GridDelegate.qml
A  +32   -0src/qmlcontrols/kcmcontrols/qml/private/GridDelegateMenu.qml
[License: LGPL(v2.0+)]

https://invent.kde.org/frameworks/kdeclarative/-/commit/91eb28e53233b97031163faf126f361d235b6500

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-08-31 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=473798

--- Comment #13 from Fushan Wen  ---
Git commit 0068222cf64877f109c8f23feb7906e11d09b7dd by Fushan Wen.
Committed on 01/09/2023 at 03:09.
Pushed by fusionfuture into branch 'master'.

GridDelegate: lazy load menu

The menu is only used for keyboard navigation, so no need to always load
it. This speeds up the compilation of GridDelegate.

M  +18   -30   src/qml/components/GridDelegate.qml
A  +35   -0src/qml/components/private/GridDelegateMenu.qml [License:
LGPL(v2.0+)]

https://invent.kde.org/frameworks/kcmutils/-/commit/0068222cf64877f109c8f23feb7906e11d09b7dd

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-08-31 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=473798

--- Comment #12 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/frameworks/kcmutils/-/merge_requests/165

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-08-31 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=473798

--- Comment #11 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/frameworks/kdeclarative/-/merge_requests/214

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-08-31 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=473798

--- Comment #10 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/279

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-08-31 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=473798

--- Comment #9 from Fushan Wen  ---
Git commit dc4a5648bc9c12ce32cba31b97348f3577b8eeef by Fushan Wen.
Committed on 31/08/2023 at 13:11.
Pushed by fusionfuture into branch 'master'.

wallpapers/image: use versionless import in config dialog

According to qmlprofiler, this can slightly reduce the compilation time.

M  +3-4   
wallpapers/image/imagepackage/contents/ui/ThumbnailsComponent.qml
M  +4-4wallpapers/image/imagepackage/contents/ui/WallpaperDelegate.qml
M  +8-8wallpapers/image/imagepackage/contents/ui/config.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/dc4a5648bc9c12ce32cba31b97348f3577b8eeef

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-08-30 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=473798

Fushan Wen  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi
   |t/17f63b8fc5a808f6231c83ecb |t/1c23150b14776e8d1d0d84c2a
   |d9c1376c42b748d |5a44c3205968d78

--- Comment #8 from Fushan Wen  ---
Git commit 1c23150b14776e8d1d0d84c2a5a44c3205968d78 by Fushan Wen.
Committed on 30/08/2023 at 19:12.
Pushed by fusionfuture into branch 'Plasma/5.27'.

wallpapers/image: don't add files/folders to KDirWatch again in proxy model

which leads to unnecessary duplicate watched items because KDirWatch
already monitors those files/folders by monitoring their parent folder
in customPaths.
FIXED-IN: 5.27.8

(cherry picked from commit 17f63b8fc5a808f6231c83ecbd9c1376c42b748d)

M  +12   -7wallpapers/image/plugin/autotests/test_imageproxymodel.cpp
M  +39   -77   wallpapers/image/plugin/model/imageproxymodel.cpp
M  +8-6wallpapers/image/plugin/model/imageproxymodel.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/1c23150b14776e8d1d0d84c2a5a44c3205968d78

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-08-30 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=473798

Fushan Wen  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/plas
   ||ma/plasma-workspace/-/commi
   ||t/17f63b8fc5a808f6231c83ecb
   ||d9c1376c42b748d
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
   Version Fixed In||5.27.8

--- Comment #7 from Fushan Wen  ---
Git commit 17f63b8fc5a808f6231c83ecbd9c1376c42b748d by Fushan Wen.
Committed on 30/08/2023 at 19:04.
Pushed by fusionfuture into branch 'master'.

wallpapers/image: don't add files/folders to KDirWatch again in proxy model

which leads to unnecessary duplicate watched items because KDirWatch
already monitors those files/folders by monitoring their parent folder
in customPaths.
FIXED-IN: 5.27.8

M  +12   -7wallpapers/image/plugin/autotests/test_imageproxymodel.cpp
M  +40   -77   wallpapers/image/plugin/model/imageproxymodel.cpp
M  +8-6wallpapers/image/plugin/model/imageproxymodel.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/17f63b8fc5a808f6231c83ecbd9c1376c42b748d

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-08-30 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=473798

Bug Janitor Service  changed:

   What|Removed |Added

 Status|NEEDSINFO   |ASSIGNED
 Resolution|WAITINGFORINFO  |---

--- Comment #6 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3232

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-08-30 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=473798

Fushan Wen  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|ASSIGNED|NEEDSINFO

--- Comment #5 from Fushan Wen  ---
Can anyone confirm
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3229 fixes the
bug? I personally can reproduce the bug with dozens of wallpapers neither
before nor after applying the patch, but in theory the patch should make the
dialog open faster.

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-08-30 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=473798

Bug Janitor Service  changed:

   What|Removed |Added

 Status|NEEDSINFO   |ASSIGNED
 Resolution|WAITINGFORINFO  |---

--- Comment #4 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3229

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-08-29 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=473798

--- Comment #3 from Patrick Silva  ---
(In reply to Fushan Wen from comment #2)
> How many wallpapers do you have?

42

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-08-29 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=473798

Fushan Wen  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|CONFIRMED   |NEEDSINFO

--- Comment #2 from Fushan Wen  ---
How many wallpapers do you have?

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-08-29 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=473798

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #1 from Nate Graham  ---
Can basically reproduce. It's not 3 seconds for me, but it's noticeably slow.

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

[plasmashell] [Bug 473798] List of wallpapers takes ~3 seconds to load

2023-08-27 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=473798

Patrick Silva  changed:

   What|Removed |Added

   Keywords||qt6

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