Bug 150957 - pasted clipboard got 'holes'
Summary: pasted clipboard got 'holes'
Status: RESOLVED REMIND
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.6.6
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-18 01:14 UTC by cedric
Modified: 2009-05-07 17:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cedric 2007-10-18 01:14:48 UTC
Version:           1.6.6 (using KDE 3.5.7, Debian Package 4:3.5.7.dfsg.1-7 (lenny/sid))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.22-2-686

pasting 227 lines to konsole, lines 151 and 152 are modified if I paste to konsole.

id_assurance INTEGER NOT NULL references immobilier.assurance(id),
date_debut timestamp NOT NULL default '1900-01-01 00:00:00',
date_fin timestamp NOT NULL default '1900-01-01 00:00:00',
PRIMARY KEY (id)

became :

id_assurance INTEGER NOT NULL references immobilier.assurance(id),
date_debut timestamp NOT NULL default '1900-01-01 00:
date_fin timestamp NOT
PRIMARY KEY (id)

I am using LANG=fr_FR@euro and can provide the full paste if needed
Comment 1 cedric 2007-10-18 01:16:10 UTC
please notice that extra spaceq are added by bugreport, only the two 'date' lines are modified
Comment 2 Robert Knight 2007-10-18 20:52:28 UTC
> I am using LANG=fr_FR at euro and can provide the full paste if needed 

Please attach the full text that you were trying to paste.  Could you also state the encoding you are using (which can be found via Settings -> Encoding in Konsole)?
Comment 3 Will Stephenson 2007-11-22 22:04:16 UTC
Please provide the requested information.
Comment 4 cedric 2007-11-23 00:49:45 UTC
pasting from iso8859-15 to UTF8 or iso8859-15 konsole.

I try to paste directly in the terminal, or in 'psql', it bugs in both cases. *But* pasting in vi, does work correctly.

bug replayable.


Comment 5 cedric 2007-11-23 00:52:13 UTC
The following output give me bugs on the last line :
begin;
ALTER TABLE "access" ALTER aid TYPE integer;
ALTER TABLE "access" ALTER aid SET NOT NULL;
ALTER TABLE "access" ALTER aid DROP DEFAULT;
ALTER  TABLE "access" ALTER status SET DEFAULT 0::smallint;
ALTER TABLE accesslog ALTER path TYPE character varying(255);
ALTER TABLE accesslog ALTER url TYPE character varying(255);
ALTER TABLE aggregator_category ALTER block SET DEFAULT 0::smallint;
ALTER TABLE aggregator_feed ALTER description TYPE text;
ALTER TABLE aggregator_feed ALTER description SET DEFAULT ''::text;
ALTER TABLE aggregator_feed ALTER description SET NOT NULL;
ALTER TABLE aggregator_feed ALTER image TYPE text;
ALTER TABLE aggregator_feed ALTER image SET DEFAULT ''::text;
ALTER TABLE aggregator_feed ALTER image SET NOT NULL;
ALTER TABLE aggregator_feed ALTER block SET DEFAULT 0::smallint;
UPDATE aggregator_item set description = '' WHERE description IS NULL;
ALTER TABLE aggregator_item ALTER description SET NOT NULL;
ALTER TABLE authmap ALTER aid TYPE integer;
ALTER TABLE authmap ALTER aid SET NOT NULL;
ALTER TABLE authmap ALTER aid DROP DEFAULT;
ALTER TABLE authmap ADD CONSTRAINT authmap_aid_check CHECK ((aid >= 0));
ALTER TABLE blocks ALTER status SET DEFAULT 0::smallint;
ALTER TABLE blocks ALTER weight SET DEFAULT 0::smallint;
ALTER TABLE blocks ALTER custom SET DEFAULT 0::smallint;
ALTER TABLE blocks ALTER throttle SET DEFAULT 0::smallint;
ALTER TABLE blocks ALTER visibility SET DEFAULT 0::smallint;
ALTER TABLE book ALTER weight SET DEFAULT 0::smallint;
ALTER TABLE boxes ALTER bid TYPE integer;
ALTER TABLE boxes ALTER bid SET NOT NULL;
ALTER TABLE boxes ALTER bid DROP DEFAULT;
ALTER TABLE boxes ALTER body DROP DEFAULT;
ALTER TABLE boxes ALTER format SET DEFAULT 0::smallint;
ALTER TABLE "cache" ALTER data DROP DEFAULT;
ALTER TABLE "cache" ALTER headers DROP DEFAULT;
ALTER TABLE comments ALTER cid TYPE integer;
ALTER TABLE comments ALTER cid SET NOT NULL;
ALTER TABLE comments ALTER cid DROP DEFAULT;
ALTER TABLE comments ALTER "comment" DROP DEFAULT;
ALTER TABLE comments ALTER format SET DEFAULT 0::smallint;
ALTER TABLE comments ALTER thread SET NOT NULL;
ALTER TABLE comments ALTER thread DROP DEFAULT;
ALTER TABLE comments ALTER users DROP DEFAULT;
ALTER TABLE files ADD CONSTRAINT files_fid_check CHECK ((fid >= 0));
ALTER TABLE filter_formats ALTER "cache" SET DEFAULT 0::smallint;
ALTER TABLE filters ALTER delta SET DEFAULT 0::smallint;
ALTER TABLE filters ALTER weight SET DEFAULT 0::smallint;
ALTER TABLE locales_source DROP old_location;
ALTER TABLE locales_target ALTER translation DROP DEFAULT;
ALTER TABLE menu ALTER description SET DEFAULT ''::character varying;
ALTER TABLE menu ALTER weight SET DEFAULT 0::smallint;
ALTER TABLE menu ALTER "type" SET DEFAULT 0;
ALTER TABLE menu ADD CONSTRAINT menu_mid_check CHECK ((mid >= 0));
ALTER TABLE node ALTER nid TYPE integer;
ALTER TABLE node ALTER nid SET NOT NULL;
ALTER TABLE node ALTER nid DROP DEFAULT;
ALTER TABLE node ADD CONSTRAINT node_nid_check CHECK ((nid >= 0));
ALTER TABLE node_access ALTER realm TYPE character varying(255);
ALTER TABLE node_access ALTER realm SET DEFAULT ''::character varying;
ALTER TABLE node_access ALTER nid SET DEFAULT 0;
ALTER TABLE node_counter ALTER nid SET DEFAULT 0;
ALTER TABLE node_counter ALTER totalcount SET DEFAULT 0::bigint;
ALTER TABLE node_comment_statistics ADD CONSTRAINT node_comment_statistics_nid_check CHECK ((nid >= 0));
ALTER TABLE node_revisions ALTER nid DROP DEFAULT;
ALTER TABLE node_revisions ALTER vid DROP DEFAULT;
ALTER TABLE node_revisions ADD CONSTRAINT node_revisions_vid_check CHECK ((vid >= 0));
ALTER TABLE node_type ALTER name SET DEFAULT ''::character varying;
ALTER TABLE "notify" ALTER uid TYPE integer;
ALTER TABLE "notify" ALTER uid SET DEFAULT 0;
ALTER TABLE "notify" ALTER status TYPE integer;
ALTER TABLE "notify" ALTER status SET DEFAULT 0;
ALTER TABLE "notify" ALTER node TYPE integer;
ALTER TABLE "notify" ALTER node SET DEFAULT 0;
ALTER TABLE "notify" ALTER "comment" TYPE integer;
ALTER TABLE "notify" ALTER "comment" SET DEFAULT 0;
ALTER TABLE "notify" ALTER attempts TYPE integer;
ALTER TABLE "notify" ALTER attempts SET DEFAULT 0;
ALTER TABLE "notify" ALTER teasers TYPE integer;
ALTER TABLE "notify" ALTER teasers SET DEFAULT 0;
ALTER TABLE permission ALTER perm DROP DEFAULT;
ALTER TABLE poll_choices ALTER chid TYPE integer;
ALTER TABLE poll_choices ALTER chid DROP DEFAULT;
ALTER TABLE poll_choices ADD CONSTRAINT poll_choices_chid_check CHECK ((chid >= 0));
ALTER TABLE profile_fields ALTER weight SET DEFAULT 0::smallint;
ALTER TABLE profile_fields ALTER required SET DEFAULT 0::smallint;
ALTER TABLE profile_fields ALTER register SET DEFAULT 0::smallint;
ALTER TABLE profile_fields ALTER visibility SET DEFAULT 0::smallint;
ALTER TABLE profile_fields ALTER autocomplete SET DEFAULT 0::smallint;
ALTER TABLE sessions ALTER uid SET NOT NULL;
ALTER TABLE "role" ALTER rid TYPE integer;
ALTER TABLE "role" ALTER rid SET NOT NULL;
ALTER TABLE "role" ALTER rid DROP DEFAULT;
ALTER TABLE "role" ADD CONSTRAINT role_rid_check CHECK ((rid >= 0));
ALTER TABLE search_dataset ALTER data DROP DEFAULT;
ALTER TABLE "system" ALTER throttle SET DEFAULT 0::smallint;
ALTER TABLE "system" ALTER weight TYPE integer;
Comment 6 Robert Knight 2008-06-02 07:55:20 UTC
> I try to paste directly in the terminal, or in 'psql', it bugs in both cases. *But* pasting in vi, does work correctly. 

Does this happen when using a different terminal, eg. xterm?
Comment 7 cedric 2008-06-02 09:47:39 UTC
Yes.
I wonder if you are able to replay the bug ... 
Here, I do :
* select the text above with mouse, middle-click in a konsole or in xterm using bash or psql   
* add 'holes ' in the ouput.

my locale is still fr_FR@euro  

I  export LANG=fr_FR.UTF8 and still have holes.




Comment 8 Kurt Hindenburg 2009-05-07 17:27:36 UTC
KDE3 is not supported.  Reopen if you can reproduce with KDE4.