Unity Hub 2.1.0 - Unity Hub window size changes after reoponing said window from the tray

Unity Hub window size changes after reoponing said window from the tray, or restarting it entirely.

First start:


Then, each time I close the window from the cross on the top right and reopen it from the icon tray, the size enlarges.

Second time:

Third time:

Fourth time:

After the fourth time, the window comes back to its original size and the cycle restarts.

Hi,

I can’t believe we didn’t catch that before releasing. I can reproduce it on my machine too. We’ll get on that fairly soon.

Thanks for reporting this :smile:,

1 Like

You’re welcome! :slight_smile:

You might be interested in this: Unity 2019.2 Is Now Available page-2#post-4834940

1 Like

On it.

I found the main-window.json file that contains the supposed dimensions of the main window. The content of this file changes each time I reopen the window but the indicated dimensions have nothing to do with the actual dimensions of the window.

Example:

  • size of the window: 1220 x 799,
  • content of the file:
{"width":1024,"height":760,"x":280,"y":112,"displayBounds":{"x":0,"y":0,"width":1536,"height":864},"isMaximized":false,"isFullScreen":false}

Apparently, this file is not used as settings for the window size; it just records the changes that occurred, except if you modify “isMaximized”:false, into “isMaximized”:true. This setting will be used each time you start the Hub or just reopen the window.

Unfortunately, I don’t want to use the Hub maximised and I’d like to set it’s size myself; if you could do that. :slight_smile:

“isFullScreen”:true doesn’t work; I don’t see what would be the point anyway.

Please don’t tamper the Hub config files. This makes troubleshooting issues very difficult for us :smile:

We’ll fix this very soon I promise!

I didn’t really but now that I think of if, I haven’t just deleted it, just to see what happens. :smile:

Edit: I did it. Unity Hub just recreated it and the problem is still there… :frowning:

1 Like

Hello!

This is happening in Linux Mint and probably all the other Linux distributions (it cannot happen only to me, hey?); I guess it was never fixed for non Windows OSes.

I’m using the UnityHub.appimage that I downloaded from this thread: Unity Hub v2.0.0 Release :slight_smile:

Hi @ ,

I admit we haven’t really looked into this evenly across OSes. I’ll bring this up to the team.

1 Like

Thank you! :slight_smile:

About Unity Hub updates: how do they work for people who use the appimage, like me?

They should work the same. The Hub will overwrite the AppImage with the latest as far as I know.

Thank you. Any update to come soon?

I have another question: do you have any idea where the icon that displays in the dock/task bar, the one on which we must click when we want to reopen the Hub window, is stored when we use the appimage in Linux? It’s far too big, I’d like to reduce it.

I’ll link to my other post for the update. As for the icon, I’m not sure where but if you feel like digging it’s probably in the AppImage’s Resource folder.

Cheers,

@Charles_Beauchemin This problem is still there in 2.3.2 for Linux, the Appimage.

Will it be fixed one day or another or must I forget it because I’m not using the “right” OS?

By the way, the new version of the Linux Hub must be downloaded from this post: Unity Hub v2.0.0 Release

Hi @ ,

Sorry about this issue. We’ll have a closer look. Are you still using Mint? We currently support/test Ubuntu and Debian. I don’t know enough about Linux distributions to tell if this would be problematic but we’ll make sure this isn’t happening on Ubuntu at least.

Cheers,

Yes, I’m still using Mint and Mint is a made from Ubuntu, so fixing the problem on Ubuntu should fix it on Linux. I don’t understand why nobody complains about that though, does everyone use the Hub full screen? Or is it just that nobody cares?

@AbrahamDUnity I found a fix for the window not staying put:

  • open the Hub,
  • give the window the desired dimensions and positioning on the screen,
  • close the Hub,
  • locate “main-window.json” and put it on read only.

I wish I no longer have to do that in the future versions though.

@ I understand. This issue probably has a similar fix as the Windows one. We might not have validated on Ubuntu back then. I’ll make sure a fix gets in.

Cheers,

1 Like

Thank you. :slight_smile:

I haven’t paid attenton, are new versions of the Hub released on a regular schedule, like, every three months, or are they released when they are ready?