Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » editors order not preserved on task re-activation
editors order not preserved on task re-activation [message #501827] Thu, 03 December 2009 23:20 Go to next message
Alexey Semenov is currently offline Alexey SemenovFriend
Messages: 78
Registered: July 2009
Member
Hi All,

I've noticed, that when I open some files while a task is active, then
deactivate the task and then activate it again, the files are closed and
then reopened, but with the files' tabs in Eclipse shuffled randomly. I
understand that this might be because of Mylyn's relying on Eclipse's core
functionality on saving and restoring workbench state, however this
understanding doesn't make this bug less annoying :(

I guess this is a known bug; if so, could anyone please point it for me in
Bugzilla so that I could vote for it?

I know nothing about Mylyn's internal structure and very little about
Eclipse's. Still, as an idea, Mylyn could store the tabs order and somehow
reorder tabs to ensure the correct ordering on task activation.

Another solution could be on task activation to make mylyn imitate opening
the files one by one with a tiny pause after each one, so that the tabs
will naturally be in the correct order, from left to right, just as I need.

As both these solution have obvious side-effects, they could be made
disablable by a checkbox in the preferences... Isn't this all realistic?
At least sounds quite possible for me.

Thanks,
Alexey
Re: editors order not preserved on task re-activation [message #501845 is a reply to message #501827] Fri, 04 December 2009 03:27 Go to previous messageGo to next message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
I am not aware that this has been reported before. What is the behaviour
when you restart Eclipse without having a task active? Are all tabs
restored in the same order they were in at shutdown time?

Steffen


Alexey Semenov wrote:

> Hi All,
>
> I've noticed, that when I open some files while a task is active, then
> deactivate the task and then activate it again, the files are closed and
> then reopened, but with the files' tabs in Eclipse shuffled randomly. I
> understand that this might be because of Mylyn's relying on Eclipse's core
> functionality on saving and restoring workbench state, however this
> understanding doesn't make this bug less annoying :(
>
> I guess this is a known bug; if so, could anyone please point it for me in
> Bugzilla so that I could vote for it?
>
> I know nothing about Mylyn's internal structure and very little about
> Eclipse's. Still, as an idea, Mylyn could store the tabs order and somehow
> reorder tabs to ensure the correct ordering on task activation.
>
> Another solution could be on task activation to make mylyn imitate opening
> the files one by one with a tiny pause after each one, so that the tabs
> will naturally be in the correct order, from left to right, just as I
> need.
>
> As both these solution have obvious side-effects, they could be made
> disablable by a checkbox in the preferences... Isn't this all realistic?
> At least sounds quite possible for me.
>
> Thanks,
> Alexey

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Re: editors order not preserved on task re-activation [message #503697 is a reply to message #501845] Tue, 15 December 2009 11:42 Go to previous messageGo to next message
Alexey Semenov is currently offline Alexey SemenovFriend
Messages: 78
Registered: July 2009
Member
Hi Steffen,

It's been a while since you replied. Sorry for the delay, I was working on
a computer with no news client set up.

I've just checked your suggestion with 4 tabs open: a java class, a text
document, an xml document and an another java class. I shutdown then
restart and File -> Restart restored the 4 tabs in exactly the same order.

Now I strongly believe that the order of the tabs should be preserved when
deactivating/activating a task.

Please tell if you need more info.

Alexey


On Fri, 04 Dec 2009 03:27:29 -0000, Steffen Pingel
<steffen.pingel@tasktop.com> wrote:

> I am not aware that this has been reported before. What is the behaviour
> when you restart Eclipse without having a task active? Are all tabs
> restored in the same order they were in at shutdown time?
>
> Steffen
>
>
> Alexey Semenov wrote:
>
>> Hi All,
>>
>> I've noticed, that when I open some files while a task is active, then
>> deactivate the task and then activate it again, the files are closed and
>> then reopened, but with the files' tabs in Eclipse shuffled randomly. I
>> understand that this might be because of Mylyn's relying on Eclipse's
>> core
>> functionality on saving and restoring workbench state, however this
>> understanding doesn't make this bug less annoying :(
>>
>> I guess this is a known bug; if so, could anyone please point it for me
>> in
>> Bugzilla so that I could vote for it?
>>
>> I know nothing about Mylyn's internal structure and very little about
>> Eclipse's. Still, as an idea, Mylyn could store the tabs order and
>> somehow
>> reorder tabs to ensure the correct ordering on task activation.
>>
>> Another solution could be on task activation to make mylyn imitate
>> opening
>> the files one by one with a tiny pause after each one, so that the tabs
>> will naturally be in the correct order, from left to right, just as I
>> need.
>>
>> As both these solution have obvious side-effects, they could be made
>> disablable by a checkbox in the preferences... Isn't this all realistic?
>> At least sounds quite possible for me.
>>
>> Thanks,
>> Alexey
>
Re: editors order not preserved on task re-activation [message #504409 is a reply to message #503697] Fri, 18 December 2009 18:12 Go to previous message
Jake Munson is currently offline Jake MunsonFriend
Messages: 2
Registered: December 2009
Junior Member
I too have noticed this, and was trying to post a topic about it (but it wouldn't post for some reason, I kept getting redirected to the main Eclipse forum page when I'd hit Create Topic).

Anyway, +1 for this request. I've long noticed the symptoms as described, and I'd love it if the tab order were preserved between sessions.
Re: editors order not preserved on task re-activation [message #600141 is a reply to message #501827] Fri, 04 December 2009 03:27 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
I am not aware that this has been reported before. What is the behaviour
when you restart Eclipse without having a task active? Are all tabs
restored in the same order they were in at shutdown time?

Steffen


Alexey Semenov wrote:

> Hi All,
>
> I've noticed, that when I open some files while a task is active, then
> deactivate the task and then activate it again, the files are closed and
> then reopened, but with the files' tabs in Eclipse shuffled randomly. I
> understand that this might be because of Mylyn's relying on Eclipse's core
> functionality on saving and restoring workbench state, however this
> understanding doesn't make this bug less annoying :(
>
> I guess this is a known bug; if so, could anyone please point it for me in
> Bugzilla so that I could vote for it?
>
> I know nothing about Mylyn's internal structure and very little about
> Eclipse's. Still, as an idea, Mylyn could store the tabs order and somehow
> reorder tabs to ensure the correct ordering on task activation.
>
> Another solution could be on task activation to make mylyn imitate opening
> the files one by one with a tiny pause after each one, so that the tabs
> will naturally be in the correct order, from left to right, just as I
> need.
>
> As both these solution have obvious side-effects, they could be made
> disablable by a checkbox in the preferences... Isn't this all realistic?
> At least sounds quite possible for me.
>
> Thanks,
> Alexey

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Re: editors order not preserved on task re-activation [message #600184 is a reply to message #501845] Tue, 15 December 2009 11:42 Go to previous message
Alexey Semenov is currently offline Alexey SemenovFriend
Messages: 78
Registered: July 2009
Member
Hi Steffen,

It's been a while since you replied. Sorry for the delay, I was working on
a computer with no news client set up.

I've just checked your suggestion with 4 tabs open: a java class, a text
document, an xml document and an another java class. I shutdown then
restart and File -> Restart restored the 4 tabs in exactly the same order.

Now I strongly believe that the order of the tabs should be preserved when
deactivating/activating a task.

Please tell if you need more info.

Alexey


On Fri, 04 Dec 2009 03:27:29 -0000, Steffen Pingel
<steffen.pingel@tasktop.com> wrote:

> I am not aware that this has been reported before. What is the behaviour
> when you restart Eclipse without having a task active? Are all tabs
> restored in the same order they were in at shutdown time?
>
> Steffen
>
>
> Alexey Semenov wrote:
>
>> Hi All,
>>
>> I've noticed, that when I open some files while a task is active, then
>> deactivate the task and then activate it again, the files are closed and
>> then reopened, but with the files' tabs in Eclipse shuffled randomly. I
>> understand that this might be because of Mylyn's relying on Eclipse's
>> core
>> functionality on saving and restoring workbench state, however this
>> understanding doesn't make this bug less annoying :(
>>
>> I guess this is a known bug; if so, could anyone please point it for me
>> in
>> Bugzilla so that I could vote for it?
>>
>> I know nothing about Mylyn's internal structure and very little about
>> Eclipse's. Still, as an idea, Mylyn could store the tabs order and
>> somehow
>> reorder tabs to ensure the correct ordering on task activation.
>>
>> Another solution could be on task activation to make mylyn imitate
>> opening
>> the files one by one with a tiny pause after each one, so that the tabs
>> will naturally be in the correct order, from left to right, just as I
>> need.
>>
>> As both these solution have obvious side-effects, they could be made
>> disablable by a checkbox in the preferences... Isn't this all realistic?
>> At least sounds quite possible for me.
>>
>> Thanks,
>> Alexey
>
Re: editors order not preserved on task re-activation [message #600257 is a reply to message #503697] Fri, 18 December 2009 18:12 Go to previous message
Jake Munson is currently offline Jake MunsonFriend
Messages: 2
Registered: December 2009
Junior Member
I too have noticed this, and was trying to post a topic about it (but it wouldn't post for some reason, I kept getting redirected to the main Eclipse forum page when I'd hit Create Topic).

Anyway, +1 for this request. I've long noticed the symptoms as described, and I'd love it if the tab order were preserved between sessions.
Previous Topic:Mylyn 3.3.1 is now available
Next Topic:Unable to print a Task List or a Task detail
Goto Forum:
  


Current Time: Fri Nov 28 18:25:50 GMT 2014

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

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