Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
87cd3c1
Initial commit for BackgroundTest project
neon-nyan Nov 28, 2025
78e14af
[WIP - Incomplete] Implement NewPipsPager
neon-nyan Nov 30, 2025
e4b429a
[Test Ready] Implement NewPipsPager pt. 2
neon-nyan Nov 30, 2025
5e5f092
Update NewPipsPager
neon-nyan Dec 2, 2025
ae56c01
Fix color for light theme
neon-nyan Dec 5, 2025
f9016e5
Initial property for MediaSlideshow
neon-nyan Dec 5, 2025
8332927
Merge branch 'main' into background-refactor
neon-nyan Dec 6, 2025
8769e4c
Rename MediaSlideshow -> PanelSlideshow + First test
neon-nyan Dec 6, 2025
52c91ed
Fix element animation flies out-of-bound while switching
neon-nyan Dec 7, 2025
4c11f35
Merge branch 'main' into background-refactor
neon-nyan Dec 7, 2025
ccb1dd6
Add buttons for Slideshow
neon-nyan Dec 7, 2025
8f24aae
Add countdown timer for PanelSlideshow
neon-nyan Dec 8, 2025
4fd89b2
Improve NewPipsPager + PanelSlideshow
neon-nyan Dec 11, 2025
5e1f027
Merge branch 'main' into background-refactor
neon-nyan Dec 11, 2025
7d3a1a8
Initial implementation for LayeredBackgroundImage
neon-nyan Dec 11, 2025
78d031b
Implement loader for Image type on LayeredBackgroundImage
neon-nyan Dec 12, 2025
3efdec9
Add Video Background support
neon-nyan Dec 14, 2025
b257e12
Fix video player disposed after foreground load
neon-nyan Dec 14, 2025
c3113f4
Cleanup + Fix element layout state when loaded
neon-nyan Dec 14, 2025
7387499
Fix NewPipsPager button state on selected
neon-nyan Dec 15, 2025
d9b43ee
Use Uri instead of full FileStream for cached local file
neon-nyan Dec 15, 2025
bfd5d7c
Use native ISurfaceImageSourceNativeWithD2D
neon-nyan Dec 15, 2025
79f3845
Update Hi3Helper.Win32
neon-nyan Dec 15, 2025
5a815b9
Perform full MediaPlayer disposal on pause
neon-nyan Dec 16, 2025
46656ea
Use unsafe direct call for video frame drawing's ``EndDraw()``
neon-nyan Dec 16, 2025
4b117c1
Use SwapChainPanelHelper.NativeSurfaceImageSource_BeginDrawUnsafe
neon-nyan Dec 16, 2025
60dc597
Let cache decide stream disposal
neon-nyan Dec 16, 2025
fca7fa2
CodeQA
neon-nyan Dec 16, 2025
a993922
Code migration time!
neon-nyan Dec 16, 2025
d6ec6ae
Merge branch 'main' into background-refactor
neon-nyan Dec 16, 2025
722816d
Fix compile error
neon-nyan Dec 16, 2025
96e7f71
Update LayeredBackgroundImageExtensions.cs
neon-nyan Dec 17, 2025
2caeeb5
Merge branch 'main' into background-refactor
neon-nyan Dec 19, 2025
ab9a096
Fix and use new custom elements for carousel
neon-nyan Dec 20, 2025
ab46ff9
Use UIElementExtensions.CursorType for controls
neon-nyan Dec 20, 2025
5c9d3d4
Run XamlStyler
neon-nyan Dec 20, 2025
4d879a9
Always creates new transition on swipe-based transition
neon-nyan Dec 20, 2025
fecc199
Apply slideshow carousel pause while window is minimized
neon-nyan Dec 20, 2025
316d8d1
Merge branch 'main' into background-refactor
neon-nyan Jan 4, 2026
73d38b0
Fix due to merge conflict
neon-nyan Jan 4, 2026
deb944d
Reduce Lottie animation resolution
neon-nyan Jan 4, 2026
0a408df
[skip ci] Sync translation Translate en_US.json in zh_CN
transifex-integration[bot] Jan 4, 2026
9bbd36d
Merge branch 'main' into background-refactor
neon-nyan Jan 4, 2026
df64fc4
Make background loading works (pt. 1)
neon-nyan Jan 10, 2026
5dbced3
Housekeeping
neon-nyan Jan 10, 2026
4c6d661
Merge branch 'main' into background-refactor
neon-nyan Jan 11, 2026
813b84a
Fix binding state on NativeAOT
neon-nyan Jan 11, 2026
98e744c
Fix custom background state
neon-nyan Jan 11, 2026
3049251
Avoid image change if the same background is used on region change
neon-nyan Jan 11, 2026
506e353
Make background loading works (pt. 2)
neon-nyan Jan 11, 2026
30854bc
Fix Memory Leaks, Code Clean-Up and Improvements
neon-nyan Jan 13, 2026
0fc9a4c
Implement context menu and video playback slider
neon-nyan Jan 14, 2026
3311268
Update submodule
neon-nyan Jan 14, 2026
b431f31
Push local changes
neon-nyan Jan 17, 2026
38a9f71
Make color palette work
neon-nyan Jan 17, 2026
0b3f392
Fix null return on DispatcherQueueExtensions.CreateObjectFromUIThread
neon-nyan Jan 18, 2026
db0587d
Fix bland color palette on video background
neon-nyan Jan 18, 2026
8f7a0c8
Merge branch 'main' into background-refactor
neon-nyan Jan 18, 2026
a377c5f
[skip ci] Sync translation Translate en_US.json in es_419
transifex-integration[bot] Jan 18, 2026
0a9a62d
Fix parallax jittering on low framerate monitor
neon-nyan Jan 19, 2026
5fc9107
Avoid excessive GC on media loading
neon-nyan Jan 19, 2026
9030ba5
Add WinEventHook event on WindowUtility
neon-nyan Jan 19, 2026
0895f60
Try Catch everywhere
neon-nyan Jan 19, 2026
776014c
Make option to ignore bitmap cache on LayeredBackgroundImage
neon-nyan Jan 19, 2026
4492d05
Fix image cache reload
neon-nyan Jan 19, 2026
c43b220
Fix COMException on UIElementExtensions on element set/getter
neon-nyan Jan 21, 2026
43711f6
Push local changes
neon-nyan Jan 21, 2026
18ba6de
Attempt to remove force GC (again)
neon-nyan Jan 22, 2026
050e960
Attempt to fix choppy parallax on low refresh rate
neon-nyan Jan 22, 2026
bc0daaa
Attempt to fix choppy parallax on low refresh rate (pt. 2)
neon-nyan Jan 23, 2026
25f2d73
[skip ci] Sync translation Translate en_US.json in ja_JP
transifex-integration[bot] Jan 25, 2026
ac3e17b
Push local changes
neon-nyan Jan 25, 2026
3439af7
Fix wrong installer on FFmpeg
neon-nyan Jan 25, 2026
a65a87b
Fix lock DCOMPOSITION_ERROR_SURFACE_NOT_BEING_RENDERED
neon-nyan Jan 26, 2026
9795755
Localize strings
neon-nyan Jan 26, 2026
3f19425
Push local changes (2)
neon-nyan Jan 26, 2026
a8e8ee5
Merge branch 'main' into background-refactor
neon-nyan Jan 26, 2026
88b15f7
Fix E_INVALIDARG while rendering frame if FFmpeg is used
neon-nyan Jan 27, 2026
0915862
Fix media source logic
neon-nyan Jan 27, 2026
ce5a596
Fix double call on play/pause
neon-nyan Jan 27, 2026
e44e79f
Reduce skipped frame during play-pause
neon-nyan Jan 27, 2026
105fee1
Use GC buffers instead of Rent-Pool
neon-nyan Jan 27, 2026
24377f1
Back to use reusable shared device
neon-nyan Jan 28, 2026
ec08e8d
Reduce shadow effect on social media button
neon-nyan Jan 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 9 additions & 20 deletions CollapseLauncher/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@
<ResourceDictionary Source="ms-appx:///XAMLs/Theme/CustomControls/UserFeedbackDialog/UserFeedbackDialog.xaml" />
<ResourceDictionary Source="ms-appx:///XAMLs/Theme/CustomControls/SocMedIconButton/SocMedIconButton.xaml" />
<ResourceDictionary Source="ms-appx:///XAMLs/Theme/CustomControls/FullPageOverlay/FullPageOverlay.xaml" />

<ResourceDictionary Source="ms-appx:///XAMLs/Theme/CustomControls/NewPipsPager/NewPipsPager_themeresources.xaml" />
<ResourceDictionary Source="ms-appx:///XAMLs/Theme/CustomControls/NewPipsPager/NewPipsPager.xaml" />

<ResourceDictionary Source="ms-appx:///XAMLs/Theme/CustomControls/PanelSlideshow/PanelSlideshow_themeresources.xaml" />
<ResourceDictionary Source="ms-appx:///XAMLs/Theme/CustomControls/PanelSlideshow/PanelSlideshow.xaml" />

<ResourceDictionary Source="ms-appx:///XAMLs/Theme/CustomControls/LayeredBackgroundImage/LayeredBackgroundImage_themeresources.xaml" />
<ResourceDictionary Source="ms-appx:///XAMLs/Theme/CustomControls/LayeredBackgroundImage/LayeredBackgroundImage.xaml" />
<ResourceDictionary>
<ResourceDictionary.ThemeDictionaries>
<ResourceDictionary x:Key="Default">
Expand Down Expand Up @@ -69,11 +78,6 @@
Color="#000000" />
<SolidColorBrush x:Key="WindowBackground"
Color="#242424" />
<!-- TitleBar brushes -->
<LinearGradientBrush x:Key="BackgroundOverlayTitleBarBrush" StartPoint="0,1" EndPoint="0,0">
<GradientStop Offset="0" Color="#00000000" />
<GradientStop Offset="1" Color="#66000000" />
</LinearGradientBrush>
<!-- Dialog brushes -->
<ui:Color x:Key="DialogTitleColor">#ffd52a</ui:Color>
<SolidColorBrush x:Key="DialogTitleBrush"
Expand Down Expand Up @@ -107,11 +111,6 @@
TintColor="#222222"
TintLuminosityOpacity="0.75"
TintOpacity="0.0" />
<AcrylicBrush x:Key="BackgroundImageMaskAcrylicBrush"
FallbackColor="#EE222222"
TintColor="#222222"
TintLuminosityOpacity="0.7"
TintOpacity="0.0" />
<AcrylicBrush x:Key="PageBackgroundAcrylicBrush"
FallbackColor="#E1222222"
TintColor="#222222"
Expand Down Expand Up @@ -435,11 +434,6 @@
Color="#FFFFFF" />
<SolidColorBrush x:Key="WindowBackground"
Color="#ECECEC" />
<!-- TitleBar brushes -->
<LinearGradientBrush x:Key="BackgroundOverlayTitleBarBrush" StartPoint="0,1" EndPoint="0,0">
<GradientStop Offset="0" Color="#00FFFFFF" />
<GradientStop Offset="1" Color="#44FFFFFF" />
</LinearGradientBrush>
<!-- Dialog brushes -->
<ui:Color x:Key="DialogTitleColor">#693758</ui:Color>
<SolidColorBrush x:Key="DialogTitleBrush"
Expand Down Expand Up @@ -473,11 +467,6 @@
TintColor="#FFFFFF"
TintLuminosityOpacity="0.8"
TintOpacity="0" />
<AcrylicBrush x:Key="BackgroundImageMaskAcrylicBrush"
FallbackColor="#E0EEEEEE"
TintColor="#EEEEEE"
TintLuminosityOpacity="0.9"
TintOpacity="0.4" />
<AcrylicBrush x:Key="PageBackgroundAcrylicBrush"
FallbackColor="#FFEEEEEE"
TintColor="#FFFFFF"
Expand Down
1 change: 1 addition & 0 deletions CollapseLauncher/Assets/Licenses/FFmpeg/Homepage
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://www.ffmpeg.org/
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.


This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.

0. Additional Definitions.

As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.

"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.

An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.

A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".

The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.

The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.

1. Exception to Section 3 of the GNU GPL.

You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.

2. Conveying Modified Versions.

If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:

a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or

b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.

3. Object Code Incorporating Material from Library Header Files.

The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:

a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.

b) Accompany the object code with a copy of the GNU GPL and this license
document.

4. Combined Works.

You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:

a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.

b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.

c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.

d) Do one of the following:

0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.

1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.

e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)

5. Combined Libraries.

You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:

a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.

b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.

6. Revised Versions of the GNU Lesser General Public License.

The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.

If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
2 changes: 2 additions & 0 deletions CollapseLauncher/Assets/Licenses/FFmpegInteropX/Homepage
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
https://github.com/ffmpeginteropx/FFmpegInteropX/
https://github.com/microsoft/FFmpegInterop/
Loading
Loading