Bug 503831

Summary: It is not possible to load a complete list of global themes via system settings. The scroll bar must be scrolled up and down several times to load new themes. There is no error message, but themes are missing from the list.
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: Alexander Schmidt <2f5ed1c5>
Component: generalAssignee: Dan Leinir Turthra Jensen <admin>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alexander.lohnau, john.kizer, kdelibs-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Schmidt 2025-05-06 08:13:17 UTC
SUMMARY

It is not possible to load a complete list of global themes via system settings. The scroll bar must be scrolled up and down several times to load new themes. There is no error message, but themes are missing from the list.


STEPS TO REPRODUCE

1. Invoke "System Settings".
2. Select "Colors & Themes" 
3. Select "Plasma Style"
4. Select "Get New...".
5. Use the Scrollbar to scroll down and up repeatly


OBSERVED RESULT

When the scroll bar is moved down, the next group is not loaded. Move the scroll bar back and forth several times before the results list changes.


EXPECTED RESULT

When a user drags the scroll bar down, the next subset of themes is expected to be loaded.


SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20250502
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.14.4-1-default (64-bit)


ADDITIONAL INFORMATION

Snippet from the OCS API server log files showing a misconfigured pagesize URL parameter

*.*.*.* - - [04/May/2025:16:21:18 +0000] "GET /ocs/v1/content/data?categories=104&distribution&license&search=&sortmode=down&page=1&pagesize=0 HTTP/1.1" 200 8952 "-" "systemsettings/6.3.4" 694 
*.*.*.* - - [04/May/2025:16:21:19 +0000] "GET /ocs/v1/content/data?categories=104&distribution&license&search=&sortmode=down&page=2&pagesize=1 HTTP/1.1" 200 1314 "-" "systemsettings/6.3.4" 482  
*.*.*.* - - [04/May/2025:16:24:05 +0000] "GET /ocs/v1/content/data?categories=104&distribution&license&search=&sortmode=down&page=3&pagesize=2 HTTP/1.1" 200 2862 "-" "systemsettings/6.3.4" 3672 
*.*.*.* - - [04/May/2025:16:24:13 +0000] "GET /ocs/v1/content/data?categories=104&distribution&license&search=&sortmode=down&page=4&pagesize=3 HTTP/1.1" 200 2600 "-" "systemsettings/6.3.4" 3951 
*.*.*.* - - [04/May/2025:16:24:32 +0000] "GET /ocs/v1/content/data?categories=104&distribution&license&search=&sortmode=down&page=5&pagesize=4 HTTP/1.1" 200 3473 "-" "systemsettings/6.3.4" 2143 
*.*.*.* - - [04/May/2025:16:24:34 +0000] "GET /ocs/v1/content/data?categories=104&distribution&license&search=&sortmode=down&page=6&pagesize=5 HTTP/1.1" 200 4134 "-" "systemsettings/6.3.4" 2542 
*.*.*.* - - [04/May/2025:16:24:41 +0000] "GET /ocs/v1/content/data?categories=104&distribution&license&search=&sortmode=down&page=7&pagesize=6 HTTP/1.1" 200 4057 "-" "systemsettings/6.3.4" 2908 a
*.*.*.* - - [04/May/2025:16:24:44 +0000] "GET /ocs/v1/content/data?categories=104&distribution&license&search=&sortmode=down&page=8&pagesize=7 HTTP/1.1" 200 6987 "-" "systemsettings/6.3.4" 3586 


If the pagesize URL parameter is missing or is 0, the software assumes a default value of 10 for the page size.
Comment 1 John Kizer 2025-05-09 06:10:46 UTC
Hi - merging this in with an existing bug report for this issue, thanks!

*** This bug has been marked as a duplicate of bug 501363 ***