Neothesia icon indicating copy to clipboard operation
Neothesia copied to clipboard

Cannot open folder inside Neothesia, and the logo is empty

Open zayn7lie opened this issue 1 year ago • 2 comments

Error description

  1. When I click on Select File on menu or Select File on SoundFont under Settings, nothing happen and log shows:
    [2024-04-27T23:56:46Z INFO  neothesia::scene::menu_scene::iced_menu::settings] User canceled dialog
    [2024-04-27T23:56:52Z INFO  neothesia::scene::menu_scene::iced_menu::midi_file_picker] User canceled dialog
    
  2. There is no logo on the menu but a black square: 2024-04-27T20:07:54,126146259-04:00

Compiling process

Following cargo build under Archlinux AUR: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=neothesia

There is no error shown but only a warning during the compiling process:

Compiling midi-io v0.1.0 (~/.cache/yay/neothesia/src/Neothesia-0.2.1/midi-io)
warning: field `0` is never read
   --> midi-io/src/lib.rs:127:32
    |
127 | pub struct MidiInputConnection(midir::MidiInputConnection<()>);
    |            ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |            |
    |            field in this struct
    |
    = note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
    |
127 | pub struct MidiInputConnection(());
    |                                ~~

warning: `midi-io` (lib) generated 1 warning

System Info

$ neofetch
                   -`                    zayn7lie@zayn7lie-acl 
                  .o+`                   --------------------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: XPS 13 9310 
               `+oooooo:                 Kernel: 6.8.7-arch1-1 
               -+oooooo+:                Uptime: 1 day, 23 hours, 42 mins 
             `/:-:++oooo+:               Packages: 681 (pacman) 
            `/++++/+++++++:              Shell: bash 5.2.26 
           `/++++++++++++++:             Resolution: 1920x1200 
          `/+++ooooooooooooo/`           WM: Hyprland 
         ./ooosssso++osssssso+`          Terminal: kitty 
        .oossssso-````/ossssss+`         CPU: 11th Gen Intel i7-1195G7 (8) @ 5.000GHz 
       -osssssso.      :ssssssso.        GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics] 
      :osssssss/        osssso+++.       Memory: 5569MiB / 15709MiB 
     /ossssssss/        +ssssooo/-       GPU Driver: Dell Device [1028:0afc] 
   `/ossssso+/:-        -:/+osssso+-     CPU Usage: 4% 
  `+sso+:-`                 `.-/+oso:    Disk (/): 78G / 251G (33%) 
 `++:.                           `-/+/   Locale: C.UTF-8 
 .`                                 `/

zayn7lie avatar Apr 28 '24 00:04 zayn7lie

Judging by the fact that you are on Hyprland, your XDG Portal setup is probably broken, you can try to install zenity and see if Neothesia fallbacks to it correctly.

PolyMeilex avatar Apr 28 '24 13:04 PolyMeilex

Thanks, the first problem is solved through installing zenity. But the logo is still empty btw

zayn7lie avatar Apr 29 '24 00:04 zayn7lie

The black logo is a bug in wgpu OpenGl backend, and as far as I remember I submitted a workaround for that to iced, so it should probably be fixed in the next version.

PolyMeilex avatar Jan 18 '25 22:01 PolyMeilex