Skip to content

Files only show on window event #2869

@R33S3Y

Description

@R33S3Y

Check for other issues

  • I've checked for other issues, and none exist.

Issue description

Hi there,

Sometimes when I open a folder it just fails to display anything until I do something to window. Eg: changing my focused window off and the back on to spacedrive or resizing the window. To be more precises the main file view part of the window empty's and then nothing shows up until a window event

I have only had this happening when in grid view. Although the amount of testing I have done on other views is far less.

Steps to reproduce

No response

Platform and versions

  • OS: NixOS
  • WM: Hyprland
  • Spacedrive: v0.4.2 - 0af8dbf

My full dotfiles can be found at https://github.com/R33S3Y/nixos-config
Here are some more notable bits:

#common-home/hyprland.nix

{ config, pkgs, ... }:
{
  wayland.windowManager.hyprland = {
    enable = true;
    settings = {
      
     ...

      env = [
        # needed for space drive
        # was copyed over from rofi env EG: lanuch kitty via rofi then r un: env > /tmp/env_rofi.txt
        # to get the updated version of this
        "XDG_DATA_DIRS,/nix/store/a6qb8whj2ad7lizr0ghag2a63nss39f7-hicolor-icon-theme-0.18/share:/nix/store/zisyg7919dsx2r28zhggdab4r6xmb257-rofi-1.7.5+wayland3/share:/nix/store/l8x0x87qb2y5j71ff42nbnsqd6jpgdz8-gsettings-desktop-schemas-47.1/share/gsettings-schemas/gsettings-desktop-schemas-47.1:/nix/store/0whdwl2a2jcykffs7p60h32khzlp2ksd-gtk+3-3.24.43/share/gsettings-schemas/gtk+3-3.24.43:/nix/store/hxlyzfdn7fawvd8ahg9w63g5sfw69qhv-desktops/share:/home/reese/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/home/reese/.nix-profile/share:/nix/profile/share:/home/reese/.local/state/nix/profile/share:/etc/profiles/per-user/reese/share:/nix/var/nix/profiles/default/share:/run/current-system/sw/share"
      ];
    
    ...

    };
  };
}

#common-nix/desktop.nix

{ config, pkgs, ... }:

{

  ...

  services.udisks2.enable = true; #need to see other disks in file managers

  environment.systemPackages = with pkgs; [
    kitty # cmd
    spacedrive #file manager
    kdePackages.dolphin
    rofi-wayland # start menu

    ...

  ];
}

If I recall the env var fix was due to an issue with parts of the UI not loading can't remember what exactly

Stack trace

Additional context

No response

Code of Conduct

  • I agree to follow the Code of Conduct.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions