Click on .mscz score should open previous immediate workspace(s) as well as the clicked file.

• Nov 5, 2017 - 14:58

This may not be possible, but it would sure help me.

At the moment, when I click on a MS file while MS is closed, MS opens, but only with that file, without the files I had opened previously.

Is there a way to change that behaviour so that the new file is added to the previous files opened?

Thanks..


Comments

In reply to by xavierjazz

You wrote:
I have that set on, but when I click on a random file, the previous session is not loaded

Assuming MuseScore is closed and you wish to open the previous session, do not click on a 'random file'.
Instead, click on the MuseScore program icon to fire up the app and your previous session will load.
(Of course you will need 'Continue last session' ticked in Preferences.)

Regards.

In reply to by Jm6stringer

It is true that is how things work currently. I think this is a request to have that preference also honored when starting MuseScore by clicking a file. I rarely if ever start MuseScore that way so have no opinion on whether I'd like that, but it would be worth getting feedback from others. Somehow I suspect most people would say they would prefer loading only the clicked file. But then, they might not normally have that option enabled anyhow.

In reply to by Marc Sabatella

Being one of those users: I would like the session to be honored as well.

I usually have about two scores open in a session, but regularly download examples from the forum. Currently I then have to launch MuseScore myself and then open the file in order to not loose my session just to test out some sample from this forum.
It would be a little bit easier if I could have my browser open the file and not loose the session.

In reply to by jeetee

Hmm, for me if I have MuseScore open with a couple of scores in it, then click a donwloaded file, it simply opens that file in my existing session. No information lost at all. This is on Windows 10. Are you saying it works otherwise for you?

Or maybe you're saying, if for some reason you've closed MuseScore before wanting to open the new file. Then I guess you'd lose the previous session indeed. I could see why the proposed change would make sense for this use case. I just wonder about other use cases, though.

In reply to by Marc Sabatella

Win7 here, same behavior.

But indeed, we're request to also restore the session if MuseScore is started when opening a new file. The "against" I can immediately see, is that I'm not sure we can differentiate between that way of opening a file and cmd-line opening files for stuff like batch-plugin modifications.
It seems likely that that type of scripted usage would suffer from this.

In reply to by Marc Sabatella

..... "Or maybe you're saying, if for some reason you've closed MuseScore before wanting to open the new file. Then I guess you'd lose the previous session indeed. I could see why the proposed change would make sense for this use case." .....

Yes.

Always. :)

Best,

In reply to by jeetee

@jeetee... You wrote:
I usually have about two scores open in a session... (and I) download examples from the forum.
It would be a little bit easier if I could have my browser open the file and not loose the session.

It does work that way if MuseScore is already running. See the posted images.
The 'before' picture shows a forum window + 2 scores open in a MuseScore session (as you wrote):

Before_click_open.png

The 'after' image below shows a downloaded forum example in addition to the 2 session scores previously opened in MuseScore.

After_click_open.png

If I close the downloaded example's tab (named uke), the session scores remain upon exiting MuseScore. (Check 'Continue last session' in Edit / Preferences.)

What browser do you use? The above images show Windows Internet Explorer 11. (Same result for the Microsoft Edge browser.)

----OR----

Do you mean MuseScore is not even loaded and you wish to click some 'random' score(s), or forum example(s) and request MuseScore to start up and display not only those, but also to display some old session scores you were working on?
Presumably, those previous session scores were saved; and once MuseScore starts, if the scores number more than a few, they could be shift-clicked (or ctrl-clicked) to be opened as a group from the scores folder.
But how often does that happen? ...Lots of times for you?

Regards.

In reply to by Jm6stringer

Hi Jm6stringer,

The "open" referred to show just an example of how my session usually looks. As you can see/read from my postings above as well we're indeed talking about the scenario where MuseScore is closed and restores such a session upon "normal" launch but doesn't when triggered by opening a score.

And I do find myself in that situation quite often, because I mostly work on my own work during the weekends, whilst forum-support is something I do on a daily basis.

[EDIT] I also realize I'm very likely a minority use case here, but was simply letting xavierjazz and the community know that he's not alone in his request. For me personally though, it doesn't bother me enough to start looking into the code for this; certainly not if there's a good chance changing things could break scripted access; which I think has a bigger use case than, well than me and myself (and perhaps xavierjazz ;) )

In reply to by jeetee

Hi jeetee... You wrote:
I mostly work on my own work during the weekends, whilst forum-support is something I do on a daily basis.

Here's a thought... (maybe less bother than code tweaking):
Consider using the MuseScore portable app (if available for your OS) primarily for forum support.
Then the 'regular' installed app can be dedicated for your weekend work.

This way, while working weekends using the installed version, if you decide to take a break you can still do forum support without losing your session since MuseScore is already launched. Then... when you are done working with any forum files, close them out and your session is safe. (So long as 'Continue last session' is checked in Edit / Preferences)

Regards.

It is of course quite subjective but for myself I prefer the current behavior.
If I explicitely click on a file to open MuseScore I want only that file.
And I want even more: after opening the file, the action "Open" in MuseScore should open the dialog box on the folder of the opened file and not on the last used folder.
Perhaps adding an option in the dialog box "Program start" labeled "Honor start behavior even if started by opening file" could allow to keep current behavior when deselected, and to give the requested possibility when selected for the ones wanting it?

In reply to by frfancha

Just to add to the collection of user input: I strongly prefer the current behavior. I often open MuseScore during work with Music21 (as a MusicXML viewer) or as part of my keyboard setup (MS as a Score Viewer). My other use case is transcription of (large) manusripts. It would be dreadful to have MS open that 500 page baroque treaties (maybe together with the 800Mb pdf) every time I need to check a small fragment of music.
Just my 0.02$

Maybe there are users working on several projects at the same time.

Proposal:
In the File menu, add "Save current session as ..." and "Open saved session" options.
Thus, many different session files can be created.
And everyone will be happy.

In reply to by Ziya Mete Demircan

plain-text session file example:
---asTime01.sess--
asTime-Sax.mscz
./patts/drumPatterns.mscz
./chords/GuitarChords.mscz
asTimeConductor.mscz
----EOF---

XML session file example.
---asTime01-sess.xml--
<musescore version="2.06" type="session">
<file src="asTime-Sax.mscz">
<file src="./patts/drumPatterns.mscz">
<file src="./chords/GuitarChords.mscz">
<file src="asTimeConductor.mscz">
</musescore>
----EOF---

Do you still have an unanswered question? Please log in first to post your question.