Bug 576917 - Randomly inserted strings in edited sourcefiles
Summary: Randomly inserted strings in edited sourcefiles
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.22   Edit
Hardware: PC CentOS
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-27 08:53 EDT by Helmut Welsch CLA
Modified: 2022-01-19 05:13 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Welsch CLA 2021-10-27 08:53:58 EDT
When editing multiple sourcefiles in eclipse IDE, every day I find a string inserted at multiple positions in some of the edited files.
It is exactly the same string, that I find inserted multiple times, at different positions distributed over the file, often inserted in more than one of the sourcefiles.

I think I can recognise all this artefacts, because they cause a compiler error
and when I correct them, sometimes I find this string also added to comment lines.

Hints:

It is always exactly one of the strings, that I used to search for in the hours before, sometimes manually entered in the search dialog form, sometimes preset by selecting some words from an edited file in the file tab and then opening the search window (Control F)

Often (but not always) this string is inserted at the line end of existing source lines. 

Eclipse IDE 21-09
Version: 2021-06 (4.20.0)
Build id: 20210612-2011

CENTOS
CentOS Linux release 8.3.2011
Comment 1 Helmut Welsch CLA 2022-01-19 05:13:37 EST
Finally i found a possibility to omitt these eclipse bugs.

When i disable the middle mouse button (in CENTOS, X11) before the eclipse call,then the daily creation of artefacts is stopped.




Here my script, that replaces the eclipse executable: 

# disable mouse button 2
xinput set-button-map "Microsoft Basic Optical Mouse" 1 0 3 4 5 6 7
#execute eclipse
$HOME/bin/eclipse_xvz/eclipse
rc=$?
# enable mouse button 2
xinput set-button-map "Microsoft Basic Optical Mouse" 1 2 3 4 5 6 7
exit $rc