 dialogs  weird dialog for properties of  eclipse  platform  product  configuration dialog  reached through  help  software  updates  manage  configuration  select  eclipse  platform and select  properties from context menu  the dialog should have a better message 
projection  clipboard  copy  paste  no color and font information  when i copied text from the  java editor of an earlier  eclipse version such as or m into the  windows clipboard and pasted it into a suitableapplication such as ms  word font and color from syntax highlighting information was present  in m only the plain text is placed into the clipboard 
 source not found if  exception occurs in inner class i rc  if an exception occurs in an inner class the stack trace may be printed to theconsole  in m you could click on a message like java lang  null pointer exception at  test do it  test java and the editor would be positioned to line in  test java  in rc this does no longer work  example public class  test interface i foo void do it public static void main  string args i foo foo new i foo public void do it  string s null int i s length foo do it  in m you can click on at  test do it  test java and the editor getspositioned correctly in rc you only get a dialog telling you that  source not found for  test 
 browsing perspective doesn t deal with closed projects browsing rc two windows one as browsing perspective drill into a project in browsing perspective down to members view close project observe the browsing perspective shows stale information 
 dialogs  detached views and dual monitor  properties view config dilaogs on wrong screen rc  dual monitor setup detach a view e g hierarchy view and move it to thesecond monitor  open the hierarchy history dialog opens on screen contiaing the workbench window  seems to be the case for all views dialogs that can be opened from a view menu toolbar property menu ect 
keybindings are broken in detached views  if the search view is detached and active ctrl h will not bring up the search dialog 
 view mgmt  leakage moving back and forth to perspectives from listeners to  mutable command manager i rc i am using the perspective switcher to move between the  java and team perspectives  the top size diff object leaked  composites k c tab folders k c tab items k  rectanges k  totals about k per switch  the leaks appear rooted in listeners to the mutable command manager of the  default view presentation moving between other perspectives had similar characteristics  some of the leaks may be duplication of bug 
 preferences gui blooper maybe  preferences now has three dots  build rc  sorry about all these nitty bug reports i m doing screenshots of the two versions and can t help but notice these teenie differences  in this case  preferences  as i understand the ms style guide only dialogs that are part of a choice refinement have the ellipsis as opposed to a destination dialog  for example  properties no ellipsis since it is the goal as it were versus  save  as only a step along the way to the goal  in v x it was  preferences and now it is  preferences so apparently someone had a change of heart  was this intentional i won t claim to be an expert on the style guide but i believe it was correct in v x to the best of my understanding  nick  edgar may have an opinion on this or one of the other authors of the  eclipse ui  guidelines 
model  excluded package still in  java model i  create a  java project with the following structure proj src org eclipse mypack a java  set an exclusion filter of src to org org eclipse  observe  empty packages org and org eclipse are still in  java model  only org eclipse mypack should be in te  java model and org should be a non  java resource 
 preferences  uneven spacing in  editors preference page rc  the spacing between  show multiple editor tabs and  close all editors on exit is not the same as that between  close all editors on exit and  close editorsautomatically 
 code select  code select does not work for duplicate field declaration build rc create the following classpublic class int bar int bar select the first bar fied do f codeselect does not work same result with the second field 
 projection text store replace not consistent with intended i text store semantics a call of the form replace my string should prepend the contents of my string to current contents of the text store  however a  projection text store instead replaces the contents of the text store with my string  this means that the calls replace my string and set my string are equivalent  the underlying cause can be found in  projection mapping to origin region where an image region of offset and length is mapped to a master region of offset and a length equal to the master document  the effect of this bug can be seen through a simple test case involving the java editor steps to reproduce  create a new java class and open it in the java editor  add a new method and place the cursor inside the method body  click on the  show  source of  selected  element  only button on the toolbar  this will show only the new method in the java editor indirectly creating a  projection document  select the entire contents of the method  edit menu  select  all or use the mouse  press delete  at this point just the selected text has been deleted  type a character  this indirectly invokes the replace method on the  projection text store with an offset of and a length equal to the master document as described above  if you untoggle the  show  source of  selected  element  only button the remainder of the file will be gone 
 key bindings multi stroke keyboard shortcut popup swallows keys  preferences  workbench  keys choose  emacs configuration on the  advanced tab check  help me with  multi  stroke  keyboard  shortcuts edit a file press  ctrl x wait until the popup shows up press  ctrl s nothing happens for all multi stroke keybindings 
 sort  members is broken  selecting  source  sort  members results in the following exception 
projection  revert file sometimes does not display the imports i was able to recreate the scenario i have a  java file in a  java project as  created on  jun todo  to change the template for this generated file go to  window  preferences  java  code  style  code  templates package com import java net url import java util  date author admin todo  to change the template for this generated type comment go to  window  preferences  java  code  style  code  templates public class  test  date xyz url abc i open it in the editor delete the keyword package so that that line onlysays com  now i right click on file and select  revert  file  notice that the imports list disappears  this is in m 
 key bindings preference page up down focus broken in  keybinding prefs assignments table  select a keybinding which has or more assignments  tab to the assignments table and try to use the up and down arrows  the behavior is random and after or presses you cannot change the selected tableitem  also the  table stops showing focus as soon as you move up or down  it should retain focus 
 eclipse stops opening editors i start with an empty workspace create a simple project a create a file f txt in a tranfer focus to the  navigator modify f txt externally activate  eclipse without changing the active part press close box of editor open for f txt a file changed dialog is posted by the editor  while the modal dialog is open the editor gets closed see stack trace below press  no in the dialog double click on f txt to open it again nothing happens no editor is opened  this is also the case when you have more files in the workspace and try to open an editor on some other file  observation i see that the editor is created and its init method is called i also see that its create part control method is not called i haven t seen any thrown exception in the process of opening the editor  stack trace of how the original editor on f txt gets disposed i d suspect that the problem is related to the fact the part is closed while its activation event is being processed 
 preferences npe pressing ok button in preferences while workspace rebuilds i pressed the ok button in the preferences dialog while the workspace wasrebuilding i m running  eclipse i i got this error 
 workbench fastview refresh leaves lines behind observed with version rc steps to reproduce make problems view a fastview drag the fastviewbar to the right side of the screen expand the fastview change the width of the fastview see attached screenshot 
 deleting a package with c us opened and dirty results in stale package explorer refactoring  eclipse  in the  package  explorer i have the following package hierarchy com newco a bunch of java files and nested packages someco nested  some class java  test class java i selected someco and pressed  delete the same thing happens when it s selected from the context menu and the dialog asked me if i wanted to delete the someco package as expected i selected  yes and someco  test class java was deleted but someco netsted  some class java remained i then had to explicitly select someco nested and delete it  this appears to be inconsistent with selecting a directory in this case a package and deleting it  separate but related issue i attempted to do the same thing again to confirm the inconsistency and this time i had  test class java opened in an editor and a changed made but not saved  when i did the someco package delete again  test class java was deleted as previously but nothing occurred in the editor window note i had not switched the focus to the editor at this time  confused i selected someco again in  package  explorer and deleted it  an error dialog appeared that read  working copy  test class java in com comeco in java in java xxx does not exist i aborted in confusion i then selected  test class java in  package explorer and deleted it  it appeared that nothing occurred  again note that i had not yet moved the focus to the open and unsaved editor  when i finally did click on the editor i received the dialog that asked me to save or close my file now i finally understood what was going on  perhaps focus should have been shifted to the editor automatically after the delete so that i would have seen the dialog sooner i can imagine a less savvy developer becomming befuddled by this problem and running away in terror i should note that after i selected to close the unsaved file that the above inconsistency where the nested package was not deleted did occur i encountered this while cleaning up the files i created for bug  just a fyi on the package layout i have both  fold empty packages in hierarchical and  hierarchical view selected 
 manage  configuration can t work  build id  test  case  help  show  update  manage  configuration  new  extension  location  select  location  in  instal  update  confirm select  yes  then  product  configuration  window is  hung up 
single line comments sometimes lost on copy paste of methods ccp i ve marked this as critical since i do consider it losing data even though it could be argured its still in repository or user should have known better or something  my main concern is that someone could work all afternoon losing comments here and there and not really noticing until too late to easeily fix  and nothing was in log  the typical case i test with had a simple method with comments before and after eg gold public void  test silver  then from the outline view select  test and either cut it and copy to another  java  class or even moving it within same file seem to show same effect  the effect is that usually but not always both comments are cut with method but when pasted in new location only one of them are there  sometimes neither of them are there  so either unpredicable or i didn t do enough to see the pattern  by the way i m well aware that such comments are ambiguous in terms of where they should go or not go in such cases i d almost vote for leaving them completely alone given the late date rahter than chance losing them 
 externalize  strings uses wrong newline character nls refactoring i  in  my class java package pack public class  my class public static void main  string args  system out println  hello  world  system out println  hello  world choose  source  externalize  strings and accept all default values tocreate messages properties and  messages java expected messages properties uses the  win xp default line terminatrioncharacters crlf x d x a was messages properties uses x a as newline character  the wizard also uses x a on a changed line which leads to files withinconsistent line endings  open message properties choose  source  convert  line  delimiters  to crlf and save  then open  my class java choose  source  externalize  strings andchange the first value to  hello  world expected newline after  hello  world in properties file is still crlf was newline is lf 
refactor rename encoding is not preserved rc have this folder structure src src folder encoding package encoding set to utf latin  class java java source file encoding iso  latin  containing this code package encoding public class latin  class non  javadoc see java lang  object to string public  string to string todo  auto generated method stub return return private  string todo  auto generated method stub return  refactor  rename the class to latin  class  expected class is renamed keeps encoding iso file content the same butfor the class name actual class is renamed keeps encoding iso file content changed to utf encoding  note  when  refactor  copying a class the file gets properly copied and saved in thefolder s encoding utf  rename is probably a special case of  move a new file is created with theinherited encoding  when renaming the encoding should be kept 
typing  error  message after undo copy paste create a new  class and generate the main method type sysout and use the code completion type the double quote paste  hello  world into the double quotes try to undo without saving using  ctrl z using undo in the menubar does work 
typing  can delete word  ctrl  backspace on read only file  when you open read only java file all editing functions are disabled exceptdeleting with  ctrl  backspace and  ctrl  del then it is imposible to save this file  on simple text file it works ok it blocks all edditing functions including ctrl  backspace i am using build 
 add to build path action available on c us build path rc  select a cu in the package explorer  invoke  add to build path  error dialog shows up message printed to log  doesn t seem to make sense to add a cu to the build path 
 change  signature shows error message twice refactoring public class  test class void change x  try to  change  method  signature on change  the error message dialog alwaysshows up twice 
 renaming included package folder throws jme  renaming package fragment incl to xyz in this setup fails with a java model exception in i package fragment rename proj src incl a java classpath xml version encoding utf classpath classpathentry including incl kind src path src classpathentry kind con path org eclipse jdt launching jre container classpathentry kind output path bin classpath  note  unfortunately we currently swallow the stacktrace below see bug 
 refactoring npe when extracting interface refactoring build rc create x javapublic class x public void foo int i public void foo int i select the second method foo do  refactor  extract interface name the interface i and select at least one method do ok an error window appear and an npe occur 
 key bindings misc  block accelerators that are in use i meet a error after following these steps  remove hot keys  navigate  open f then add a new one  ctrl  enter  remove hot keys  edit  find  previous  ctrl  shift k then add a new one  shift f  remove hot keys  edit  find  next  ctrl k then add a new one f  everything work fine with the new assigned keys except for editing an ant file build xml  when editing ant file the ui understand the old hot keys f for open and  ctrl k for  find  next 
quick fix incorrect caret in assign to local variable quick fix rc void m new  string  place caret after the semicolon  ctrl choose assign to local variable computed caret position is before the semicolon with considerably reduces the value of this quick fix 
implementation  class cast exception when performing save as rc  project p create a file p folderfile create a file p file open file choose file save as as folder location to save at choose p filefolder press ok  exception below 
regression  content assist proposals class names not sorted type i workbench part and invoke content assist  the perfect match i workbench part should be presented first  instead you get i workbench part i workbench part constants i workbemch part descriptor i workbench part  the first time i noticed this i tried changing the  present  proprosal in alphabetical order preference  it had no effect so i shutdown and restarted  eclipse  now if i disable this preference the proposals are sorted alphabetically  this is the opposite of what i would expect btw why does this preference exist  it seems like proposal should always be alphabetized with the only option being to group them such that variables come before class names  but classnames should still be sorted in this case 
 problems view  trying to sort in  problems  view removes all items from view  configure the problems view to display selected resource and it children  open a file with a couple of warnings  sort by any of the columns in the table  all table items are removed and the view is displaying zero hits 
 java element delta from refresh contains excluded package rc  follow the getting started example  overlapping products in a common sourcetree  project has external folder as source folder that containscom xyz product product where com xyz product is excluded  the package explorer renders a package com xyz and a package com xyz product as seen in the documents screenshot  in the  windows explorer first move the whole com tree to a temporarylocation  local  refresh  package explorer shows src to be empty  ok  move the com tree back again local refresh a new package com xyz product is shown  the delta issued on the second refresh is  java  model children  product children src children com com xyz com xyz product com xyz product 
 dirty buffer validation state becomes stale when buffer closes  eclipse rc if you copy a read only file and paste it on top of another read only file all from the package explorer you get an exception in the log but the operation succeeds 
spell checking tons of temporary spell check annotations i plug in export for i disable folding and enable spell checker open  abstract text editor goto verify text start typing some random text behind a observer the overview ruler sometimes it is filled with spell checker annotations  note if you cannot reproduce try starting to type wait shortly then type again 
 action sets  actions associated with views not disposed  here is the easy way to create this problem  create a new  workbench  window  show the  java  browsing  members  view  select a different view  close the  workbench  window  both org eclipse debug internal ui actions  debug drop down action and org eclipse debug internal ui actions  run drop down action are not disposed  action presentation doesn t clear out the invisible bars  much of the code could be cleaned up to avoid all the constant contains get remove sequence and just do a single remove instead 
 keybindings  wrong behaviour when triggering  code  assist in  rename  field  dialog i i wanted to rename the field listeners in the following code import java util  event listener import javax swing event  event listener list public class  test  event listener list listeners new  event listener list public void add event listener  event listener event listener listeners add  event listener class event listener  steps  trigger  rename  field  refactoring using  ctrl  shift r while  cursor is on listeners  rename  field  dialog opens  type ev in  new  name and trigger  code  assistant using  ctrl  space  actual  result a popup opens suggesting some field names but this popup is triggered on theeditor and not on the dialog  if you press  enter to select a suggestion thefield is renamed to ev and the popup remains open  expected  result  popup closes and selection is inserted into the  new  name  field 
 regression package explorer doesn t show folders with non package names anymore rc  the regression was introduced by a fix we put in into m  the bug number is  however this problem was already raised against and we fixed it for since we considered it major there  the problem appears in situations where clients create a folder insides a source folder with a non package name for example a b and source folder output folder  we havent t seen this since  eclipse developement setup is src and output folder bin  test cases create normal  java project select project  new  folder enter name a b observe folder doesn t show up 
 blank perspective after downloading swt examples  build rc i cannot reproduce this but i got into a state where perspectives would no longer be visibly displayed i could still open close switch reset perspective but they would never be visible  ctrl f could still toggle between views within that perspective and status line contributions would still work  roughly here is what i did  started a brand new  eclipse workspace  went through the  hello  world  java tutorial from the welcome page  went back to the  welcome page and tested every link in  overview  tutorials and  what s  new  finally opened the  samples intro category  clicked to download the swt examples  clicked yes on prompt to download from eclipse org a prompt came up asking if i wanted to reset the perspective  at the time i had  java perspective open and  resource perspective was also in my perspective tab group i can t recall if i selected yes or no from this diaog  clicked  finish on the sample download wizard  every perspective was now blank  nothing in log or on  java console 
 error when changing class name in  configure  accessor  class dilaog from  externalize  strings dialog  eclipse rc  version  build id  create a new class with strings to externalize  source  externalize  strings  configure tab to  class name field and select all text  messages press  delete start typing like  my class error  the type name is not a valid identifierand the ok button is disabled 
 search should not populate  java model cache i  start new workspace with javamodel trace on  import all sdk plugins as linked projects  open java lang  object  search for references to  object in workspace observe a lot of class files are opened and put in the  java model cache 
 search for file occurences keybinding doesn t work rc i opened org eclipse ui examples jobs views  jobs view added a field to theclasses saved the file note at this point there are no errors or warnings inthe file then clicked on another existing field and pressed ct rl shift u  all  igot was a beep i get this a lot and it is really annoying because i rely onthis search function i love it  the message in the status line when this happens is element is not a javaelement  so here are the exact steps to reproduce of the time note that i haveanalyse annotations while typing turned off open  jobs views org eclipse ui examples jobs plugin click on user field attribute and ctrl shirt u works add an attribute to the end of the  button fields  don t save yet  click on another attribute and ctrl shirt u  beep  nothing happens save and the file compiles without errors click on user field again and then ctrl shirt u  it no longer works and theabove error message is shown in the status line  closing and then opening the editor will get you out of this state but this ishappening all the time and at first i thought it was a keybinding problem butit actually looks like a java search issue 
