Bug 502619 - Export/Copy As dialog: info about 100 bytes preview limit easy to miss
Summary: Export/Copy As dialog: info about 100 bytes preview limit easy to miss
Status: REPORTED
Alias: None
Product: okteta
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Friedrich W. H. Kossebau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-09 16:02 UTC by Friedrich W. H. Kossebau
Modified: 2025-04-09 16:02 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?)