Home » Language IDEs » C / C++ IDE (CDT) » A cautionary tale
A cautionary tale [message #6802] |
Thu, 20 December 2001 10:12  |
Eclipse User |
|
|
|
I have just succeded in deleted rather a lot of work without meaning to.
I do not know if this is a Linux feature (or rather Linux Eclipse), an
Eclipse feature of a CDT feature, but I will relate it anyway partly
to stop others falling into the same trap, and partly to see if there is
something that could be done about it.
Some background.
I had a large project (several thousand source files) which I wanted to
start to work in using CDT. Its origins were on a different platform so
I had to do rather a lot of silly things like getting case of the file
names right. So I created a project, and then got all the files in
place, and using Linux facilities got the file names right, and deleted
some historical crud that was no longer needed. Then I refreshed from
local and built all the autoconf stuff. Then I went to delete a single
file but right clicking on its name and selecting delete. Unfortunately
the item selected was not this file, but the whole project (from running
the autoconf menu items) and as right click does not select the item before
applying the menu action the whole project upped and vanished in the blink
of an eye.
Now I have fallen foul of this right button not selecting bit before, but
usually it is not serious. Deleting whole projects I count as serious.
Having not got everying ready to run, I had not yet checked it into CVS,
which I guess was my big mistake. Next time I will be more careful.
Solutions/Questions
Personally I find dialogs asking for confirmation of everying I am going
to do very annoying, so I tend to turn them off at least for deleting
single files. Should Projects be different? Is this project unique to
CDT or is it really en Eclipse (or might be SWT for Linux) problem?
Any thoughts anyone?
|
|
|
Re: A cautionary tale [message #6809 is a reply to message #6802] |
Thu, 20 December 2001 10:30   |
Eclipse User |
|
|
|
We're aware of this problem and it has been resolved in our development
driver. Now, whenever a delete is issued, a confirmation message box comes
up. I think this makes sense for delete or other destructive actions.
Dave
David Goodenough wrote:
> I have just succeded in deleted rather a lot of work without meaning to.
>
> I do not know if this is a Linux feature (or rather Linux Eclipse), an
> Eclipse feature of a CDT feature, but I will relate it anyway partly
> to stop others falling into the same trap, and partly to see if there is
> something that could be done about it.
>
> Some background.
>
> I had a large project (several thousand source files) which I wanted to
> start to work in using CDT. Its origins were on a different platform so
> I had to do rather a lot of silly things like getting case of the file
> names right. So I created a project, and then got all the files in
> place, and using Linux facilities got the file names right, and deleted
> some historical crud that was no longer needed. Then I refreshed from
> local and built all the autoconf stuff. Then I went to delete a single
> file but right clicking on its name and selecting delete. Unfortunately
> the item selected was not this file, but the whole project (from running
> the autoconf menu items) and as right click does not select the item before
> applying the menu action the whole project upped and vanished in the blink
> of an eye.
>
> Now I have fallen foul of this right button not selecting bit before, but
> usually it is not serious. Deleting whole projects I count as serious.
>
> Having not got everying ready to run, I had not yet checked it into CVS,
> which I guess was my big mistake. Next time I will be more careful.
>
> Solutions/Questions
>
> Personally I find dialogs asking for confirmation of everying I am going
> to do very annoying, so I tend to turn them off at least for deleting
> single files. Should Projects be different? Is this project unique to
> CDT or is it really en Eclipse (or might be SWT for Linux) problem?
>
> Any thoughts anyone?
|
|
|
Re: A cautionary tale [message #6816 is a reply to message #6802] |
Thu, 20 December 2001 10:44   |
Eclipse User |
|
|
|
Originally posted by: johan.nosp.m.appeal.se
My guess is that "right-click-doesn't-select" is another Motif
"feature". But fear not, Motif is slowly but surely getting replaced by
GTK+:
http://bugs.eclipse.org/bugs/show_bug.cgi?id=5697
Cheers //Johan
David Goodenough wrote:
> I have just succeded in deleted rather a lot of work without meaning to.
>
> I do not know if this is a Linux feature (or rather Linux Eclipse), an
> Eclipse feature of a CDT feature, but I will relate it anyway partly
> to stop others falling into the same trap, and partly to see if there is
> something that could be done about it.
>
> Some background.
>
> I had a large project (several thousand source files) which I wanted to
> start to work in using CDT. Its origins were on a different platform so
> I had to do rather a lot of silly things like getting case of the file
> names right. So I created a project, and then got all the files in
> place, and using Linux facilities got the file names right, and deleted
> some historical crud that was no longer needed. Then I refreshed from
> local and built all the autoconf stuff. Then I went to delete a single
> file but right clicking on its name and selecting delete. Unfortunately
> the item selected was not this file, but the whole project (from running
> the autoconf menu items) and as right click does not select the item before
> applying the menu action the whole project upped and vanished in the blink
> of an eye.
>
> Now I have fallen foul of this right button not selecting bit before, but
> usually it is not serious. Deleting whole projects I count as serious.
>
> Having not got everying ready to run, I had not yet checked it into CVS,
> which I guess was my big mistake. Next time I will be more careful.
>
> Solutions/Questions
>
> Personally I find dialogs asking for confirmation of everying I am going
> to do very annoying, so I tend to turn them off at least for deleting
> single files. Should Projects be different? Is this project unique to
> CDT or is it really en Eclipse (or might be SWT for Linux) problem?
>
> Any thoughts anyone?
>
|
|
|
Re: A cautionary tale [message #6823 is a reply to message #6816] |
Thu, 20 December 2001 10:52   |
Eclipse User |
|
|
|
Originally posted by: jemoody.home.com
Actually the Tree widget is completely emulated on Motif, so
"Right-click-doesn't-select" is an SWT on Motif "feature".
If you believe this should be fixed, you might want to log a bug
in SWT.
james
"Johan Walles" <johan.nosp@m.appeal.se> wrote in message
news:3C22075F.9030501@m.appeal.se...
> My guess is that "right-click-doesn't-select" is another Motif
> "feature". But fear not, Motif is slowly but surely getting replaced by
> GTK+:
>
> http://bugs.eclipse.org/bugs/show_bug.cgi?id=5697
>
> Cheers //Johan
>
> David Goodenough wrote:
>
> > I have just succeded in deleted rather a lot of work without meaning to.
> >
> > I do not know if this is a Linux feature (or rather Linux Eclipse), an
> > Eclipse feature of a CDT feature, but I will relate it anyway partly
> > to stop others falling into the same trap, and partly to see if there is
> > something that could be done about it.
> >
> > Some background.
> >
> > I had a large project (several thousand source files) which I wanted to
> > start to work in using CDT. Its origins were on a different platform so
> > I had to do rather a lot of silly things like getting case of the file
> > names right. So I created a project, and then got all the files in
> > place, and using Linux facilities got the file names right, and deleted
> > some historical crud that was no longer needed. Then I refreshed from
> > local and built all the autoconf stuff. Then I went to delete a single
> > file but right clicking on its name and selecting delete. Unfortunately
> > the item selected was not this file, but the whole project (from running
> > the autoconf menu items) and as right click does not select the item
before
> > applying the menu action the whole project upped and vanished in the
blink
> > of an eye.
> >
> > Now I have fallen foul of this right button not selecting bit before,
but
> > usually it is not serious. Deleting whole projects I count as serious.
> >
> > Having not got everying ready to run, I had not yet checked it into CVS,
> > which I guess was my big mistake. Next time I will be more careful.
> >
> > Solutions/Questions
> >
> > Personally I find dialogs asking for confirmation of everying I am going
> > to do very annoying, so I tend to turn them off at least for deleting
> > single files. Should Projects be different? Is this project unique to
> > CDT or is it really en Eclipse (or might be SWT for Linux) problem?
> >
> > Any thoughts anyone?
> >
>
|
|
|
Re: A cautionary tale [message #6827 is a reply to message #6809] |
Thu, 20 December 2001 10:41   |
Eclipse User |
|
|
|
David McKnight wrote:
> We're aware of this problem and it has been resolved in our development
> driver. Now, whenever a delete is issued, a confirmation message box
> comes
> up. I think this makes sense for delete or other destructive actions.
>
> Dave
>
>
> David Goodenough wrote:
>
>> I have just succeded in deleted rather a lot of work without meaning to.
>>
>> I do not know if this is a Linux feature (or rather Linux Eclipse), an
>> Eclipse feature of a CDT feature, but I will relate it anyway partly
>> to stop others falling into the same trap, and partly to see if there is
>> something that could be done about it.
>>
>> Some background.
>>
>> I had a large project (several thousand source files) which I wanted to
>> start to work in using CDT. Its origins were on a different platform so
>> I had to do rather a lot of silly things like getting case of the file
>> names right. So I created a project, and then got all the files in
>> place, and using Linux facilities got the file names right, and deleted
>> some historical crud that was no longer needed. Then I refreshed from
>> local and built all the autoconf stuff. Then I went to delete a single
>> file but right clicking on its name and selecting delete. Unfortunately
>> the item selected was not this file, but the whole project (from running
>> the autoconf menu items) and as right click does not select the item
>> before applying the menu action the whole project upped and vanished in
>> the blink of an eye.
>>
>> Now I have fallen foul of this right button not selecting bit before, but
>> usually it is not serious. Deleting whole projects I count as serious.
>>
>> Having not got everying ready to run, I had not yet checked it into CVS,
>> which I guess was my big mistake. Next time I will be more careful.
>>
>> Solutions/Questions
>>
>> Personally I find dialogs asking for confirmation of everying I am going
>> to do very annoying, so I tend to turn them off at least for deleting
>> single files. Should Projects be different? Is this project unique to
>> CDT or is it really en Eclipse (or might be SWT for Linux) problem?
>>
>> Any thoughts anyone?
Good to know it will be fixed. Any timescale on the next release?
|
|
|
Re: A cautionary tale [message #8589 is a reply to message #6823] |
Thu, 20 December 2001 15:12   |
Eclipse User |
|
|
|
James Moody wrote:
> Actually the Tree widget is completely emulated on Motif, so
> "Right-click-doesn't-select" is an SWT on Motif "feature".
> If you believe this should be fixed, you might want to log a bug
> in SWT.
Tried that (bug 7136), but McQ seems to thing that this is the proper
behaviour because the down click raises the menu and the up selects,
so it could not happen right anyway. I have responded to his
closing of the bug, but I am not sure he will listen. He also thinks
that one might only want it to happen this way because Windows does it
this way, ignoring the fact that it can lead the user to such a
disasterous position as the one I described. As far as I am concerned
the user feeling at home and not got at is far more imporant than
any platform nicety but he does not seem to agree.
>
> james
>
> "Johan Walles" <johan.nosp@m.appeal.se> wrote in message
> news:3C22075F.9030501@m.appeal.se...
>> My guess is that "right-click-doesn't-select" is another Motif
>> "feature". But fear not, Motif is slowly but surely getting replaced by
>> GTK+:
>>
>> http://bugs.eclipse.org/bugs/show_bug.cgi?id=5697
>>
>> Cheers //Johan
>>
>> David Goodenough wrote:
>>
>> > I have just succeded in deleted rather a lot of work without meaning
>> > to.
>> >
>> > I do not know if this is a Linux feature (or rather Linux Eclipse), an
>> > Eclipse feature of a CDT feature, but I will relate it anyway partly
>> > to stop others falling into the same trap, and partly to see if there
>> > is something that could be done about it.
>> >
>> > Some background.
>> >
>> > I had a large project (several thousand source files) which I wanted to
>> > start to work in using CDT. Its origins were on a different platform
>> > so I had to do rather a lot of silly things like getting case of the
>> > file
>> > names right. So I created a project, and then got all the files in
>> > place, and using Linux facilities got the file names right, and deleted
>> > some historical crud that was no longer needed. Then I refreshed from
>> > local and built all the autoconf stuff. Then I went to delete a single
>> > file but right clicking on its name and selecting delete.
>> > Unfortunately the item selected was not this file, but the whole
>> > project (from running the autoconf menu items) and as right click does
>> > not select the item
> before
>> > applying the menu action the whole project upped and vanished in the
> blink
>> > of an eye.
>> >
>> > Now I have fallen foul of this right button not selecting bit before,
> but
>> > usually it is not serious. Deleting whole projects I count as serious.
>> >
>> > Having not got everying ready to run, I had not yet checked it into
>> > CVS,
>> > which I guess was my big mistake. Next time I will be more careful.
>> >
>> > Solutions/Questions
>> >
>> > Personally I find dialogs asking for confirmation of everying I am
>> > going to do very annoying, so I tend to turn them off at least for
>> > deleting
>> > single files. Should Projects be different? Is this project unique to
>> > CDT or is it really en Eclipse (or might be SWT for Linux) problem?
>> >
>> > Any thoughts anyone?
>> >
>>
|
|
| | |
Re: A cautionary tale [message #8635 is a reply to message #6827] |
Fri, 21 December 2001 09:38   |
Eclipse User |
|
|
|
David,
We are putting a release plan together as we speak so I don't have a date for
the next release just yet...but it won't be soon.
Would you be willing to work with a "Stable Build" that would include the fix
and some others?
David Goodenough wrote:
> David McKnight wrote:
>
> > We're aware of this problem and it has been resolved in our development
> > driver. Now, whenever a delete is issued, a confirmation message box
> > comes
> > up. I think this makes sense for delete or other destructive actions.
> >
> > Dave
> >
> >
> > David Goodenough wrote:
> >
> >> I have just succeded in deleted rather a lot of work without meaning to.
> >>
> >> I do not know if this is a Linux feature (or rather Linux Eclipse), an
> >> Eclipse feature of a CDT feature, but I will relate it anyway partly
> >> to stop others falling into the same trap, and partly to see if there is
> >> something that could be done about it.
> >>
> >> Some background.
> >>
> >> I had a large project (several thousand source files) which I wanted to
> >> start to work in using CDT. Its origins were on a different platform so
> >> I had to do rather a lot of silly things like getting case of the file
> >> names right. So I created a project, and then got all the files in
> >> place, and using Linux facilities got the file names right, and deleted
> >> some historical crud that was no longer needed. Then I refreshed from
> >> local and built all the autoconf stuff. Then I went to delete a single
> >> file but right clicking on its name and selecting delete. Unfortunately
> >> the item selected was not this file, but the whole project (from running
> >> the autoconf menu items) and as right click does not select the item
> >> before applying the menu action the whole project upped and vanished in
> >> the blink of an eye.
> >>
> >> Now I have fallen foul of this right button not selecting bit before, but
> >> usually it is not serious. Deleting whole projects I count as serious.
> >>
> >> Having not got everying ready to run, I had not yet checked it into CVS,
> >> which I guess was my big mistake. Next time I will be more careful.
> >>
> >> Solutions/Questions
> >>
> >> Personally I find dialogs asking for confirmation of everying I am going
> >> to do very annoying, so I tend to turn them off at least for deleting
> >> single files. Should Projects be different? Is this project unique to
> >> CDT or is it really en Eclipse (or might be SWT for Linux) problem?
> >>
> >> Any thoughts anyone?
>
> Good to know it will be fixed. Any timescale on the next release?
|
|
|
Re: A cautionary tale [message #8648 is a reply to message #8635] |
Fri, 21 December 2001 09:54   |
Eclipse User |
|
|
|
Robert Cecco wrote:
> David,
> We are putting a release plan together as we speak so I don't have a date
> for the next release just yet...but it won't be soon.
> Would you be willing to work with a "Stable Build" that would include the
> fix and some others?
>
I would indeed, and if I can provide feedback I will. Currently as you
may have noticed I am trying to get my head around autoconf etc, and how
to apply it to an old project structure and my head hurts. So a little
light testing would be a relief.
>
>
> David Goodenough wrote:
>
>> David McKnight wrote:
>>
>> > We're aware of this problem and it has been resolved in our development
>> > driver. Now, whenever a delete is issued, a confirmation message box
>> > comes
>> > up. I think this makes sense for delete or other destructive actions.
>> >
>> > Dave
>> >
>> >
>> > David Goodenough wrote:
>> >
>> >> I have just succeded in deleted rather a lot of work without meaning
>> >> to.
>> >>
>> >> I do not know if this is a Linux feature (or rather Linux Eclipse), an
>> >> Eclipse feature of a CDT feature, but I will relate it anyway partly
>> >> to stop others falling into the same trap, and partly to see if there
>> >> is something that could be done about it.
>> >>
>> >> Some background.
>> >>
>> >> I had a large project (several thousand source files) which I wanted
>> >> to
>> >> start to work in using CDT. Its origins were on a different platform
>> >> so I had to do rather a lot of silly things like getting case of the
>> >> file
>> >> names right. So I created a project, and then got all the files in
>> >> place, and using Linux facilities got the file names right, and
>> >> deleted
>> >> some historical crud that was no longer needed. Then I refreshed from
>> >> local and built all the autoconf stuff. Then I went to delete a
>> >> single
>> >> file but right clicking on its name and selecting delete.
>> >> Unfortunately the item selected was not this file, but the whole
>> >> project (from running the autoconf menu items) and as right click does
>> >> not select the item before applying the menu action the whole project
>> >> upped and vanished in the blink of an eye.
>> >>
>> >> Now I have fallen foul of this right button not selecting bit before,
>> >> but
>> >> usually it is not serious. Deleting whole projects I count as
>> >> serious.
>> >>
>> >> Having not got everying ready to run, I had not yet checked it into
>> >> CVS,
>> >> which I guess was my big mistake. Next time I will be more careful.
>> >>
>> >> Solutions/Questions
>> >>
>> >> Personally I find dialogs asking for confirmation of everying I am
>> >> going to do very annoying, so I tend to turn them off at least for
>> >> deleting
>> >> single files. Should Projects be different? Is this project unique
>> >> to CDT or is it really en Eclipse (or might be SWT for Linux) problem?
>> >>
>> >> Any thoughts anyone?
>>
>> Good to know it will be fixed. Any timescale on the next release?
|
|
|
Re: A cautionary tale [message #8658 is a reply to message #8648] |
Fri, 21 December 2001 09:55   |
Eclipse User |
|
|
|
David Goodenough wrote:
> Robert Cecco wrote:
>
>> David,
>> We are putting a release plan together as we speak so I don't have a date
>> for the next release just yet...but it won't be soon.
>> Would you be willing to work with a "Stable Build" that would include the
>> fix and some others?
>>
> I would indeed, and if I can provide feedback I will. Currently as you
> may have noticed I am trying to get my head around autoconf etc, and how
> to apply it to an old project structure and my head hurts. So a little
> light testing would be a relief.
and as an afterthought, any chance of it working with Eclipse V2?
>>
>>
>> David Goodenough wrote:
>>
>>> David McKnight wrote:
>>>
>>> > We're aware of this problem and it has been resolved in our
>>> > development
>>> > driver. Now, whenever a delete is issued, a confirmation message box
>>> > comes
>>> > up. I think this makes sense for delete or other destructive actions.
>>> >
>>> > Dave
>>> >
>>> >
>>> > David Goodenough wrote:
>>> >
>>> >> I have just succeded in deleted rather a lot of work without meaning
>>> >> to.
>>> >>
>>> >> I do not know if this is a Linux feature (or rather Linux Eclipse),
>>> >> an Eclipse feature of a CDT feature, but I will relate it anyway
>>> >> partly to stop others falling into the same trap, and partly to see
>>> >> if there is something that could be done about it.
>>> >>
>>> >> Some background.
>>> >>
>>> >> I had a large project (several thousand source files) which I wanted
>>> >> to
>>> >> start to work in using CDT. Its origins were on a different platform
>>> >> so I had to do rather a lot of silly things like getting case of the
>>> >> file
>>> >> names right. So I created a project, and then got all the files in
>>> >> place, and using Linux facilities got the file names right, and
>>> >> deleted
>>> >> some historical crud that was no longer needed. Then I refreshed
>>> >> from
>>> >> local and built all the autoconf stuff. Then I went to delete a
>>> >> single
>>> >> file but right clicking on its name and selecting delete.
>>> >> Unfortunately the item selected was not this file, but the whole
>>> >> project (from running the autoconf menu items) and as right click
>>> >> does not select the item before applying the menu action the whole
>>> >> project upped and vanished in the blink of an eye.
>>> >>
>>> >> Now I have fallen foul of this right button not selecting bit before,
>>> >> but
>>> >> usually it is not serious. Deleting whole projects I count as
>>> >> serious.
>>> >>
>>> >> Having not got everying ready to run, I had not yet checked it into
>>> >> CVS,
>>> >> which I guess was my big mistake. Next time I will be more careful.
>>> >>
>>> >> Solutions/Questions
>>> >>
>>> >> Personally I find dialogs asking for confirmation of everying I am
>>> >> going to do very annoying, so I tend to turn them off at least for
>>> >> deleting
>>> >> single files. Should Projects be different? Is this project unique
>>> >> to CDT or is it really en Eclipse (or might be SWT for Linux)
>>> >> problem?
>>> >>
>>> >> Any thoughts anyone?
>>>
>>> Good to know it will be fixed. Any timescale on the next release?
|
|
|
Re: A cautionary tale [message #8668 is a reply to message #8658] |
Fri, 21 December 2001 10:58  |
Eclipse User |
|
|
|
Support for Eclipse V2 is a larger effort that we are currently undertaking. So
the next driver (possibly the next few) will not have Eclipse V2 support.
David Goodenough wrote:
> David Goodenough wrote:
>
> > Robert Cecco wrote:
> >
> >> David,
> >> We are putting a release plan together as we speak so I don't have a date
> >> for the next release just yet...but it won't be soon.
> >> Would you be willing to work with a "Stable Build" that would include the
> >> fix and some others?
> >>
> > I would indeed, and if I can provide feedback I will. Currently as you
> > may have noticed I am trying to get my head around autoconf etc, and how
> > to apply it to an old project structure and my head hurts. So a little
> > light testing would be a relief.
>
> and as an afterthought, any chance of it working with Eclipse V2?
>
> >>
> >>
> >> David Goodenough wrote:
> >>
> >>> David McKnight wrote:
> >>>
> >>> > We're aware of this problem and it has been resolved in our
> >>> > development
> >>> > driver. Now, whenever a delete is issued, a confirmation message box
> >>> > comes
> >>> > up. I think this makes sense for delete or other destructive actions.
> >>> >
> >>> > Dave
> >>> >
> >>> >
> >>> > David Goodenough wrote:
> >>> >
> >>> >> I have just succeded in deleted rather a lot of work without meaning
> >>> >> to.
> >>> >>
> >>> >> I do not know if this is a Linux feature (or rather Linux Eclipse),
> >>> >> an Eclipse feature of a CDT feature, but I will relate it anyway
> >>> >> partly to stop others falling into the same trap, and partly to see
> >>> >> if there is something that could be done about it.
> >>> >>
> >>> >> Some background.
> >>> >>
> >>> >> I had a large project (several thousand source files) which I wanted
> >>> >> to
> >>> >> start to work in using CDT. Its origins were on a different platform
> >>> >> so I had to do rather a lot of silly things like getting case of the
> >>> >> file
> >>> >> names right. So I created a project, and then got all the files in
> >>> >> place, and using Linux facilities got the file names right, and
> >>> >> deleted
> >>> >> some historical crud that was no longer needed. Then I refreshed
> >>> >> from
> >>> >> local and built all the autoconf stuff. Then I went to delete a
> >>> >> single
> >>> >> file but right clicking on its name and selecting delete.
> >>> >> Unfortunately the item selected was not this file, but the whole
> >>> >> project (from running the autoconf menu items) and as right click
> >>> >> does not select the item before applying the menu action the whole
> >>> >> project upped and vanished in the blink of an eye.
> >>> >>
> >>> >> Now I have fallen foul of this right button not selecting bit before,
> >>> >> but
> >>> >> usually it is not serious. Deleting whole projects I count as
> >>> >> serious.
> >>> >>
> >>> >> Having not got everying ready to run, I had not yet checked it into
> >>> >> CVS,
> >>> >> which I guess was my big mistake. Next time I will be more careful.
> >>> >>
> >>> >> Solutions/Questions
> >>> >>
> >>> >> Personally I find dialogs asking for confirmation of everying I am
> >>> >> going to do very annoying, so I tend to turn them off at least for
> >>> >> deleting
> >>> >> single files. Should Projects be different? Is this project unique
> >>> >> to CDT or is it really en Eclipse (or might be SWT for Linux)
> >>> >> problem?
> >>> >>
> >>> >> Any thoughts anyone?
> >>>
> >>> Good to know it will be fixed. Any timescale on the next release?
|
|
|
Goto Forum:
Current Time: Thu May 08 17:04:10 EDT 2025
Powered by FUDForum. Page generated in 0.10312 seconds
|