NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.29k stars 14.27k forks source link

Changing GNOME extension's settings logs me out #352917

Open 4r7if3x opened 3 weeks ago

4r7if3x commented 3 weeks ago

Describe the bug

The sticky-notes-integration GNOME extension, has a preference named "Indicator Position" that setting it on the "Left" causes my user to be logged out and it takes a quite long time to see the desktop environment after logging back in. Besides, the indicator often moves to the right area again!

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install Sticky Notes along side with its GNOME shell integration via Home-Manager:

    { ... }:
    
    {
      home.packages = with pkgs; [
        sticky-notes
        gnomeExtensions.sticky-notes-integration
      ];
    }
  2. Enable the extension.

  3. Open the extension's settings/preferences.

  4. Navigate to the "Indicator" tab.

  5. Change the "Indicator Position" to "Left".

Expected behavior

Changing the respective setting shouldn't cause my user to get logged out or the services to get restarted. And the tray icon should be always displayed on the selected position on the top bar.

Notify maintainers

@honnip @joaocandre

Metadata

[user@host:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.58, NixOS, 24.11 (Vicuna), 24.11.20241023.2768c7d`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.9`
 - channels(root): `"nixos-24.05"`
 - nixpkgs: `/nix/store/jsy7c2d1alj2gkxj36h794kk43d5601l-source`

Add a :+1: reaction to issues you find important.

joaocandre commented 2 weeks ago

@4r7if3x that is rather weird, unsure what could be causing, it never happened to me (I've only tested in Arch, but that shouldn't make a difference)

The particular implementation is in here and was mostly inspired by Arch Linux Updates Indicator; you could try to install that extension and check if moving the indicator also logs you out.