[konsole] [Bug 490264] New: Vt102Emulation: Audio data from OSC-52 attribute 1337 and inlineMedia=1 parameter is stuck in QMediaPlayer::BufferingMedia state
ratijas
bugzilla_noreply at kde.org
Sun Jul 14 16:07:57 BST 2024
https://bugs.kde.org/show_bug.cgi?id=490264
Bug ID: 490264
Summary: Vt102Emulation: Audio data from OSC-52 attribute 1337
and inlineMedia=1 parameter is stuck in
QMediaPlayer::BufferingMedia state
Classification: Applications
Product: konsole
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: emulation
Assignee: konsole-devel at kde.org
Reporter: me at ratijas.tk
Target Milestone: ---
SUMMARY
Audio data is not being played, and the QMediaPlayer object is left lingering
for eternity in a QMediaPlayer::BufferingMedia state. I added some relevant
debug prints, and observed that when buffer data is assigned this happens:
> player status changed to QMediaPlayer::LoadingMedia
> [mp3 @ 0x6ffddc001440] Estimating duration from bitrate, this may be inaccurate
> player status changed to QMediaPlayer::LoadedMedia
and after the player->play() slot is called, additional last event happens:
> player status changed to QMediaPlayer::BufferingMedia
STEPS TO REPRODUCE
1. Download script from https://iterm2.com/documentation-images.html
2. Add `printf ";inlineMedia=1"` line somewhere in the middle of its
print_image function — this tells Konsole to take the `if (inlineMedia) {
player = new QMediaPlayer(this); }` code path.
3. Run your modified imgcat script with some mp3 file as an argument.
OBSERVED RESULT
No audio is played.
EXPECTED RESULT
Audio should play.
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: git/master
KDE Frameworks Version: git/master
Qt Version: 6.7.2
Kernel Version: 6.9.8-arch1-1 (64-bit)
Graphics Platform: X11
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list