forge-ext / forge

Forge - Tiling and Window Manager for Gnome-Shell
GNU General Public License v3.0
867 stars 42 forks source link

Blender does not resize properly when launched (or at any time) #260

Open ethereal-engineer opened 1 year ago

ethereal-engineer commented 1 year ago

Description

Tiling must be disabled for Blender to be used. And there is no window exclusion function in Forge.

Problem Explanation

Launching Blender with or without other windows tiled, with Forge's default settings.

Expected Behavior

Expect Forge to be able to resize and handle window tiling etc.

Reprodution

How one can find the bug?

Steps To Reproduce

Steps to reproduce, if applicable:

  1. Have Forge On
  2. Run Blender

Details

Mark with [ ] all that applies:

It happens with any application?

It happens only on one computer?

It happens only with some specific gnome configuration?

It happens only with some specific extension installed?

Diagnostics

Under what conditions does it happen?

Fill in all information that applies:

Environment

Display Setup

Displays:

  1. 4k monitor, single

Screenshots

If applicable, add screenshots to help explain your problem:

Screenshot 1: Tiling Disabled

image

Screenshot 2: Tiling Enabled

image

As far as I can tell, the window HAS been resized but not refreshed/repainted. How do I know this? The minimize and close window decorations can be clicked for their function even if they are not visible.

Output and Logs

Also if possible, please provide latest logs like:

Gnome Logs

tk421➜  ~  ᐅ journalctl --since='10 minutes ago' --follow /usr/bin/gnome-shell 
Jul 23 12:17:54 tk421 gnome-shell[1764]: Error connecting to the screencast service
Jul 23 12:18:03 tk421 gnome-shell[1764]: JS ERROR: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
                                         asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:114:23
Jul 23 12:18:04 tk421 gnome-shell[1764]: Can't update stage views actor <unnamed>[<StLabel>:0x55eb03c20820] is on because it needs an allocation.
Jul 23 12:18:04 tk421 gnome-shell[1764]: Can't update stage views actor <unnamed>[<ClutterText>:0x55eb03c21130] is on because it needs an allocation.
Jul 23 12:18:07 tk421 gnome-shell[1764]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Jul 23 12:18:08 tk421 gnome-shell[1764]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Jul 23 12:18:32 tk421 gnome-shell[1764]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1c0001c
Jul 23 12:18:39 tk421 gnome-shell[1764]: Window manager warning: Overwriting existing binding of keysym 6a with keysym 6a (keycode 2c).
Jul 23 12:18:39 tk421 gnome-shell[1764]: Window manager warning: Overwriting existing binding of keysym 6a with keysym 6a (keycode 2c).
Jul 23 12:18:39 tk421 gnome-shell[1764]: Window manager warning: Overwriting existing binding of keysym 6c with keysym 6c (keycode 2e).
Jul 23 12:18:39 tk421 gnome-shell[1764]: Window manager warning: Overwriting existing binding of keysym 6a with keysym 6a (keycode 2c).
Jul 23 12:18:39 tk421 gnome-shell[1764]: Window manager warning: Overwriting existing binding of keysym 76 with keysym 76 (keycode 37).
Jul 23 12:18:39 tk421 gnome-shell[1764]: Window manager warning: Overwriting existing binding of keysym 67 with keysym 67 (keycode 2a).
Jul 23 12:18:39 tk421 gnome-shell[1764]: Window manager warning: Overwriting existing binding of keysym 68 with keysym 68 (keycode 2b).
Jul 23 12:18:39 tk421 gnome-shell[1764]: Window manager warning: Overwriting existing binding of keysym 6b with keysym 6b (keycode 2d).
Jul 23 12:18:39 tk421 gnome-shell[1764]: Window manager warning: Overwriting existing binding of keysym 68 with keysym 68 (keycode 2b).
Jul 23 12:18:39 tk421 gnome-shell[1764]: Window manager warning: Overwriting existing binding of keysym 6c with keysym 6c (keycode 2e).
Jul 23 12:18:39 tk421 gnome-shell[1764]: Window manager warning: Overwriting existing binding of keysym 6b with keysym 6b (keycode 2d).
Jul 23 12:18:39 tk421 gnome-shell[1764]: Window manager warning: Overwriting existing binding of keysym ff0d with keysym ff0d (keycode 24).
Jul 23 12:18:39 tk421 gnome-shell[1764]: Window manager warning: Overwriting existing binding of keysym 6b with keysym 6b (keycode 2d).
Jul 23 12:19:48 tk421 gnome-shell[1764]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Jul 23 12:19:50 tk421 gnome-shell[1764]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Jul 23 12:23:37 tk421 gnome-shell[1764]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Jul 23 12:23:42 tk421 gnome-shell[1764]: Could not apply discrete GPU environment, switcheroo-control not available
Jul 23 12:23:42 tk421 gnome-shell[1764]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Jul 23 12:23:43 tk421 gnome-shell[1764]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x55eb0c089fb0] is on because it needs an allocation.
Jul 23 12:23:43 tk421 gnome-shell[1764]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x55eb03c968e0] is on because it needs an allocation.
Jul 23 12:24:44 tk421 gnome-shell[1764]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Jul 23 12:24:46 tk421 gnome-shell[1764]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Jul 23 12:25:10 tk421 gnome-shell[1764]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Jul 23 12:25:12 tk421 gnome-shell[1764]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Jul 23 12:25:20 tk421 gnome-shell[1764]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Jul 23 12:25:22 tk421 gnome-shell[1764]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Jul 23 12:25:24 tk421 gnome-shell[1764]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Jul 23 12:25:25 tk421 gnome-shell[1764]: Could not apply discrete GPU environment, switcheroo-control not available
Jul 23 12:25:25 tk421 gnome-shell[1764]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Jul 23 12:25:25 tk421 gnome-shell[1764]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x55eb00c45920] is on because it needs an allocation.
Jul 23 12:25:25 tk421 gnome-shell[1764]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x55eb0c0f6a30] is on because it needs an allocation.
Jul 23 12:25:48 tk421 gnome-shell[1764]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Jul 23 12:25:55 tk421 gnome-shell[1764]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed

Extension Configuration

tk421➜  ~  ᐅ dconf dump /org/gnome/shell/extensions/forge/
[/]
auto-split-enabled=true
css-last-update=uint32 37
float-always-on-top-enabled=true
preview-hint-enabled=true
quick-settings-enabled=true
stacked-tiling-mode-enabled=true
tabbed-tiling-mode-enabled=false
tiling-mode-enabled=true

[keybindings]
con-split-horizontal=['<Super>z']
con-split-layout-toggle=['<Super>g']
con-split-vertical=['<Super>v']
con-stacked-layout-toggle=['<Shift><Super>s']
con-tabbed-layout-toggle=['<Shift><Super>t']
con-tabbed-showtab-decoration-toggle=['<Control><Alt>y']
focus-border-toggle=['<Super>x']
prefs-tiling-toggle=['<Super>w']
window-focus-down=['<Super>j']
window-focus-left=['<Super>h']
window-focus-right=['<Super>l']
window-focus-up=['<Super>k']
window-gap-size-decrease=['<Control><Super>minus']
window-gap-size-increase=['<Control><Super>plus']
window-move-down=['<Shift><Super>j']
window-move-left=['<Shift><Super>h']
window-move-right=['<Shift><Super>l']
window-move-up=['<Shift><Super>k']
window-resize-bottom-decrease=['<Shift><Control><Super>i']
window-resize-bottom-increase=['<Control><Super>u']
window-resize-left-decrease=['<Shift><Control><Super>o']
window-resize-left-increase=['<Control><Super>y']
window-resize-right-decrease=['<Shift><Control><Super>y']
window-resize-right-increase=['<Control><Super>o']
window-resize-top-decrease=['<Shift><Control><Super>u']
window-resize-top-increase=['<Control><Super>i']
window-snap-center=['<Control><Alt>c']
window-snap-one-third-left=['<Control><Alt>d']
window-snap-one-third-right=['<Control><Alt>g']
window-snap-two-third-left=['<Control><Alt>e']
window-snap-two-third-right=['<Control><Alt>t']
window-swap-down=['<Control><Super>j']
window-swap-last-active=['<Super>Return']
window-swap-left=['<Control><Super>h']
window-swap-right=['<Control><Super>l']
window-swap-up=['<Control><Super>k']
window-toggle-always-float=['<Shift><Super>c']
window-toggle-float=['<Super>c']
workspace-active-tile-toggle=['<Shift><Super>w']

Enabled Extensions

tk421➜  ~  ᐅ  gnome-extensions list --enabled --details
caffeine@patapon.info
  Name: Caffeine
  Description: Disable the screensaver and auto suspend
  Path: /home/doc/.local/share/gnome-shell/extensions/caffeine@patapon.info
  URL: https://github.com/eonpatapon/gnome-shell-extension-caffeine
  Version: 48
  State: ENABLED

just-perfection-desktop@just-perfection
  Name: Just Perfection
  Description: Tweak Tool to Customize GNOME Shell, Change the Behavior and Disable UI Elements

- Accessibility Menu Visibility
- Activities Button Icon Visibility
- Activities button Visibility
- Alt Tab Icon Size
- Alt Tab Window Preview Icon Size
- Alt Tab Window Preview Size
- Always Show Workspace Switcher on Dynamic Workspaces (40-44)
- Animation Speed or Disable it
- App Gesture (3.36, 3.38)
- Applications Button Visibility
- App Menu Icon Visibility
- App Menu Label Visibility
- App Menu Visibility
- Background Menu Visibility
- Calendar Visibility
- Clock Menu Position
- Clock Menu Visibility
- Dash Icon Size
- Dash Separator Visibility (40-44)
- Dash Visibility
- Disable Type to Search
- Double Super Key to App Grid
- Events in Clock Menu Visibility
- GNOME Shell Theme Override
- Hot Corner (3.36-40)
- Keyboard Layout Visibility
- Looking Glass Size
- Notification Banner Position
- OSD Position
- OSD Visibility
- Overview Spacing Size (40-44)
- Panel Arrow Visibility (3.36, 3.38)
- Panel Button Padding Size
- Panel Height
- Panel icon size 
- Panel Indicator Padding Size
- Panel Notification icon Visibility
- Panel Position
- Panel Round Corner Size (3.36-41)
- Panel Visibility
- Panel Visibility in Overview
- Power Icon Visibility
- Quick Settings Menu Visibility (43-44)
- Ripple Box
- Search Visibility
- Startup Status (40-44)
- Switcher Popup Delay
- System Menu (Aggregate Menu) Visibility (3.36-42)
- Take Screenshot Button in Window Menu Visibility
- Weather Visibility
- Window Demands Attention Focus
- Window Picker Caption Visibility
- Window Picker Close Button Visibility
- Window Picker Icon (40-44)
- Workspace Background Corner Size in Overview (40-44)
- Workspace Popup Visibility
- Workspaces in app grid Visibility (40-44)
- Workspace Switcher Size (40-44)
- Workspace Switcher Visibility
- Workspace Wraparound
- World Clock Visibility
  Path: /home/doc/.local/share/gnome-shell/extensions/just-perfection-desktop@just-perfection
  URL: https://gitlab.gnome.org/jrahmatzadeh/just-perfection
  Version: 24
  State: ENABLED

freon@UshakovVasilii_Github.yahoo.com
  Name: Freon
  Description: Shows CPU temperature, disk temperature, video card temperature (NVIDIA/Catalyst/Bumblebee&NVIDIA), voltage and fan RPM (forked from xtranophilist/gnome-shell-extension-sensors)
  Path: /home/doc/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com
  URL: https://github.com/UshakovVasilii/gnome-shell-extension-freon
  Version: 52
  State: ENABLED

Vitals@CoreCoding.com
  Name: Vitals
  Description: A glimpse into your computer's temperature, voltage, fan speed, memory usage, processor load, system resources, network speed and storage stats. This is a one stop shop to monitor all of your vital sensors. Uses asynchronous polling to provide a smooth user experience. Feature requests or bugs? Please use GitHub.
  Path: /home/doc/.local/share/gnome-shell/extensions/Vitals@CoreCoding.com
  URL: https://github.com/corecoding/Vitals
  Version: 61
  State: ENABLED

places-menu@gnome-shell-extensions.gcampax.github.com
  Name: Places Status Indicator
  Description: Add a menu for quickly navigating places in the system.
This extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME's GitLab instance instead.
  Path: /home/doc/.local/share/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com
  URL: https://gitlab.gnome.org/GNOME/gnome-shell-extensions
  Version: 56
  State: ENABLED

system-monitor-next@paradoxxx.zero.gmail.com
  Name: system-monitor-next
  Description: Display system information in GNOME Shell status bar, such as memory, CPU, disk and battery usages, network rates…

This fork of paradoxxxzero/gnome-shell-system-monitor-applet is for packaging purposes only. This extension is built and updated continuously with the upstream master branch, occasionally including patches that haven't yet merged upstream.

This is preferable for users on bleeding edge distributions that prefer not to wait for a stable release from the main repo. Of course, since we're releasing directly from master some instability is inevitable.

If you get an error after updating, try restarting Gnome Shell with Alt-F2 then 'r'.
  Path: /home/doc/.local/share/gnome-shell/extensions/system-monitor-next@paradoxxx.zero.gmail.com
  URL: https://github.com/mgalgs/gnome-shell-system-monitor-applet
  Version: 55
  State: ENABLED

extensions-sync@elhan.io
  Name: Extensions Sync
  Description: Sync all extensions and their configurations across all gnome instances
  Path: /home/doc/.local/share/gnome-shell/extensions/extensions-sync@elhan.io
  URL: https://github.com/oae/gnome-shell-extensions-sync
  Version: 19
  State: ENABLED

user-theme@gnome-shell-extensions.gcampax.github.com
  Name: User Themes
  Description: Load shell themes from user directory.
  Path: /home/doc/.local/share/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com
  URL: https://gitlab.gnome.org/GNOME/gnome-shell-extensions
  Version: 51
  State: ENABLED

extension-list@tu.berry
  Name: Extension List
  Description: Simple GNOME Shell extension manager in the top panel

For support, please report any issues via the homepage link below.
  Path: /home/doc/.local/share/gnome-shell/extensions/extension-list@tu.berry
  URL: https://github.com/tuberry/extension-list
  Version: 36
  State: ENABLED

simple-message@freddez
  Name: Simple Message
  Description: Show a message written by the user on the top bar.
  Path: /home/doc/.local/share/gnome-shell/extensions/simple-message@freddez
  URL: https://github.com/freddez/gnome-shell-simple-message
  Version: 14
  State: ENABLED

custom-hot-corners-extended@G-dH.github.com
  Name: Custom Hot Corners - Extended
  Description: Give a function to any corner or edge of your monitors and expand your keyboard capabilities.

Mouse pointer pressure, clicks and scrolls over the monitor corners/edges or custom keyboard shortcuts can trigger any of dozens built-in actions that helps you navigate and control your desktop environment, or your own shell commands.

Significant part of available actions are visual adjustments (contrast, brightness, opacity) and color filters (red, green, desaturate, lightness and color inversions).

Restart your Gnome Shell after each update of the extension to load new code, and reload this site to get rid of the error message, before you post a bug report.

Please report bugs/issues on GitHub page linked below as Extension Homepage.
Do NOT use bug report form on this page, I will NOT respond to it.

keywords: keyboard shortcut, switch windows, overview, app grid, command, brightness, contrast, transparent, opacity, color effect, invert lightness, color tint, color blind filter, simulation, desaturate, night lights, dark theme, volume, mute, magnifier, zoom, screen keyboard, reader, large text, force close, kill -9, show desktop, reorder workspace, window thumbnail, preview, looking glass, custom menu, window, workspace, switcher, hide panel
  Path: /home/doc/.local/share/gnome-shell/extensions/custom-hot-corners-extended@G-dH.github.com
  URL: https://github.com/G-dH/custom-hot-corners/tree/gdh
  Version: 28
  State: ENABLED

gsconnect@andyholmes.github.io
  Name: GSConnect
  Description: GSConnect is a complete implementation of KDE Connect especially for GNOME Shell with Nautilus, Chrome and Firefox integration. It does not rely on the KDE Connect desktop application and will not work with it installed.

KDE Connect allows devices to securely share content like notifications or files and other features like SMS messaging and remote control. The KDE Connect team has applications for Linux, BSD, Android, Sailfish, iOS, macOS and Windows.

Please report issues on Github!
  Path: /home/doc/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io
  URL: https://github.com/GSConnect/gnome-shell-extension-gsconnect/wiki
  Version: 55
  State: ENABLED

gnome-extension-brightness@bruno.englert.gitlab.com
  Name: Adjust Display Brightness
  Description: Simple GNOME extension to control displays' brightness via DDC. It requires ddcutil to be installed, I2C permissions for non-root users configured.
  Path: /home/doc/.local/share/gnome-shell/extensions/gnome-extension-brightness@bruno.englert.gitlab.com
  URL: https://gitlab.com/bruno.englert/gnome-extension-brightness
  Version: 27
  State: ENABLED

hide-minimized@danigm.net
  Name: Hide minimized
  Description: Hide minimized in overview
  Path: /home/doc/.local/share/gnome-shell/extensions/hide-minimized@danigm.net
  URL: https://github.com/danigm/hide-minimized
  Version: 8
  State: ENABLED

pop-shell@system76.com
  Name: Pop Shell
  Description: Pop Shell
  Path: /usr/share/gnome-shell/extensions/pop-shell@system76.com
  Version: 2
  State: ENABLED

appindicatorsupport@rgcjonas.gmail.com
  Name: AppIndicator and KStatusNotifierItem Support
  Description: Adds AppIndicator, KStatusNotifierItem and legacy Tray icons support to the Shell
  Path: /usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com
  URL: https://github.com/ubuntu/gnome-shell-extension-appindicator
  State: ENABLED

ding@rastersoft.com
  Name: Desktop Icons NG (DING)
  Description: Adds icons to the desktop. Fork of the original Desktop Icons extension, with several enhancements .
  Path: /usr/share/gnome-shell/extensions/ding@rastersoft.com
  URL: https://gitlab.com/rastersoft/desktop-icons-ng
  State: ENABLED

forge@jmmaranan.com
  Name: Forge
  Description: Tiling and window manager for GNOME

Please report bugs/issues on https://github.com/forge-ext/forge/issues
  Path: /usr/share/gnome-shell/extensions/forge@jmmaranan.com
  URL: https://github.com/forge-ext/forge
  State: ENABLED

Graphics information

Not installed lshw

Monitor information

tk421➜  ~  ᐅ xrandr --properties | grep -vE '(x|\s|\.|\d)+$'
grep: warning: stray \ before d
Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
        supported: 4
        range: (0, 65535)
        supported: TMDS
        supported: 0, 1
DP-0 disconnected (normal left inverted right x axis y axis)
        supported: 4
        range: (0, 65535)
        supported: DisplayPort
        supported: 0, 1
DP-1 disconnected (normal left inverted right x axis y axis)
        supported: 4
        range: (0, 65535)
        supported: TMDS
        supported: 0, 1
DP-2 disconnected (normal left inverted right x axis y axis)
        supported: 4
        range: (0, 65535)
        supported: DisplayPort
        supported: 0, 1
DP-3 disconnected (normal left inverted right x axis y axis)
        supported: 4
        range: (0, 65535)
        supported: TMDS
        supported: 0, 1
DP-4 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 621mm x 341mm
        00ffffffffffff0005e3022874020000
        0f1f0104b53e22783bad65ad50459f25
        0e5054bfef00d1c0b300950081808140
        81c0010101014dd000a0f0703e803040
        35006d552100001a000000ff00504452
        4d344a41303030363238000000fc0055
        00283c8c8c3c010a2020202020200186
        020321f14b0103051404131f12021190
        2309070783010000681a00000101283c
        00a36600a0f0701f80302035006d5521
        552100001e4d6c80a070703e8030203a
        006d552100001a000000000000000000
        00000000000000000000000000000000
        00000000000000000000000000000035
        supported: 4
        range: (0, 65535)
        supported: DisplayPort
        supported: 0, 1
DP-5 disconnected (normal left inverted right x axis y axis)
        supported: 4
        range: (0, 65535)
        supported: TMDS
        supported: 0, 1
jmmaranan commented 11 months ago

Hi @ethereal-engineer, the way to exclude windows from tiling is keyboard driven. Using Super + Shift + C. It is a toggle