View Issue Details

IDProjectCategoryView StatusLast Update
0000345Double CommanderViewerpublic2016-06-26 12:00
Reporterkszabi Assigned Tocobines  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
PlatformLinuxOSUbuntuOS Version11.10
Product Version0.5.3Product Build2012/01/16 
Fixed in Version0.5.4 
Summary0000345: Copying text from the viewer adds a 00 character to the end of the copied text
DescriptionWhen viewing my source/text files I'd like to copy to the clipboard the selected text using ctrl+c; when I insert it into a text editor (usually jEdit) the resulting text's last character is an invisible character (code 00).
Steps To Reproduce1. using up to date GTK Double Commander version from apt source
2. press F3 on a javascrip file
3. select text with mouse, be sure to select mutliple lines
4. copy it to the clipboard with ctrl+c
5. open a text editor (I use jEdit stable: 4.4.2), paste and save
6. open it in the viewer, switch to hex view (or any other hex viewer): the last character in the pasted text is a 00 char
Additional InformationUnfortunately this bug triggers meld to think the file is binary and it gives me quite a headache :)
TagsNo tags attached.
Attached Files
Fixed in Revision4376
Operating systemLinux
WidgetsetGTK2
Architecture32-bit

Activities

cobines

2012-03-08 18:02

administrator   ~0000403

I cannot reproduce it with neither 0.5.3 nor 0.5.5.
Can you post the file you're trying to copy from?
Tried to use a different application than jEdit?

kszabi

2012-03-08 19:24

reporter   ~0000404

Yes, you're right, to my greatest amusement it happens only with jEdit - I'm sorry for wasting your time, I really should have tried it at least with Gedit. Thank you for checking this.

cobines

2012-03-08 21:04

administrator   ~0000405

Actually I found that Lazarus adds trailing zero to anything posted to the clipboard, apparently out of Windows compatibility. I'll try to find out if this can be removed on Linux. Many programs probably remove the trailing zero when pasting from clipboard, but jEdit apparently doesn't.

cobines

2012-03-11 16:16

administrator   ~0000437

Fixed. It turns out changes to Lazarus were not needed.

kszabi

2012-03-12 12:23

reporter   ~0000438

Thank you!

Issue History

Date Modified Username Field Change
2012-02-22 12:55 kszabi New Issue
2012-02-22 12:55 kszabi File Added: 2012-02-22_095407_470822113_screen.png
2012-03-08 17:56 cobines Assigned To => cobines
2012-03-08 17:56 cobines Status new => assigned
2012-03-08 18:02 cobines Note Added: 0000403
2012-03-08 18:02 cobines Status assigned => feedback
2012-03-08 19:24 kszabi Note Added: 0000404
2012-03-08 19:24 kszabi Status feedback => assigned
2012-03-08 21:04 cobines Note Added: 0000405
2012-03-11 16:16 cobines Fixed in Revision => 4376
2012-03-11 16:16 cobines Note Added: 0000437
2012-03-11 16:16 cobines Status assigned => resolved
2012-03-11 16:16 cobines Fixed in Version => 0.5.4
2012-03-11 16:16 cobines Resolution open => fixed
2012-03-12 12:23 kszabi Note Added: 0000438
2016-06-26 12:00 Alexx2000 Status resolved => closed