lossless-cut icon indicating copy to clipboard operation
lossless-cut copied to clipboard

Cannot select and copy text in segment pane

Open leongwaikay opened this issue 3 years ago • 7 comments

In order to make it easier for me to help you, I ask that you please try these things first:

  • Try with the newest version from GitHub: https://github.com/mifi/lossless-cut/releases/latest It's a new bug after I updated to the newest version

Describe the bug In the main window there is a side panel on the right that shows the "Segments to export:". I used to be able to select the timecode of each segment and copy it. e.g. 00:20:32.412 - 01:21:23.123. Basically I use the timecode with another script to split and merge my subtitle files.

To Reproduce Steps to reproduce the behavior:

  1. Open any video
  2. Create a segment
  3. Segment timecode cannot be selected and copied. Trying to select on results in dragging the segment.

Expected behavior Timecode should be highlighted like a regular text and can be copied to clipboard

Desktop (please complete the following information):

  • OS: Windows 10

leongwaikay avatar Apr 09 '21 17:04 leongwaikay

Can File -> Export as CSV serve this purpose? You get a neat list of time values

mifi avatar Aug 23 '21 13:08 mifi

I mean File -> Export -> Timestamps (CSV) - hopefully that will satisfy your need. If not, we could have an option to click a button to show or copy the text to clipboard.

mifi avatar Aug 24 '21 15:08 mifi

Closing due to lack of response

mifi avatar Jan 15 '22 09:01 mifi

reopening due to #1088

mifi avatar May 09 '22 19:05 mifi

Sorry for the lack of response. My current workflow does not require the copying of timestamps anymore. (I used it to resync subtitles with another script)

Is there a need for something complicated like a copy button? Wouldn't it be easier to make the text selectable while still remaining read only?

leongwaikay avatar May 11 '22 08:05 leongwaikay

I think the problem is that the segments are drag-droppable (to reorder), so selecting would not work.

mifi avatar May 11 '22 22:05 mifi

Ah so that was what changed that made it unselectable.

In any case, I found there is a place at the bottom to manually input the cut-points which is selectable. Solves my workflow but not sure about https://github.com/mifi/lossless-cut/issues/1088 image

leongwaikay avatar May 12 '22 03:05 leongwaikay