https://bugs.kde.org/show_bug.cgi?id=447706

            Bug ID: 447706
           Summary: Kdenlive refuses to read input (mouse/keyboard)
           Product: kdenlive
           Version: 21.12.0
          Platform: Flatpak
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: User Interface
          Assignee: j...@kdenlive.org
          Reporter: allan4...@gmail.com
  Target Milestone: ---

# SUMMARY
Sometimes _Kdenlive_ stops reading the input (mouse/keyboard) as if it hung.
I've only noticed that it wasn't hung because I tried to resize the window and
it was responding accordingly.
I use the _Flatkpak_ version and my Window Manager is _i3_.


# STEPS TO REPRODUCE
Well, I've managed to find a reproducible guide, but I'd like to emphasize that
it is not the only way, it happens sporadically and I don't remember the other
steps.

1.  Create a new vertical project (60FPS)
2.  Add Video with audio, in my case it was 2 cuts being the second one with a
slow motion (decrease speed).
3.  Add 2 titles, one for each of the cuts.
4. Click Render.
5. Change the Output file name by browsing.
The bug should occur. If it does not occur, try :
5. Change the output to HEVC.
6. Change the Output file name by browsing.
7. Try to tick "More options" -> I couldn't do it in any of the attempts.

Another possible test scenario : Simply try to open or save project files.

# OBSERVED RESULT

Kdenlive does not respond to any input anymore, including the close action
(Alt-F4 like, Win-Shift-Q).

It stills able to resize the window (both kdenlive and render).

# EXPECTED RESULT

Read input such as mouse click, keyboard commands, and exit signals.


# SOFTWARE/OS VERSIONS

- Linux : Debian 5.11.0-18.1-liquorix-amd64
- i3wm : 4.19.1-1
- Kdenlive : 21.12.0 (Flatpak - 2021-12-30)
- KDE Plasma Version: N/A
- KDE Frameworks Version: 5.89.0
- Qt Version: 5.15.3 (built against 5.15.3)
- MLT : 7.3.0

# ADDITIONAL INFORMATION
Additionally (probably in another report later), I've had to run the Kdenlive
from console since the desktop launcher is not working.

This is the output (I've had already searched for focus issues) :
```log
→ flatpak run org.kde.kdenlive
F: Can't get document portal: GDBus.Error:org.freedesktop.DBus.Error.NoReply:
Message recipient disconnected from message bus without replying
=== /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER
profilePath from KdenliveSetting::mltPath:  "/app/share/mlt-7/profiles"
meltPath from KdenliveSetting::rendererPath:  "/app/share/mlt-7/profiles"
Invalid metadata for  "avcolour_space"
Failed to parse "avcolour_space"
Invalid metadata for  "avcolor_space"
Failed to parse "avcolor_space"
Invalid metadata for  "avdeinterlace"
Failed to parse "avdeinterlace"
Invalid metadata for  "swscale"
Failed to parse "swscale"
Invalid metadata for  "swresample"
Failed to parse "swresample"
Invalid metadata for  "glsl.manager"
Failed to parse "glsl.manager"
Invalid metadata for  "movit.convert"
Failed to parse "movit.convert"
Invalid metadata for  "movit.crop"
Failed to parse "movit.crop"
Invalid metadata for  "movit.resample"
Failed to parse "movit.resample"
Invalid metadata for  "movit.resize"
Failed to parse "movit.resize"
Invalid metadata for  "jack"
Failed to parse "jack"
Invalid metadata for  "deinterlace"
Failed to parse "deinterlace"
Invalid metadata for  "telecide"
Failed to parse "telecide"
Invalid metadata for  "audiochannels"
Failed to parse "audiochannels"
Invalid metadata for  "audioconvert"
Failed to parse "audioconvert"
Invalid metadata for  "imageconvert"
Failed to parse "imageconvert"
plugin not available: "avfilter.acompressor"
plugin not available: "avfilter.aecho"
plugin not available: "avfilter.agate"
plugin not available: "avfilter.atadenoise"
plugin not available: "avfilter.bs2b"
plugin not available: "avfilter.bwdif"
plugin not available: "avfilter.deblock"
plugin not available: "avfilter.dedot"
plugin not available: "avfilter.deflate"
plugin not available: "avfilter.derain"
plugin not available: "avfilter.doubleweave"
plugin not available: "avfilter.field"
plugin not available: "avfilter.framestep"
plugin not available: "avfilter.fspp"
plugin not available: "avfilter.graphmonitor"
plugin not available: "avfilter.hqdn3d"
plugin not available: "avfilter.inflate"
plugin not available: "avfilter.lagfun"
plugin not available: "avfilter.loudnorm"
plugin not available: "avfilter.random"
plugin not available: "avfilter.removegrain"
plugin not available: "avfilter.separatefields"
plugin not available: "avfilter.shuffleplanes"
plugin not available: "avfilter.sofalizer"
plugin not available: "avfilter.sr"
plugin not available: "avfilter.tmix"
plugin not available: "avfilter.w3fdif"
plugin not available: "avfilter.weave"
plugin not available: "avfilter.yadif"
plugin not available: "frei0r.baltan"
plugin not available: "frei0r.bgsubtract0r"
plugin not available: "frei0r.delay0r"
plugin not available: "frei0r.delaygrab"
plugin not available: "frei0r.facebl0r"
plugin not available: "frei0r.facedetect"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "movit.unsharp_mask"
plugin not available: "region"
plugin not available: "timewarp"
plugin not available: "region"
kf.kirigami: Units.devicePixelRatio is deprecated (since 5.86): This returns 1
when using Qt HiDPI scaling.
QQmlEngine::setContextForObject(): Object already has a QQmlContext
kf.kirigami: Units.devicePixelRatio is deprecated (since 5.86): This returns 1
when using Qt HiDPI scaling.
kf.kirigami: Previous message repeats 1 times.
LOCALE: Document uses  "."  as decimal point and  "C"  as locale
Searching for locale: Found  QLocale(English, Latin, United States)  with match
type  0
QQmlEngine::setContextForObject(): Object already has a QQmlContext
qrc:/qml/timeline.qml:2020:5: QML Connections: Implicitly defined onFoo
properties in Connections are deprecated. Use this syntax instead: function
onFoo(<arguments>) { ... }
========== STARTING TASK FOR:  2
========== STARTING TASK FOR:  2
========== STARTING TASK FOR:  3
========== STARTING TASK FOR:  4
===== 
READY FOR THUMB ClipType::Text 

=========
===== 
READY FOR THUMB ClipType::Text 

=========
===== 
READY FOR THUMB ClipType::AV 

=========
=== FOUND THUMB IN CACHe
=== FOUND THUMB IN CACHe
=== FOUND THUMB IN CACHe
kf.kirigami: Units.devicePixelRatio is deprecated (since 5.86): This returns 1
when using Qt HiDPI scaling.
kf.kirigami: Previous message repeats 1 times.
::: REGISTERING CLIP TO BIN:::::
::::::::::::::::::::::
REGISTRATION  3 ptr count 3
qml: loaded clip:  0 , ID:  3 , index:  0 , TYPE: AV
qml: loaded clip with Astream:  1
::: REGISTERING CLIP TO BIN:::::
::::::::::::::::::::::
REGISTRATION  4 ptr count 3
Reusing timewarp producer!
warp LENGTH 12373
qml: loaded clip:  301 , ID:  4 , index:  0 , TYPE: AV
qml: loaded clip with Astream:  1
::: REGISTERING CLIP TO BIN:::::
::::::::::::::::::::::
REGISTRATION  6 ptr count 3
"qtblend" : Setting parameter  "rect"  to  "00:00:35.783=-887 -1130 2376 4224
1.000000"
"qtblend" : Setting parameter  "rotation"  to  "00:00:35.783=0"
"qtblend" : Setting parameter  "compositing"  to  "0"
"qtblend" : Setting parameter  "distort"  to  "0"
"qtblend" : Setting parameter  "rotate_center"  to  "1"
XML parsing of  "qtblend" . found 5 parameters
 = = SET EFFECT PARAM:  "rect"  =  00:00:35.783=-887 -1130 2376 4224 1.000000
 = = SET EFFECT PARAM:  "rotation"  =  00:00:35.783=0
 = = SET EFFECT PARAM:  "compositing"  =  0
 = = SET EFFECT PARAM:  "distort"  =  0
 = = SET EFFECT PARAM:  "rotate_center"  =  1
END parsing of  "qtblend" . Number of found parameters 5
Construct keyframemodellist. Checking model: false
Construct keyframemodel. Checking model: false
Found 1 , OUT:  301 , animation properties:  "00:00:35.783=-887 -1130 2376 4224
1.000000"
ADD keyframe 2147 QVariant(QString, "-887 -1130 2376 4224 1.000000") true
add lambda 2147 QVariant(QString, "-887 -1130 2376 4224 1.000000") true
Construct keyframemodel. Checking model: false
Found 1 , OUT:  301 , animation properties:  "00:00:35.783=0"
ADD keyframe 2147 QVariant(double, 0) true
add lambda 2147 QVariant(double, 0) true
qml: loaded clip:  0 , ID:  6 , index:  0 , TYPE: AV
qml: loaded clip with Astream:  1
::: REGISTERING CLIP TO BIN:::::
::::::::::::::::::::::
REGISTRATION  7 ptr count 3
"qtblend" : Setting parameter  "rect"  to  "00:02:43.917=-1597 -1994 3348 5952
1.000000"
"qtblend" : Setting parameter  "rotation"  to  "00:02:43.917=0"
"qtblend" : Setting parameter  "compositing"  to  "0"
"qtblend" : Setting parameter  "distort"  to  "0"
"qtblend" : Setting parameter  "rotate_center"  to  "1"
XML parsing of  "qtblend" . found 5 parameters
 = = SET EFFECT PARAM:  "rect"  =  00:02:43.917=-1597 -1994 3348 5952 1.000000
 = = SET EFFECT PARAM:  "rotation"  =  00:02:43.917=0
 = = SET EFFECT PARAM:  "compositing"  =  0
 = = SET EFFECT PARAM:  "distort"  =  0
 = = SET EFFECT PARAM:  "rotate_center"  =  1
END parsing of  "qtblend" . Number of found parameters 5
Construct keyframemodellist. Checking model: false
Construct keyframemodel. Checking model: false
Found 1 , OUT:  540 , animation properties:  "00:02:43.917=-1597 -1994 3348
5952 1.000000"
ADD keyframe 9835 QVariant(QString, "-1597 -1994 3348 5952 1.000000") true
add lambda 9835 QVariant(QString, "-1597 -1994 3348 5952 1.000000") true
Construct keyframemodel. Checking model: false
Found 1 , OUT:  540 , animation properties:  "00:02:43.917=0"
ADD keyframe 9835 QVariant(double, 0) true
add lambda 9835 QVariant(double, 0) true
Reusing timewarp producer!
warp LENGTH 12373
qml: loaded clip:  301 , ID:  7 , index:  0 , TYPE: AV
qml: loaded clip with Astream:  1
::: REGISTERING CLIP TO BIN:::::
::::::::::::::::::::::
REGISTRATION  9 ptr count 3
qml: loaded clip:  1 , ID:  9 , index:  0 , TYPE: Text
qml: loaded clip with Astream:  0
::: REGISTERING CLIP TO BIN:::::
::::::::::::::::::::::
REGISTRATION  10 ptr count 3
qml: loaded clip:  301 , ID:  10 , index:  0 , TYPE: Text
qml: loaded clip with Astream:  0
qml: loaded clip:  1 , ID:  9 , index:  0 , TYPE: Text
qml: loaded clip with Astream:  0
qml: loaded clip:  301 , ID:  10 , index:  0 , TYPE: Text
qml: loaded clip with Astream:  0
qml: loaded clip:  0 , ID:  6 , index:  1 , TYPE: AV
qml: loaded clip with Astream:  1
qml: loaded clip:  301 , ID:  7 , index:  1 , TYPE: AV
qml: loaded clip with Astream:  1
qml: loaded clip:  0 , ID:  3 , index:  2 , TYPE: AV
qml: loaded clip with Astream:  1
qml: loaded clip:  301 , ID:  4 , index:  2 , TYPE: AV
qml: loaded clip with Astream:  1
[swscaler @ 0x7f896043c340] Warning: data is not aligned! This can lead to a
speed loss
======= REQUESTING NEW CLIP SIZE:  552                                          
======= ADJUSTED NEW CLIP SIZE:  540
======= REQUESTING NEW CLIP SIZE:  552
======= ADJUSTED NEW CLIP SIZE:  540
======= REQUESTING NEW CLIP SIZE:  552
======= ADJUSTED NEW CLIP SIZE:  540
======= REQUESTING NEW CLIP SIZE:  552
======= ADJUSTED NEW CLIP SIZE:  540
======= REQUESTING NEW CLIP SIZE:  552
======= ADJUSTED NEW CLIP SIZE:  540
======= REQUESTING NEW CLIP SIZE:  555
======= ADJUSTED NEW CLIP SIZE:  555
======= REQUESTING NEW CLIP SIZE:  540
======= ADJUSTED NEW CLIP SIZE:  540
----------
-----------
// ADJUSTING EFFECT LENGTH, LOGUNDO  true ,  0 / 0 - 539 ,  540
qml: ENDING DRAG!!!!!!!!!!!!!!!!!!!!!!

---
formats:
  - a64
  - ac3
  - adts
  - adx
  - aiff
  - alp
  - amr
  - amv
  - apm
  - apng
  - aptx
  - aptx_hd
  - argo_asf
  - asf
  - ass
  - ast
  - asf_stream
  - au
  - avi
  - avm2
  - avs2
  - bit
  - caf
  - cavsvideo
  - codec2
  - codec2raw
  - crc
  - dash
  - data
  - daud
  - dirac
  - dnxhd
  - dts
  - dv
  - eac3
  - f4v
  - ffmetadata
  - fifo
  - fifo_test
  - filmstrip
  - fits
  - flac
  - flv
  - framecrc
  - framehash
  - framemd5
  - g722
  - g723_1
  - g726
  - g726le
  - gif
  - gsm
  - gxf
  - h261
  - h263
  - h264
  - hash
  - hds
  - hevc
  - hls
  - ico
  - ilbc
  - image2
  - image2pipe
  - ipod
  - ircam
  - ismv
  - ivf
  - jacosub
  - kvag
  - latm
  - lrc
  - m4v
  - md5
  - matroska
  - matroska
  - microdvd
  - mjpeg
  - mlp
  - mmf
  - mov
  - mp2
  - mp3
  - mp4
  - mpeg
  - vcd
  - mpeg1video
  - dvd
  - svcd
  - mpeg2video
  - vob
  - mpegts
  - mpjpeg
  - mxf
  - mxf_d10
  - mxf_opatom
  - null
  - nut
  - oga
  - ogg
  - ogv
  - oma
  - opus
  - alaw
  - mulaw
  - vidc
  - f64be
  - f64le
  - f32be
  - f32le
  - s32be
  - s32le
  - s24be
  - s24le
  - s16be
  - s16le
  - s8
  - u32be
  - u32le
  - u24be
  - u24le
  - u16be
  - u16le
  - u8
  - psp
  - rawvideo
  - rm
  - roq
  - rso
  - rtp
  - rtp_mpegts
  - rtsp
  - sap
  - sbc
  - scc
  - film_cpk
  - segment
  - stream_segment,ssegment
  - singlejpeg
  - smjpeg
  - smoothstreaming
  - sox
  - spx
  - spdif
  - srt
  - streamhash
  - sup
  - swf
  - tee
  - 3g2
  - 3gp
  - mkvtimestamp_v2
  - truehd
  - tta
  - ttml
  - uncodedframecrc
  - vc1
  - vc1test
  - voc
  - w64
  - wav
  - webm
  - webm_dash_manifest
  - webm_chunk
  - webp
  - webvtt
  - wtv
  - wv
  - yuv4mpegpipe
  - alsa
  - fbdev
  - oss
  - pulse
  - sdl,sdl2
  - video4linux2,v4l2
  - xv
...
---
audio_codecs:
  - comfortnoise
  - s302m
  - aac
  - ac3
  - ac3_fixed
  - alac
  - aptx
  - aptx_hd
  - dca
  - eac3
  - flac
  - g723_1
  - mlp
  - mp2
  - mp2fixed
  - nellymoser
  - opus
  - real_144
  - sbc
  - sonic
  - sonicls
  - truehd
  - tta
  - vorbis
  - wavpack
  - wmav1
  - wmav2
  - pcm_alaw
  - pcm_dvd
  - pcm_f32be
  - pcm_f32le
  - pcm_f64be
  - pcm_f64le
  - pcm_mulaw
  - pcm_s8
  - pcm_s8_planar
  - pcm_s16be
  - pcm_s16be_planar
  - pcm_s16le
  - pcm_s16le_planar
  - pcm_s24be
  - pcm_s24daud
  - pcm_s24le
  - pcm_s24le_planar
  - pcm_s32be
  - pcm_s32le
  - pcm_s32le_planar
  - pcm_s64be
  - pcm_s64le
  - pcm_u8
  - pcm_u16be
  - pcm_u16le
  - pcm_u24be
  - pcm_u24le
  - pcm_u32be
  - pcm_u32le
  - pcm_vidc
  - roq_dpcm
  - adpcm_adx
  - adpcm_argo
  - g722
  - g726
  - g726le
  - adpcm_ima_amv
  - adpcm_ima_alp
  - adpcm_ima_apm
  - adpcm_ima_qt
  - adpcm_ima_ssi
  - adpcm_ima_wav
  - adpcm_ms
  - adpcm_swf
  - adpcm_yamaha
  - libmp3lame
  - libopus
  - libvorbis
...
---
video_codecs:
  - a64multi
  - a64multi5
  - alias_pix
  - amv
  - apng
  - asv1
  - asv2
  - avrp
  - avui
  - ayuv
  - bmp
  - cfhd
  - cinepak
  - cljr
  - dnxhd
  - dpx
  - dvvideo
  - exr
  - ffv1
  - ffvhuff
  - fits
  - flashsv
  - flashsv2
  - flv
  - gif
  - h261
  - h263
  - h263p
  - huffyuv
  - jpeg2000
  - jpegls
  - ljpeg
  - magicyuv
  - mjpeg
  - mpeg1video
  - mpeg2video
  - mpeg4
  - msmpeg4v2
  - msmpeg4
  - msvideo1
  - pam
  - pbm
  - pcx
  - pfm
  - pgm
  - pgmyuv
  - png
  - ppm
  - prores
  - prores_aw
  - prores_ks
  - qtrle
  - r10k
  - r210
  - rawvideo
  - roqvideo
  - rpza
  - rv10
  - rv20
  - sgi
  - snow
  - speedhq
  - sunrast
  - svq1
  - targa
  - tiff
  - utvideo
  - v210
  - v308
  - v408
  - v410
  - vc2
  - wrapped_avframe
  - wmv1
  - wmv2
  - xbm
  - xface
  - xwd
  - y41p
  - yuv4
  - zlib
  - zmbv
  - libaom-av1
  - libopenjpeg
  - libvpx
  - libvpx-vp9
  - libx264
  - libx264rgb
  - libx265
  - h263_v4l2m2m
  - h264_amf
  - h264_nvenc
  - h264_qsv
  - h264_v4l2m2m
  - h264_vaapi
  - nvenc
  - nvenc_h264
  - nvenc_hevc
  - hevc_amf
  - hevc_nvenc
  - hevc_qsv
  - hevc_v4l2m2m
  - hevc_vaapi
  - mjpeg_qsv
  - mjpeg_vaapi
  - mpeg2_qsv
  - mpeg2_vaapi
  - mpeg4_v4l2m2m
  - vp8_v4l2m2m
  - vp8_vaapi
  - vp9_vaapi
  - vp9_qsv
...
* CREATED JOB WITH ARGS:  ("/app/bin/melt-7", "/var/tmp/kdenlive-TtegcA.mlt",
"/home/USERNAME/Videos/untitled.mp4", "-pid:2", "-out", "840")
starting kdenlive_render process using:  "/app/bin/kdenlive_render"
No org.kde.JobViewServer registered, trying to start kuiserver
Failed to start kuiserver
Skipped method "slotUpdateDockLocation" : Unregistered input type in parameter
list: Qt::DockWidgetArea
Skipped method "slotEditSubtitle" : Type not registered with QtDBus in
parameter list: QMap<QString,QString>
Unsupported return type 65 QPixmap in method "grab"
Unsupported return type 65 QPixmap in method "grab"
qml: ENDING DRAG!!!!!!!!!!!!!!!!!!!!!!

=== REG FOCUS:  false
qml: ENDING DRAG!!!!!!!!!!!!!!!!!!!!!!

qml: ENDING DRAG!!!!!!!!!!!!!!!!!!!!!!

qml: ENDING DRAG!!!!!!!!!!!!!!!!!!!!!!

qml: ENDING DRAG!!!!!!!!!!!!!!!!!!!!!!

=== REG FOCUS:  false
qml: ENDING DRAG!!!!!!!!!!!!!!!!!!!!!!

qml: ENDING DRAG!!!!!!!!!!!!!!!!!!!!!!

qml: ENDING DRAG!!!!!!!!!!!!!!!!!!!!!!

=== REG FOCUS:  false
qml: ENDING DRAG!!!!!!!!!!!!!!!!!!!!!!

qml: ENDING DRAG!!!!!!!!!!!!!!!!!!!!!!

qml: ENDING DRAG!!!!!!!!!!!!!!!!!!!!!!
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to