Bug 123256 - [Operations] Tagging version on project in CVS can cause duplicate characters
Summary: [Operations] Tagging version on project in CVS can cause duplicate characters
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Linux
: P5 minor (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted
: 123329 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-10 10:24 EST by Tim Hartley CLA
Modified: 2022-01-24 14:41 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Hartley CLA 2006-01-10 10:24:54 EST
Using:
eclipse 3.1.1 build id: M20050929-0840
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
Fedora Core 4 and Gnome 2.10.0

I was tagging a CVS-shared project (or any file) as a specific version, and I was getting duplicate characters in the "Tag Resources" dialog box.

Here are the steps to duplicate:  
1. Team->Tag as Version (on a CVS-shared project)
2. Press the "details" button to expand the previous versions.
3. Press the "details" button again to close the new section.
4. Type in the text box.  (Additional characters should show up._
Comment 1 Michael Valenta CLA 2006-02-14 08:35:18 EST
I couldn't duplicate the behavior you saw but I also am not able to get the same setup. However, I did get the following exceptions so it is possible that the error is causing the faulty behavior:

org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:3349)
	at org.eclipse.swt.SWT.error(SWT.java:3272)
	at org.eclipse.swt.SWT.error(SWT.java:3243)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:432)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:327)
	at org.eclipse.swt.widgets.Control.setRedraw(Control.java:2499)
	at org.eclipse.team.internal.ccvs.ui.tags.TagSelectionArea.updateTagDisplay(TagSelectionArea.java:233)
	at org.eclipse.team.internal.ccvs.ui.tags.TagSelectionArea.setFilter(TagSelectionArea.java:638)
	at org.eclipse.team.internal.ccvs.ui.tags.TagAsVersionDialog.updateEnablements(TagAsVersionDialog.java:145)
	at org.eclipse.team.internal.ccvs.ui.tags.TagAsVersionDialog$1.modifyText(TagAsVersionDialog.java:67)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:196)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:949)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:930)
	at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2138)
	at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:3364)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:3238)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:3965)
	at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
	at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1723)
	at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:131)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:3323)
	at org.eclipse.swt.widgets.Text.windowProc(Text.java:1838)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:3965)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1799)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2905)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:811)
	at org.eclipse.jface.window.Window.open(Window.java:789)
	at org.eclipse.team.internal.ccvs.ui.actions.TagAction.configureOperation(TagAction.java:88)
	at org.eclipse.team.internal.ccvs.ui.actions.TagAction$1.run(TagAction.java:53)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:152)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:28)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:3702)
	at org.eclipse.team.internal.ccvs.ui.actions.TagAction.execute(TagAction.java:51)
	at org.eclipse.team.internal.ccvs.ui.actions.CVSAction.run(CVSAction.java:119)
	at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:70)
	at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:530)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:480)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:392)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3287)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2907)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1899)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1863)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:417)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:99)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:374)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
	at java.lang.reflect.Method.invoke(Method.java:391)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 2 Tim Hartley CLA 2006-02-14 08:44:37 EST
I can confirm the exception is thrown at the same time I see the doubled characters.

My exception:

!ENTRY org.eclipse.ui 4 4 2006-02-14 08:43:46.769
!MESSAGE Unhandled event loop exception
Unhandled event loop exception
Reason:

!ENTRY org.eclipse.ui 4 0 2006-02-14 08:43:46.771
!MESSAGE Widget is disposed
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
        at org.eclipse.swt.SWT.error(SWT.java:2942)
        at org.eclipse.swt.SWT.error(SWT.java:2865)
        at org.eclipse.swt.SWT.error(SWT.java:2836)
        at org.eclipse.swt.widgets.Widget.error(Widget.java:408)
        at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:344)
        at org.eclipse.swt.widgets.Control.setRedraw(Control.java:2911)
        at org.eclipse.team.internal.ccvs.ui.tags.TagSelectionArea.updateTagDisplay(TagSelectionArea.java:234)
        at org.eclipse.team.internal.ccvs.ui.tags.TagSelectionArea.setFilter(TagSelectionArea.java:639)
        at org.eclipse.team.internal.ccvs.ui.tags.TagAsVersionDialog.updateEnablements(TagAsVersionDialog.java:145)
        at org.eclipse.team.internal.ccvs.ui.tags.TagAsVersionDialog$1.modifyText(TagAsVersionDialog.java:67)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:188)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1045)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1026)
        at org.eclipse.swt.widgets.Text.gtk_changed(Text.java:959)
        at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1321)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:3436)
        at org.eclipse.swt.internal.gtk.OS._g_signal_emit_by_name(Native Method)        at org.eclipse.swt.internal.gtk.OS.g_signal_emit_by_name(OS.java:1573)
        at org.eclipse.swt.widgets.Text.gtk_commit(Text.java:980)
        at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1355)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:3442)
        at org.eclipse.swt.internal.gtk.OS._gtk_im_context_filter_keypress(Native Method)
        at org.eclipse.swt.internal.gtk.OS.gtk_im_context_filter_keypress(OS.java:4327)
        at org.eclipse.swt.widgets.Text.filterKey(Text.java:422)
        at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:1957)
        at org.eclipse.swt.widgets.Text.gtk_key_press_event(Text.java:1110)
        at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1365)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:3442)
        at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
        at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:4777)
        at org.eclipse.swt.widgets.Display.eventProc(Display.java:1067)
        at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
        at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1158)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2570)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
        at org.eclipse.jface.window.Window.open(Window.java:787)
        at org.eclipse.team.internal.ccvs.ui.actions.TagAction.configureOperation(TagAction.java:89)
        at org.eclipse.team.internal.ccvs.ui.actions.TagAction$1.run(TagAction.java:57)
        at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:152)
        at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:28)
        at org.eclipse.swt.widgets.Display.syncExec(Display.java:3366)
        at org.eclipse.team.internal.ccvs.ui.actions.TagAction.execute(TagAction.java:55)
        at org.eclipse.team.internal.ccvs.ui.actions.CVSAction.run(CVSAction.java:117)
        at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:70)
        at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:236)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2867)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
        at org.eclipse.core.launcher.Main.run(Main.java:973)
        at org.eclipse.core.launcher.Main.main(Main.java:948)
Widget is disposed
Comment 3 Michael Valenta CLA 2006-04-12 09:20:37 EDT
*** Bug 123329 has been marked as a duplicate of this bug. ***
Comment 4 Michael Valenta CLA 2006-08-17 10:37:56 EDT
We do not plan on addressing this issue in 3.3.
Comment 5 Eclipse Webmaster CLA 2019-09-06 16:11:36 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 6 Eclipse Genie CLA 2022-01-24 14:41:00 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.