canonical / multipass

Multipass orchestrates virtual Ubuntu instances
https://multipass.run
GNU General Public License v3.0
7.84k stars 650 forks source link

[gui] need to limit the number of instances listed #1444

Open popey opened 4 years ago

popey commented 4 years ago

Describe the bug

The indicator lists all the VMs I have used. I want to shell into one. I find it in the list and hit the triangle. It opens up a small section which I need to scroll to find the "Shell" option.

To Reproduce

  1. Have 27 VMs created with multipass
  2. Set screen to 1080p on GNOME Shell
  3. Try to get to the shell option for the bottom VM

You get a tiny tiny scroll bar and it's very hard to use.

Screenshot from 2020-03-25 09-25-35

Expected behavior A menu to appear, from which I could choose "Shell"

Additional info

Name: snapcraft-broot State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/broot => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-codium State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/codium => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-dapper-drake State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/dapper-drake => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-dosbox-x State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/dosbox-x => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-ephemeral State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/ephemeral-snap => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-feeds State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/feeds => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-imager State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/imagewriter => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-jellyfin State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/jellyfin => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-lucid-lynx State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/lucid-lynx => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-mangohud State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/mangohud => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-monodevelop State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/monodevelop => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-netris State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/netris => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-overviewer State: Stopped IPv4: -- Release: -- Image hash: 5e3c64fd604d (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/overviewer => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-precise-pangolin State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/precise-pangolin => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-pyplane State: Stopped IPv4: -- Release: -- Image hash: cb460e7b363e (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/PyPLANE => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-qb64 State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/personal/qb64 => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-rpi-imager State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/rpi-imager => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-session-desktop State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/session-desktop => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-simplenote State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/simplenote => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-snapcraft State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/snapcraft => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-sosumi State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/sosumi-snap => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-srain State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/srain => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-warp State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/warp => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-warty-warthog State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/warty-warthog => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-whatip State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/whatip => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-xenial-xerus State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/xenial-xerus => /root/project UID map: 1000:0 GID map: 1000:0

Name: snapcraft-zzt State: Stopped IPv4: -- Release: -- Image hash: 2ca8b726be5b (Ubuntu Snapcraft builder for Core 18) Load: -- Disk usage: -- Memory usage: -- Mounts: /home/alan/Source/personal/zzt-snap => /root/project UID map: 1000:0 GID map: 1000:0


**Additional context**

(maybe some of these old VMs that I'm using with snapcraft over the last few weeks should be cleaned up if not used)
Saviq commented 4 years ago

Hi @popey, the fact that it's difficult to navigate is actually a ubuntu/gnome-shell-extension-appindicator issue.

That said, we should probably do something better with such extreme lists of instances. I'll make this into enhancement instead.

(maybe some of these old VMs that I'm using with snapcraft over the last few weeks should be cleaned up if not used)

I don't think auto-cleaning is something that we can ever do automatically. But we could only list the 10 most recently used ones in the list.