Repository navigation
Kommanda 2.23.1
Create PDF from Selection works properly
Several things were quietly going wrong:
- Text files were cut off after one page. The whole file was drawn onto a single page and the rest discarded — a 22,000-character file produced one page holding about 2,700 characters, with no error. Text now flows across as many pages as it needs.
- Mixed selections lost their text files. If the selection contained even one image, every other file was handed to the image encoder and silently dropped. Selecting a screenshot alongside a source file produced a one-page PDF of just the screenshot. Images and text now combine into one document, in the order shown in the dialog, so dragging to reorder actually sets the page order.
- Nothing happened for files selected inside an expanded folder or in search results. Those selections weren't being resolved at all.
- Text that wasn't UTF-8 read as empty and vanished from the output.
The menu item is also now disabled unless the selection contains something that can become pages, instead of staying available and then failing.
More file types are accepted than before: tif, gif, bmp and webp images, and markdown, log, csv, json, xml, yaml, sh, rb, go, rs, java, kt, php, sql and others as text.
The AI menu only appears for files the assistant can read
The AI submenu showed up for any selection, offering to summarize archives, disk images, video and compiled binaries — none of which the assistant can open. It now appears for folders, text and source files, PDFs, and images, and stays hidden when nothing in the selection qualifies.
For multiple files, the counts in "Smart Rename" now reflect what will actually be processed rather than everything highlighted.