Bug 502619

Summary: Export/Copy As dialog: info about 100 bytes preview limit easy to miss
Product: [Applications] okteta Reporter: Friedrich W. H. Kossebau <kossebau>
Component: generalAssignee: Friedrich W. H. Kossebau <kossebau>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Friedrich W. H. Kossebau 2025-04-09 16:02:06 UTC
Problem:
Currently the information that the preview is only using the first 100 bytes is hidden in a tooltip and found to be missed out by users.

Wanted:
the information should be more accessible/noticeable.

Some possible solutions:
a) if copying/exporting more than 100 bytes, show an inline message in the preview, perhaps with timeout.
b) Change "Preview" label to e.g. "Truncated Preview" or similar
Actually initially the preview label indeed was "Preview (max. first 100 bytes)", but changed 15 years ago for what was considered "cleaner look" in https://commits.kde.org/okteta/ccad66f4ffb301f50ba26b78f9d7c7d2175d76c7
c) show a checkbox/valuebox below the preview which enables to unlimit/change the number of bytes used for preview
"[X] Limit to first 100 bytes", default to On.
Allows for people to manually copy the visible preview text instead, also enable DnD of the generated format.
(perhaps DnD export should be offered by separate means/UI or some reworked generic UI?)
(challenge: remember the choice for the next usage, might hurt if large byte size used?)