forge-ext / forge

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

bug: colors not saving #312

Open bashfulrobot opened 12 months ago

bashfulrobot commented 12 months ago

Description

When I change my hint colours, they never save.

Problem Explanation

When I change my hint colours, they never save. I was using dconf watch to see if settings were saved there. And if they are meant to be, it looks like the values are never written. Or are they stored elsewhere?

The bug happens when ...

I change my colour setting in the extension settings.

Expected Behavior

I would expect my hint colours to reflect what I changed it to.

Reprodution

Install the extension, open the extensions app, go to settings, and change the colour as shown in the video.

Steps To Reproduce

Steps to reproduce, if applicable:

  1. Open extensions application
  2. Go to the forge settings
  3. to the the appearance tab
  4. extend "Tiled Focus and Preview"
  5. click "border color"
  6. select a new color
  7. press the "select" button
  8. Press the "x" window control button

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

Please report bugs/issues on https://github.com/forge-ext/forge/issues Path: /run/current-system/sw/share/gnome-shell/extensions/forge@jmmaranan.com URL: https://github.com/forge-ext/forge Version: 72 State: ENABLED

Display Setup

Displays:

  1. 1 - 3440 x 1440 (21 x 9)

Screenshots

If applicable, add screenshots to help explain your problem:

I included a video.

https://github.com/forge-ext/forge/assets/10782881/6028414a-8b71-45ef-a5da-bffe6044017c

...

Output and Logs

Also if possible, please provide latest logs like:

Gnome Logs

Command: journalctl --since='1 hour ago' --follow /usr/bin/gnome-shell

System from 1 hour ago

Command: journalctl -b 0 -r --since '1 hour ago':

$ jjournalctl --since='1 hour ago' --follow /run/current-system/sw/bin/gnome-shellournalctl --since=now --follow /usr/bin/gnome-shell

# No results
...

Extension Configuration

Command: dconf dump /org/gnome/shell/extensions/forge/

$ dconf dump /org/gnome/shell/extensions/forge/

[/]
css-last-update=uint32 37
window-gap-hidden-on-single=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

Command: gnome-extensions list --enabled --details

$ gnome-extensions list --enabled --details

quick-settings-audio-panel@rayzeq.github.io
  Name: Quick Settings Audio Panel
  Description: Create a new panel containing volumes and media control in the quick settings
  Path: /home/dustin/.local/share/gnome-shell/extensions/quick-settings-audio-panel@rayzeq.github.io
  URL: https://github.com/Rayzeq/quick-settings-audio-panel
  Version: 32
  State: ENABLED

unite@hardpixel.eu
  Name: Unite
  Description: Unite is a GNOME Shell extension which makes a few layout tweaks to the top panel and removes window decorations to make it look like Ubuntu Unity Shell.

- Adds window buttons to the top panel for maximized windows.
- Shows current window title in the app menu for maximized windows.
- Removes titlebars on maximized windows.
- Hides window controls on maximized windows with headerbars.
- Moves the date to the right, reduces panel spacing and removes dropdown arrows.
- Moves legacy tray icons to the top panel.
- Moves notifications to the right.
- Hides activities button.
- Adds desktop name to the top panel.

This extension depends on some Xorg utilities. To install them:
- Debian/Ubuntu: apt install x11-utils
- Fedora/RHEL: dnf install xprop
- Fedora Silverblue: rpm-ostree install xprop
- Arch: pacman -S xorg-xprop

*Settings are provided to enable/disable or customize the available tweaks.
* Since version 2 applications on wayland with client side decorations are supported using CSS.
  Path: /home/dustin/.local/share/gnome-shell/extensions/unite@hardpixel.eu
  URL: https://github.com/hardpixel/unite-shell
  Version: 72
  State: ENABLED

bluetooth-quick-connect@bjarosze.gmail.com
  Name: Bluetooth Quick Connect
  Description: Allow to connect to paired devices from gnome control panel.

  Path: /run/current-system/sw/share/gnome-shell/extensions/bluetooth-quick-connect@bjarosze.gmail.com
  URL: https://github.com/bjarosze/gnome-bluetooth-quick-connect
  Version: 37
  State: ENABLED

blur-my-shell@aunetx
  Name: Blur my Shell
  Description: Adds a blur look to different parts of the GNOME Shell, including the top panel, dash and overview.

You can support my work by sponsoring me on:
- github: https://github.com/sponsors/aunetx
- ko-fi: https://ko-fi.com/aunetx

Note: if the extension shows an error after updating, please make sure to restart your session to see if it persists. This is due to a bug in gnome shell, which I can't fix by myself.
  Path: /run/current-system/sw/share/gnome-shell/extensions/blur-my-shell@aunetx
  URL: https://github.com/aunetx/gnome-shell-extension-blur-my-shell
  Version: 47
  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: /run/current-system/sw/share/gnome-shell/extensions/forge@jmmaranan.com
  URL: https://github.com/forge-ext/forge
  Version: 72
  State: ENABLED

just-perfection-desktop@just-perfection
  Name: Just Perfection
  Description: Tweak Tool to Customize GNOME Shell, Change the Behavior and Disable UI Elements
  Path: /run/current-system/sw/share/gnome-shell/extensions/just-perfection-desktop@just-perfection
  URL: https://gitlab.gnome.org/jrahmatzadeh/just-perfection
  Version: 26
  State: ENABLED

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

user-theme@gnome-shell-extensions.gcampax.github.com
  Name: User Themes
  Description: Load shell themes from user directory.
  Path: /run/current-system/sw/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

...

Graphics information

Command: lshw -C display

$ lshw -C display

*-display                 
       product: amdgpudrmfb
       physical id: 0
       bus info: pci@0000:28:00.0
       logical name: /dev/fb0
       version: c1
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi bus_master cap_list rom fb
       configuration: depth=32 driver=amdgpu latency=0 resolution=3440,1440
       resources: irq:39 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:e000(size=256) memory:fcb00000-fcbfffff memory:c0000-dffff

...

Monitor information

Command: xrandr --properties | grep -vE '(x|\s|\.|\d)+$'

$ λ xrandr --properties | grep -vE '(x|\s|\.|\d)+$'
error: The following required arguments were not provided:
    <PATTERN>

...
jmmaranan commented 11 months ago

Hi @bashfulrobot - the color you selected on the video looks the same as the original. Did you try another color? And how did you install Forge? (I might need to update the issue template to make it simpler) The styles are stored in the .config/forge/stylesheet.css if from extensions website. Otherwise from .local/share/gnome-shell/extensions/forge@jmmaranan.com/stylesheet.css when installed from source.