Bug 447104 - Clip Import: JPG without file extension not recognized. No Cancel available.
Summary: Clip Import: JPG without file extension not recognized. No Cancel available.
Status: REPORTED
Alias: None
Product: kdenlive
Classification: Applications
Component: Project Bin & Import (show other bugs)
Version: 21.04.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-17 02:17 UTC by Leo
Modified: 2024-10-01 19:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leo 2021-12-17 02:17:05 UTC
SUMMARY
import (drag and drop) jpg image with out extension (.jpg), Kdenlive does not recognize the file as a jpg and then offers to transcode the image.

Cannot get duration for file /home/xxxxxxxxxxx [Transcode]

However there is no way to cancel this notification which now remains on the interface until the application is closed.


STEPS TO REPRODUCE
1. import image missing extension
2. 
3. 

OBSERVED RESULT
notification remains on the interface until application is closed.

EXPECTED RESULT


SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20210515
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.13.1-1-default
OS Type: 64-bit
Graphics Platform: X11
Processors: 32 × Intel® Xeon® CPU E5-2690 0 @ 2.90GHz
Memory: 62.7 GiB of RAM
Graphics Processor: AMD CEDAR

ADDITIONAL INFORMATION
Comment 1 erjiang 2022-07-24 03:50:27 UTC
I was not able to reproduce this (latest master on Ubuntu). Did you choose to Cancel or Transcode when offered? Both options seem to dismiss the dialog without doing anything.

There does seem like a potential improvement here. Kdenlive doesn't seem to know that it's a jpeg without the extension, but it does print this message:

    === GOT DROPPED MIME:  "image/jpeg"

So something knows that it's a jpeg and Kdenlive can probably use that information.