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

Qt Multimedia backend can prevent windows from sleeping #2096

Open
Athameral opened this issue Jan 22, 2025 · 2 comments
Open

Qt Multimedia backend can prevent windows from sleeping #2096

Athameral opened this issue Jan 22, 2025 · 2 comments

Comments

@Athameral
Copy link

Describe the bug
As described in the title, Qt multimedia prevents windows sleeping.
Note that once the player constructs, it starts to use the audio device, until the entire program exits.
I tried to destruct player, via unique_ptr and so on, but it did not help.

Maybe consider adding FFmpeg backend back 😶.

To Reproduce

Just type powercfg /requests in the terminal.

Screenshots

Image

OS and software versions

Goldendict-ng 24.09.1.ca9dd133 at 2024-11-04T21:40:19Z
Qt 6.7.2 Visual C++ Compiler 194134123 windows winnt 10.0.26100 x86_64-little_endian-llp64
Flags: MAKE_ZIM_SUPPORT MAKE_CHINESE_CONVERSION_SUPPORT NO_TTS_SUPPORT no_ffmpeg_player

  • OS: Windows 11 24H2
  • Version: 26100.2894
@shenlebantongying
Copy link
Collaborator

shenlebantongying commented Jan 24, 2025

I saw the changes in your branch. Maybe try bumping this to 6.8.1 to exclude the possibility of Qt bug?

qt_ver: [ 6.6.3, 6.7.2 ]

We are stucking in 6.7.2 because of #1738 , sadly 😅

@xiaoyifang
Copy link
Owner

xiaoyifang commented Jan 24, 2025

Maybe we do not have to wait for the ffmpeg to fix the speex bug. Anyway it is the upstream bug. not our responsiblity to wait for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants