I'm using multiple monitors. But I got a really crazy situation

I’m using multiple monitors. But I’m using multiple monitors elsewhere, connecting my laptop at home, and using multiple monitors, but I can’t see my ruby toolbar because it’s gone. I think I put the toolbar into the monitor that was in the classroom using the first multiple monitors I was teaching. I can’t turn it back on. What should I do in this case? I can’t check in the toolset and see it. It works. But can’t I see this toolbar forever?

Have you tried to restore the workspace?

How do I do it? Is it in the setting?

Yes, I just tried it, but it’s not working. It’s the same. Where did my toolset go? ㅠㅠ

Unfortunately toolbars on other screens don’t respond to Reset Workspace or the alt+space m combination.
The best option is not to disconnect multiple monitors with things spread around but…
If you right click on your desktop and choose Display Settings you can move the monitors around until you find the toolbar and move it back to the main display, then set your monitors as you want.
Sometimes all you need to do is disconnect the monitors and the toolbar will pop back to the main screen.

I hope the sketch-up solves this problem a little bit. Looking at it now, I’m not the only one who had that problem. Looking at it, I think many people felt uncomfortable in this area. Thank you for your answer.

2 Likes

This isn’t a sketchup specific issue, lots of other programs lose windows when changing multiple monitors.

But it’s still annoying, and a button to “bring all panes to main-screen” would be helpful…
How many times have we had to create a new pane on the fly when going to do a presentation with a laptop ?!

Here’s the code to bring back dialogs from other monitors, please save somewhere else to reuse.

ObjectSpace.each_object(UI::HtmlDialog, &:center)

Open Ruby console from menu Extensions > Developer > Ruby Console
Paste the code then press Enter.

3 Likes

…unfortunately and obviously it is nothing to do with the missing UI::Toolbar.

2 Likes

There is one experimental workaround (a little risky one, no warranties, use this method on your own risk)

  • You need to remember the name of the Toolbar what is missing (out of screen).

  • Make sure to close SketchUp.

  • Locate the folder (change your_user_name to your current real username):

c:\Users\your_user_name\AppData\Local\SketchUp\SketchUp 2023\SketchUp\

(You may need to enable Show hidden files folders in File explorer option to see it)

  • Locate the PrivatePreferences.json file. (Make a backup copy of it, just in case…)
    and open it with Notepad app.

  • Locate the section in a file where you see the pattern below with the name of missing toolbar
    (In the example “Trimble Connect”, but you need to find the section with your missing toolbar name)
    Delete like the section marked as blue. Then save the file to its original place with is original name.
    image

  • Start SU and see if the toolbar is back to the main screen, if not open in View>>Toolbars and toggle the the missing Toolbar checkbox on/off/on.

1 Like

Thanks, I imagine this works on dialog boxes…

Marvelous, but it would be useful if there was a less convoluted way of doing that :slight_smile:

It took me much longer to describe how to do it than to do it. :wink:

Of course, it would be nice if it were simpler, but I don’t know about it. Ask the SU developers why.

I’m just an average user who likes to discover workarounds … :innocent:

1 Like

:slight_smile: yes, and we thank you for the workaround; good to know ! &hopefully someone from the dev team will see this & add it to the to do list !

This method doesn’t seem to work for me. I can type in that code on the console and it doesn’t respond. T.T

I’d like to try this. However, PrivatePreferences.json doesn’t exist in that path. I tried searching, but it doesn’t appear. Instead, there’s a file called sharePreferences.json, but when you open it, it’s different.

I assuming that you are using Sketchup 2023 as your forum profile indicates.

Make sure that in Windows File Explorer, Folder Options are set like this (The green arrow indicating the important settings)


.


.
Copy this to clipboard:

%localappdata%\SketchUp\SketchUp 2023\SketchUp\

Press the Windows key + R at the same time, then paste the text into the field beside Open:
image

Click on OK (or press Enter) the File Explorer should be open in a folder containing the PrivatePreferences.json file.