main workspace not show up



  • hi everyone, I have a problem here, has anybody ever experienced this before?
    and how to fix it?
    Screenshot (32).png



  • Is this when you open a saved project?



  • @d-healey yeah, it's showing up again after I close and reopen hise 3 or 4 times, I can't figure out why, but at least I can continue my work now



  • @fmented Is it an XML or .hip file?



  • @d-healey hip file, I also tried recovery xml from hip file and the autosave files but still the same, but for some reason it showed up again



  • I don't bother with the .hip file unless I automatically press CTRL+S. Always use the .xml format for saving, it's more reliable and easier to fix than .hip.



  • @d-healey Same here. but I systematically perform a CMD+S on top of saving the XML, just so I have a fallback if I need...
    I tried an tool (don't remember the name) that allows you to add shortcuts to any app, it shows up in Hise menu but for some reason, it does not trigger. I hope v3 will have a shortcut assigned to the XML... I remember messing around in the source code as well with no luck...



  • @ustk I fact I might have found it in the source... I'm on it after lunch 😉



  • @ustk Excellent! If you find the secret I can add it my develop branch.



  • @d-healey Ok so in BackendApplicationCommands.cpp, line 266, change the last bool to true
    It'll just call the Save As window (if the XML already exists), so it's not great but better than clicking the menu twice...

    setCommandTarget(result, "Save as XML", GET_PROJECT_HANDLER(bpe->getMainSynthChain()).isActive(), false, 'X', true);
    

    You can change the letter if you wish.

    I tried to implement a Save XML menu entry the same way it works with Save Archive with a YES/NO and "Overwrite" box but after adding a dozen lines to create the menu entry, handling the whole XML rewriting process is way out of my skills...

    Also, it should be possible to add another modifierKey like SHIFT for a SHIFT+CMD+S by adding just a new argument...
    I'll try...



  • @ustk Thanks, I'll take a look at it.



  • @d-healey Here's with shift+cmd+S:

    setCommandTarget(result, "Save as XML", GET_PROJECT_HANDLER(bpe->getMainSynthChain()).isActive(), false, 'X', true);
    
    TO
    
    setCommandTarget(result, "Save as XML", GET_PROJECT_HANDLER(bpe->getMainSynthChain()).isActive(), false, 'S', true, ModifierKeys::commandModifier | ModifierKeys::shiftModifier);
    

    You can also invert it with the Archive command

    Save As XML => CMD + S
    Save Archive => SHIFT + CMD + S


Log in to reply
 

8
Online

647
Users

2.6k
Topics

21.4k
Posts