sonnyp / Junction

Application/browser chooser
https://flathub.org/apps/re.sonny.Junction
GNU General Public License v3.0
457 stars 28 forks source link

Junction doesn't remember it's previous window size #129

Closed Victor239 closed 10 months ago

Victor239 commented 1 year ago

I expand Junction's window size a bit because I have 8 browsers I want to switch between. This window sizing isn't remembered though, and resets whenever Junction opens again.

sonnyp commented 1 year ago

It's intended.

Why do you resize the window? FYI, You can scroll or navigate with arrow keys / tab.

Victor239 commented 1 year ago

I prefer to see all the options - there's no benefit for me to have a small window when I could instead get all the information at once. I also use a mouse instead of arrow keys to navigate as I use the middle-mouse button to open multiple browsers at once.

sonnyp commented 1 year ago

The problem is that the number of options is not constant between types (i.e. between HTTP links and image files) so persisting the window size does not make sense.

Maybe we could implement remembering the window size per type.


Ideally, we would show multiple rows (possibly 2 max) when there is enough space, but I'm not sure if that's possible. I need to dig.

Victor239 commented 1 year ago

Ah makes sense, I don't use Junction for image files so I hadn't come across that.

Good ideas. Another alternative solution is perhaps a toggle in the hamburger menu to enable/disable persisting window size.