Cannot turn off auto displaying of images (drag'n'drop)
Posted: 03.04.2026 17:58
Ver: 1.233.2.0 qt6 (and i've tested with versions as far back as 1.227.0.0 with the same result)
OS: Linux Arch.
Plugins: "cuda-ext" and "encode" are installed.
Can anyone please help me on how to force images to display as binary (or hex/text) instead of images - when drag and drop onto the cudatext window?
Issue: When I drag and drop images like png, jpg, webp onto cudatext GUI window, it opens and displays them as images - instead of as hex, binary or text (what i need). If I start the program by CLI, then I can cause it to open an image in hex or binary view, but never with drag and drop files onto the GUI, they open as images.
CLI forced opening works, but is to slow and tedious compared to notepad++ or kate.
./cudatext.sh --cfg-user -z=hex "img.webp" (works, but is a slow way of working with files)
./cudatext.sh --cfg-user -z=text "img.webp" (works, but is a slow way of working with files)
drag and drop images onto cudatext GUI window only shows them as images. Not as text/hex/binary, and not in the viewer(hex/bin) at all.
Doing the CLI method for each file I want opened in the viewer (the viewer can view things as either; text, hex, binary, unicode) is slow/difficult.
So I tried disable/change this behavior using the users settings. Some settings do change cudatext behavior, while other settings are just ignored.
Uninstalling/moving/renaming the "cuda-ext" and "encode" plugins causes no changes in behavior, so the plugins are not the cause of this behavior.
Any settings (in user.json) to try to disable the "auto show images, as images" - instead of showing them as text/hex/binary does NOT work:
"ui_non_text": 4,
"ui_not_text_ext": "png;jpg;jpeg;gif;bmp;ico;webp",
"ui_open_ext": "png:hex;jpg:hex;jpeg:hex;gif:hex;bmp:hex;ico:hex;webp:hex",
"ui_non_text_buffer": 64,
"viewer_img_ext": ""
"ui_non_text": 4,
"ui_not_text_ext": "png;jpg;jpeg;gif;bmp;ico;webp",
"viewer_img_ext": "",
"ui_open_ext": "png:hex;jpg:hex;jpeg:hex;gif:hex;bmp:hex;ico:hex;webp:hex"
"ui_non_text": 4,
"ui_non_text_all": true,
"ui_not_text_ext": "png;jpg;jpeg;gif;bmp;ico;webp",
"viewer_img_ext": "",
"ui_open_ext": "png:hex;jpg:hex;jpeg:hex;gif:hex;bmp:hex;ico:hex;webp:hex"
"ui_non_text": 4,
"ui_open_ext": "png:viewer;jpg:viewer;jpeg:viewer;webp:viewer;gif:viewer;bmp:viewer",
"viewer_img_ext": ""
"ui_non_text_all": true,
"ui_non_text_buffer": 0,
"ui_non_text": 4,
"viewer_img_ext": ""
"ui_non_text": 4,
"ui_not_text_ext": "png;jpg;jpeg;gif;bmp;ico;webp",
"viewer_img_ext": "",
"ui_open_ext": "png:hex;jpg:hex;jpeg:hex;gif:hex;bmp:hex;ico:hex;webp:hex"
While settings like these DO WORK, and changes cudatext to look and behave as these settings suggest:
{
"ui_theme": "cobalt",
"ui_theme_syntax": "cobalt",
"mouse_middle_click": 2,
"ui_title_path": true,
"auto_copy_clp": "p",
"unprinted_show": false,
"unprinted_content": "sd.",
"font_name__linux": "Noto Sans Mono",
"font_size__linux": 11,
"ui_toolbar_show": true
}
So please, someone let me know how to actually do this.
OS: Linux Arch.
Plugins: "cuda-ext" and "encode" are installed.
Can anyone please help me on how to force images to display as binary (or hex/text) instead of images - when drag and drop onto the cudatext window?
Issue: When I drag and drop images like png, jpg, webp onto cudatext GUI window, it opens and displays them as images - instead of as hex, binary or text (what i need). If I start the program by CLI, then I can cause it to open an image in hex or binary view, but never with drag and drop files onto the GUI, they open as images.
CLI forced opening works, but is to slow and tedious compared to notepad++ or kate.
./cudatext.sh --cfg-user -z=hex "img.webp" (works, but is a slow way of working with files)
./cudatext.sh --cfg-user -z=text "img.webp" (works, but is a slow way of working with files)
drag and drop images onto cudatext GUI window only shows them as images. Not as text/hex/binary, and not in the viewer(hex/bin) at all.
Doing the CLI method for each file I want opened in the viewer (the viewer can view things as either; text, hex, binary, unicode) is slow/difficult.
So I tried disable/change this behavior using the users settings. Some settings do change cudatext behavior, while other settings are just ignored.
Uninstalling/moving/renaming the "cuda-ext" and "encode" plugins causes no changes in behavior, so the plugins are not the cause of this behavior.
Any settings (in user.json) to try to disable the "auto show images, as images" - instead of showing them as text/hex/binary does NOT work:
"ui_non_text": 4,
"ui_not_text_ext": "png;jpg;jpeg;gif;bmp;ico;webp",
"ui_open_ext": "png:hex;jpg:hex;jpeg:hex;gif:hex;bmp:hex;ico:hex;webp:hex",
"ui_non_text_buffer": 64,
"viewer_img_ext": ""
"ui_non_text": 4,
"ui_not_text_ext": "png;jpg;jpeg;gif;bmp;ico;webp",
"viewer_img_ext": "",
"ui_open_ext": "png:hex;jpg:hex;jpeg:hex;gif:hex;bmp:hex;ico:hex;webp:hex"
"ui_non_text": 4,
"ui_non_text_all": true,
"ui_not_text_ext": "png;jpg;jpeg;gif;bmp;ico;webp",
"viewer_img_ext": "",
"ui_open_ext": "png:hex;jpg:hex;jpeg:hex;gif:hex;bmp:hex;ico:hex;webp:hex"
"ui_non_text": 4,
"ui_open_ext": "png:viewer;jpg:viewer;jpeg:viewer;webp:viewer;gif:viewer;bmp:viewer",
"viewer_img_ext": ""
"ui_non_text_all": true,
"ui_non_text_buffer": 0,
"ui_non_text": 4,
"viewer_img_ext": ""
"ui_non_text": 4,
"ui_not_text_ext": "png;jpg;jpeg;gif;bmp;ico;webp",
"viewer_img_ext": "",
"ui_open_ext": "png:hex;jpg:hex;jpeg:hex;gif:hex;bmp:hex;ico:hex;webp:hex"
While settings like these DO WORK, and changes cudatext to look and behave as these settings suggest:
{
"ui_theme": "cobalt",
"ui_theme_syntax": "cobalt",
"mouse_middle_click": 2,
"ui_title_path": true,
"auto_copy_clp": "p",
"unprinted_show": false,
"unprinted_content": "sd.",
"font_name__linux": "Noto Sans Mono",
"font_size__linux": 11,
"ui_toolbar_show": true
}
So please, someone let me know how to actually do this.