Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win11 preview version 26XX dynamic wallpaper invalid #2074

Open
Chenlei534 opened this issue Jan 15, 2024 · 20 comments
Open

Win11 preview version 26XX dynamic wallpaper invalid #2074

Chenlei534 opened this issue Jan 15, 2024 · 20 comments
Labels
bug Something isn't working windows insider

Comments

@Chenlei534
Copy link

Describe the bug
Win11 preview version 26XX dynamic wallpaper invalid

To Reproduce

  1. After compiling with the latest code and running it on Win11 preview version 26xx, it was found that the previous modifications to the window hierarchy structure that caused the dynamic wallpaper to become invalid did not take effect。

  2. As shown in the picture, the video window has been successfully added, but the dynamic wallpaper is not displayed。
    截图_20240112_191444_226

@Chenlei534 Chenlei534 added the bug Something isn't working label Jan 15, 2024
@shangsh
Copy link

shangsh commented Jan 15, 2024

I'm also having this problem, and I'm on the 26016 version of win11 and the live wallpaper doesn't come out

@everything411
Copy link
Contributor

That is strange, because I'm on 26016 too and it works.

@rocksdanister
Copy link
Owner

Maybe he has Windows HDR turned on?

@everything411
Copy link
Contributor

everything411 commented Jan 18, 2024

lively works well for me when hdr turned on.

maybe windows widgets? i disabled widgets from group policy. i will have a test later

update: widgets also ok.

so strange

@Yvonne5531773
Copy link

same issue, any update?

@rocksdanister
Copy link
Owner

@Yvonne5531773 The release build does not have the patch yet, did you try the test build provided here:
#2050 (comment)

@Yvonne5531773
Copy link

@rocksdanister I have tested the latest build, and it works fine. However, when switching the video player from mpv to Windows Media Foundation (WMF), play fails. I have tried mpv and VLC, and they work correctly, but WMF is not functioning. May I know the reason for this issue?

@everything411
Copy link
Contributor

Confirmed that WMF Player is not working properly with the new window layout, while mpv, vlc, cef and webview2 all work well. I've checked the window styles among these different backends but haven't noticed something suspicious.

@sergodesit
Copy link

On build 26040.1000 there is a video overlay and does not interact with the desktop.

@Yvonne5531773
Copy link

@rocksdanister Do you know why WMF doesn't work, but VLC and MPV do? Can you provide specific reasons? Thanks~

@rocksdanister
Copy link
Owner

I don't use Windows insider builds.

@TheTechWiz5305
Copy link

I'm on Build 26058 and it still isn't fixed

@rocksdanister
Copy link
Owner

Because official release is not updated yet, there is unofficial one #2074 (comment)

Lively does not officially support insider builds since its subject to change too frequently, this issue tracker is open because a user submitted a patch.

@keshka
Copy link

keshka commented Mar 16, 2024

The issue persists on build 26080.ge_release.240308-1400

@sergodesit
Copy link

sergodesit commented Mar 16, 2024 via email

@rocksdanister
Copy link
Owner

rocksdanister commented Apr 1, 2024

Got this information from Microsoft:

As Windows evolves to help deliver the best customer experiences, we have changed how the Background renders in Windows to enable new scenarios such as HDR Backgrounds as announced in Windows Insider.

When the desktop is split out from the list view window (aka the "raised desktop") we no longer create multiple top-level HWNDs to support this scenario. Instead, the top-level "Progman" window is now created with WS_EX_NOREDIRECTIONBITMAP (so there is no GDI content for that window at all) and the shell DefView child window is a WS_EX_LAYERED child window. When the desktop is raised, we create a child WorkerW window that is z-ordered under the DefView that will render the wallpaper. The DefView window will draw mostly transparent with just the icons and text.

If your application forces the "raised desktop" state, it will now need to create its own WS_EX_LAYERED child HWND that is z-ordered under the DefView window but above the WorkerW window. This window should likely be a SetLayeredWindowAttributes(bAlpha=0xFF) window so that you can do DX blt presents to it and not suffer performance issues.

@amukatov9101
Copy link

In windows pro 11 24H2 Canary channel not working? I have errors and can't install theme

@sergodesit
Copy link

sergodesit commented Apr 16, 2024 via email

@rocksdanister
Copy link
Owner

rocksdanister commented Apr 16, 2024

Yes, the next update (this month) will have the patch.

Edit: Update delayed to May.

@rocksdanister
Copy link
Owner

rocksdanister commented May 19, 2024

Beta version is available for testing:
https://github.com/rocksdanister/lively-beta/releases

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows insider
Projects
None yet
Development

No branches or pull requests

9 participants