material-shell / material-shell

A modern desktop interface for Linux. Improve your user experience and get rid of the anarchy of traditional desktop workflows. Designed to simplify navigation and reduce the need to manipulate windows in order to improve productivity. It's meant to be 100% predictable and bring the benefits of tools coveted by professionals to everyone.

Home Page:https://material-shell.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switching to split layout messes up window size for the most of the time

xuhdev opened this issue · comments

Describe the bug
Switching to split layout messes up window size for the most of the time. The window remains at it's size before the layout was changed. For example, switching from maximum to 2-split makes half of the window invisible.

Expected behavior
After switching from maximum or half vertical to split, the window size should automatically adjust.

Screenshots

The VLC media player was active in maximum layout. Then I switch to split and see:

image

Note the right half of VLC is gone.

To Reproduce

  • Occurs on:
    • X.Org
    • Wayland
  • GNOME Shell version: 43
  • Distro: Debian Bookworm
  • Steps to reproduce, if applicable:
  1. Set default layout to maximum.
  2. Open two windows in a workspace.
  3. Switch to split (2).
  4. More often than not, some part of the window size is messed. The above screenshot shows that the right half of the active window is invisible.

Current commit
Output from git rev-parse --short HEAD: ac63fbd

Log data
Output from journalctl /usr/bin/gnome-shell:

Jan 04 01:09:47 aspire gnome-shell[14160]: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at>
Jan 04 01:09:47 aspire gnome-shell[14160]: Received error from D-Bus search provider org.gnome.Terminal.desktop during GetResultMetas: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Ob>
Jan 04 01:09:48 aspire gnome-shell[14160]: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at>
Jan 04 01:09:48 aspire gnome-shell[14160]: Received error from D-Bus search provider org.gnome.Terminal.desktop during GetResultMetas: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Ob>
Jan 04 01:09:48 aspire gnome-shell[14160]: Meta window: vlc-16708-9 title='VLC media player' dialog=false
Jan 04 01:09:48 aspire gnome-shell[14160]: Meta window: kitty-17714-13 title='kitty' dialog=false
Jan 04 01:09:48 aspire gnome-shell[14160]: MSWindow: {"appId":"kitty.desktop"} waiting=true workspace=0
Jan 04 01:09:48 aspire gnome-shell[14160]: Associating kitty-17714-13 with kitty.desktop-app-placeholder
Jan 04 01:10:00 aspire gnome-shell[14160]: clutter_actor_remove_child: assertion 'child->priv->parent != NULL' failed
Jan 04 01:10:07 aspire gnome-shell[14160]: JS ERROR: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownProperty: Property org.kde.StatusNotifierItem.IconAccessibleDesc was not found in object /St>
                                           _promisify/proto[asyncFunc]/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:446:45
                                           ### Promise created here: ###
                                           getProxyProperty@/[home/hong/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com](mailto:home/hong/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com)/util.js:55:31
                                           refreshPropertyOnProxy@/[home/hong/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com](mailto:home/hong/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com)/util.js:73:39
                                           _translateNewSignals/<@/[home/hong/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com](mailto:home/hong/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com)/appIndicator.js:268:18
                                           _translateNewSignals@/[home/hong/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com](mailto:home/hong/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com)/appIndicator.js:267:50
                                           _onProxySignal/<@/[home/hong/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com](mailto:home/hong/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com)/appIndicator.js:294:56
                                           _onProxySignal@/[home/hong/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com](mailto:home/hong/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com)/appIndicator.js:294:38
                                           async*AppIndicatorsAppIndicator/<@/[home/hong/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com](mailto:home/hong/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com)/appIndicator.js:105:76

Maybe sounds not so smart but what screen resolution are you using?

#934 (comment)

looks similar just without the dual monitor

I'm on 1080p with a laptop single monitor. I have another dual monitor setup that also reproduces this issue.

This should be fixed in main branch 👍

this have been fixed by #936