Ribbon - "Show Tabs Only" and a question about "Export Options"
Hello,
Is there a way to set "Show Tabs Only" in the configuration?
in the Options is a "Ribbon" section, but this setting is not there. I already tried an export/import and this setting was not transfered.
I want to export a default config (Export Options) for my colleagues and it would be nice if this can be included.
I also looked into the exported "RemoteDesktopManager.cfg" file and found a few lines that look encrypted. Is there anything in the export that has to do with the installation i took it from? This is what I selected on export:
The database connection is with SSO.
Brgds Andreas
Hello Andreas,
Thank you for contacting us on that matter!
You are correct, there doesn't seem to be a setting for this option in the configuration. Once configured, this option is stored in the .lyt files contained in your localappdata.
If you would like to share it with your colleagues, you could copy those files and have your user import them in their %localappdata% -> Devolutions -> RemoteDesktopManager folder.
Best regards,
James Lafleur
Hello James,
Would it be possible to make a setting for this? Please? :)
I am in the process of deploying a "default.dfg" by GPO and it would be nice to have this setting included! Deploying an additional file makes the the initial configuration more complicated...
Thanks a lot for your help!
Brgds Andreas
Hello,
I have verified the code and it's not saved in lyt. It's 3 properties in options:
OptionManager.Options.RibbonExpanded = !ribbonControl.Minimized;
OptionManager.Options.RibbonAutoHide = ribbonControl.FullScreen;
if (this.RibbonControl.CommandLayout == CommandLayout.Classic)
{
OptionManager.Options.RibbonStyle = RibbonStyle.Default;
}
else
{
OptionManager.Options.RibbonStyle = RibbonStyle.Simplified;
}
RibbonExpanded must be false
RibbonAutoHide must be false
RibbonStyle must be Default
Could you verify what you in the imported option file?
Regards
David Hervieux
Hello David,
In my exported cfg I only found <RibbonExpanded>false</RibbonExpanded>.
I added now <RibbonAutoHide>false</RibbonAutoHide>, did nothing for RibbonStyle as it is "Default" in the Options menu and imported it again - but that does not change anything. If I set the ribbon to always show, import the cfg - the ribbon is still always show.
Then I also added "<RibbonStyle>Default</RibbonStyle>" and imported the cfg file again - same result - the ribbon stays at always show.
At last I tested what I actually want to do - I copied the cfg file to the Devolutions RDM install folder and named it Default.cfg. I set the GPO registry key ForceDefaultConfigurationLoading to 1, deleted the %AppData%\Roaming\Devolutions folder and started RDM.
This way it is working! :) After I start RDM my SQL datasource is configured, no SQLite datasource was created, all my settings are there and the ribbon is set to show tabs only! Perfect! :) It also works when only RibbonExpanded and RibbonAutoHide is set - RibbonStyle must not be set expicit in the cfg file.
Please raise a bug report about the not working import...
EDIT: did another test - started RDM without the default.cfg to get a standard configuration. Then I enabled my default.cfg and started RDM again. All settings from the default.cfg are applied, but not show tabs only. This setting is only applied if I have no configuration and the default.cfg is applied on the first start.
Brgds Andreas
Hello,
I've found the problem. When we load the option, we don't apply it to the current UI. We save the wrong (not applied layout) on the application close overriding at the same time the new cfg. This will be fixed in RDM 2023.1
Regards
David Hervieux
Hello,
Thanks for the info! Do you have an estimation when this version will be released? Are any of the other things I requested also changed in this version? Erica should know about those things.
Brgds Andreas
Hello Andreas,
We have planned to release RDM 2023.1 in March. Usually we release a beta version few days or weeks before.
About your other case, I will reply in the dedicated thread.
Best regards,
Érica Poirier