Bug 453572 - JPEG-XL advanced export options confusing
Summary: JPEG-XL advanced export options confusing
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: File formats (show other bugs)
Version: git master (please specify the git hash!)
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: catnip.teaparty
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-09 10:28 UTC by Alvin Wong
Modified: 2025-04-03 02:45 UTC (History)
2 users (show)

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


Attachments
screenshot of Krita export menu for JPEG XL - the window is too small for the text (202.72 KB, image/png)
2025-03-26 23:48 UTC, catnip.teaparty
Details
re: previous attached screenshot... resizing the window by dragging the edge fixes the issue by an intervention during runtime. (205.07 KB, image/png)
2025-03-26 23:51 UTC, catnip.teaparty
Details
screenshot shows the confusing menu text of JPEG XL export under the VarDCT and Modular tabs. (104.96 KB, image/jxl)
2025-03-27 00:00 UTC, catnip.teaparty
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alvin Wong 2022-05-09 10:28:58 UTC
I think these options are difficult to translate in a way that typical users can understand.
Comment 1 catnip.teaparty 2025-03-18 20:01:30 UTC
Is this a "good first issue" for a new contributor to fix this bug? I'm thinking maybe I do this issue.
Comment 2 catnip.teaparty 2025-03-26 23:48:59 UTC
Created attachment 179768 [details]
screenshot of Krita export menu for JPEG XL - the window is too small for the text

this screenshot shows how there's too much text in the menu, so that the default popup window size is too small.
Comment 3 catnip.teaparty 2025-03-26 23:51:57 UTC
Created attachment 179771 [details]
re: previous attached screenshot... resizing the window by dragging the edge fixes the issue by an intervention during runtime.

Maybe can adjust the default window size? low priority but it is an inconvenience to fix. (separate feature request to automate window sizing?)
Comment 4 catnip.teaparty 2025-03-27 00:00:42 UTC
Created attachment 179772 [details]
screenshot shows the confusing menu text of JPEG XL export under the VarDCT and Modular tabs.
Comment 5 catnip.teaparty 2025-03-27 00:46:37 UTC
I found the file to blame, it's in the source code 

krita/plugins/impex/jxl/kis_wdg_options_jpegxl.ui

it's a Qt5 Designer file. 
Comparing the view in the screenshots to the view in Qt5 Designer, the field values are blank rather than filled with the default value (which does not fit in the default window size). So I believe there might be a problem with the possible values for the option selection for the field "Edge Preserving Filter" being unexpectedly large. On the other hand, the gui element "KisWdgOptionsJPEGXL > tabWidget > advanced > advancedParameters > encoderParameters > gridLayout" seems to be poorly organized. I will try to fix it.
Comment 6 catnip.teaparty 2025-04-03 02:45:29 UTC
I made a merge request to fix this https://invent.kde.org/graphics/krita/-/merge_requests/2366