Open duxovni opened 10 months ago
I saw something similar and found it was related to the secrets service. I went to the KDE wallet manager, hit "Open wallet", and the problem went away after restarting the app.
We should at least have a standardnotes-bin package that uses upstream's binaries.
I don't think libsecret
is involved in my case; I have useNativeKeychain
disabled in standardnotes' user preferences, and lssecret
doesn't show anything standardnotes-related. Good to know in any case, though!
Is it an electron app? There is some GPU cache that must be removed from time to time, there are issues about it here, but I'm on phone now.
Not a GPU cache issue either; I tried removing the entire .config/Standard Notes
directory (which includes .config/Standard Notes/GPUCache
) to make it start over from scratch, nothing changed.
I am also encountering this issue (on KDE, 3.181.23, latest version of nixpkgs/nixpkgs-unstable):
@duxovni Do you have any one-liners or files you can share w/ your modified derivation? So folks who find this issue can temporarily workaround?
Right now, I'm having to use a different computer to access my notes.
Sure, here's the overlay I've been using:
final: prev: {
standardnotes = let
pname = "standardnotes";
version = "3.183.22";
src = prev.fetchurl {
url = "https://github.com/standardnotes/app/releases/download/%40standardnotes%2Fdesktop%403.183.22/standard-notes-3.183.22-linux-x86_64.AppImage";
hash = "sha256-tPbTgM13+c+wyhCAPawr3U71ofIHFN96x8QYes7RhfE=";
};
appimageContents = prev.appimageTools.extract { inherit pname version src; };
in prev.appimageTools.wrapType2 {
inherit pname version src;
extraPkgs = pkgs: [ pkgs.libsecret ];
extraInstallCommands = ''
chmod -R +w $out
mv $out/bin/${pname}-${version} $out/bin/${pname}
${prev.desktop-file-utils}/bin/desktop-file-install --dir $out/share/applications \
--set-key Exec --set-value ${pname} ${appimageContents}/standard-notes.desktop
ln -s ${appimageContents}/usr/share/icons $out/share
'';
};
}
Hey, thanks so much! That works.
Same issue here…
Describe the bug
When I open standardnotes, I get a blank window with no UI except for the top menu bar.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected standardnotes to have a UI.
Screenshots
Additional context
I've confirmed that this issue is still present if I backport standardnotes 3.183.22, the latest upstream version.
If I build a modified derivation that uses the upstream AppImage instead of nixpkgs' electron (essentially, the exact same changes I made in https://github.com/NixOS/nixpkgs/pull/247061), the issue is resolved, so this does seem to be related to nixpkgs electron in some way.
Notify maintainers
@M-Gregoire @chuangzhu @squalus
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.