Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » editor tabs re-ordered when switching tasks
editor tabs re-ordered when switching tasks [message #52824] Wed, 16 July 2008 13:32 Go to next message
Derek is currently offline DerekFriend
Messages: 4
Registered: July 2009
Junior Member
When I open several editors under a given task context they appear from
left to right in a certain order. When I switch tasks and then switch
back to my original task context the editors are in a different order.
This means that I have to keep searching for the class that I want. Is
this actually the expected behaviour? Is this a bug or is this just a
limitation of Eclipse.
Re: editor tabs re-ordered when switching tasks [message #52851 is a reply to message #52824] Wed, 16 July 2008 14:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jeffreyz.q-free.com

I see the same behaviour, and it is annoying. It makes me hesitate to
change active tasks.

> When I open several editors under a given task context they appear from
> left to right in a certain order. When I switch tasks and then switch
> back to my original task context the editors are in a different order.
> This means that I have to keep searching for the class that I want. Is
> this actually the expected behaviour? Is this a bug or is this just a
> limitation of Eclipse.
Re: editor tabs re-ordered when switching tasks [message #52907 is a reply to message #52824] Thu, 17 July 2008 06:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: steffen.pingel.eclipse.org

Derek Hunter wrote:
> When I open several editors under a given task context they appear from
> left to right in a certain order. When I switch tasks and then switch
> back to my original task context the editors are in a different order.
> This means that I have to keep searching for the class that I want. Is
> this actually the expected behaviour? Is this a bug or is this just a
> limitation of Eclipse.

Mylyn uses the workbench memento mechanism to restore editors on task
activation. I am not sure if that preserves the order of editors. Derek,
please go ahead and file a new bug:

http://www.eclipse.org/mylyn/bugs/

Steffen
Re: editor tabs re-ordered when switching tasks [message #55101 is a reply to message #52907] Thu, 31 July 2008 21:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: echarlton.ltionline.com

Along the same line, Eclipse allows the user to arrange editor tabs in
distinct panes in the main editor window, but associating editor tabs in
panes, associating that arrangement with a context in a task, then
deactivating then reactivating that task results in totally blowing-away
the pane arrangement.

Upon activating a task, all files in the context are reopened in one pane,
possibly in a different order, as mentioned.

Steffen, I don't suppose the workbench memento mechanism can handle editor
pane arrangement / layout?
Re: editor tabs re-ordered when switching tasks [message #55983 is a reply to message #55101] Wed, 13 August 2008 21:10 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
> Along the same line, Eclipse allows the user to arrange editor tabs in
> distinct panes in the main editor window, but associating editor tabs in
> panes, associating that arrangement with a context in a task, then
> deactivating then reactivating that task results in totally blowing-away
> the pane arrangement.
>
> Upon activating a task, all files in the context are reopened in one pane,
> possibly in a different order, as mentioned.
>
> Steffen, I don't suppose the workbench memento mechanism can handle editor
> pane arrangement / layout?

Yes, if I restart Eclipse with two editors side by side the workbench
restores the original layout. I would assume that the workbench layout is
stored separately from the open editors but I am not sure.

A similar request for restoring the layout on task activation has been made
here:

244075: restore dual editor panes upon task reactivation if previously
working in dual pane mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=244075

Steffen
Re: editor tabs re-ordered when switching tasks [message #591247 is a reply to message #52824] Wed, 16 July 2008 14:02 Go to previous message
Jeffrey Zelt is currently offline Jeffrey ZeltFriend
Messages: 17
Registered: July 2009
Junior Member
I see the same behaviour, and it is annoying. It makes me hesitate to
change active tasks.

> When I open several editors under a given task context they appear from
> left to right in a certain order. When I switch tasks and then switch
> back to my original task context the editors are in a different order.
> This means that I have to keep searching for the class that I want. Is
> this actually the expected behaviour? Is this a bug or is this just a
> limitation of Eclipse.
Re: editor tabs re-ordered when switching tasks [message #591262 is a reply to message #52824] Thu, 17 July 2008 06:42 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
Derek Hunter wrote:
> When I open several editors under a given task context they appear from
> left to right in a certain order. When I switch tasks and then switch
> back to my original task context the editors are in a different order.
> This means that I have to keep searching for the class that I want. Is
> this actually the expected behaviour? Is this a bug or is this just a
> limitation of Eclipse.

Mylyn uses the workbench memento mechanism to restore editors on task
activation. I am not sure if that preserves the order of editors. Derek,
please go ahead and file a new bug:

http://www.eclipse.org/mylyn/bugs/

Steffen
Re: editor tabs re-ordered when switching tasks [message #592105 is a reply to message #52907] Thu, 31 July 2008 21:55 Go to previous message
Eclipse UserFriend
Originally posted by: echarlton.ltionline.com

Along the same line, Eclipse allows the user to arrange editor tabs in
distinct panes in the main editor window, but associating editor tabs in
panes, associating that arrangement with a context in a task, then
deactivating then reactivating that task results in totally blowing-away
the pane arrangement.

Upon activating a task, all files in the context are reopened in one pane,
possibly in a different order, as mentioned.

Steffen, I don't suppose the workbench memento mechanism can handle editor
pane arrangement / layout?
Re: editor tabs re-ordered when switching tasks [message #592445 is a reply to message #55101] Wed, 13 August 2008 21:10 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
> Along the same line, Eclipse allows the user to arrange editor tabs in
> distinct panes in the main editor window, but associating editor tabs in
> panes, associating that arrangement with a context in a task, then
> deactivating then reactivating that task results in totally blowing-away
> the pane arrangement.
>
> Upon activating a task, all files in the context are reopened in one pane,
> possibly in a different order, as mentioned.
>
> Steffen, I don't suppose the workbench memento mechanism can handle editor
> pane arrangement / layout?

Yes, if I restart Eclipse with two editors side by side the workbench
restores the original layout. I would assume that the workbench layout is
stored separately from the open editors but I am not sure.

A similar request for restoring the layout on task activation has been made
here:

244075: restore dual editor panes upon task reactivation if previously
working in dual pane mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=244075

Steffen
Previous Topic:Connector Documentation
Next Topic:How to update bugzilla with changeset revision information?
Goto Forum:
  


Current Time: Wed Jul 17 09:54:38 GMT 2024

Powered by FUDForum. Page generated in 0.04478 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top