flathub / com.jetbrains.IntelliJ-IDEA-Ultimate

https://flathub.org/apps/details/com.jetbrains.IntelliJ-IDEA-Ultimate
15 stars 8 forks source link

Can't remember passwords #46

Closed taaem closed 4 years ago

taaem commented 4 years ago

Flatpacked Idea can't remember passwords for eg. databases, even though I choose to remember the password after a restart I get asked again.

This is probably due to some secrets or gnome-keyring API not available inside the sandbox. I think maybe a permission to org.freedesktop.secrets or something along the lines needs to be added.

Best Regards

x80486 commented 4 years ago

@taaem, that works as expected, as far as I can tell. I use it every day. What database are you using? I use MariaDB, MySQL and PostgreSQL, not sure if the behaviour is different with others, but it shouldn't – it should use the native keychain, and the Flatpak has already --talk-name=org.freedesktop.secrets and --filesystem=xdg-run/keyring.

Make sure you are saying: save the password forever inside IntelliJ? Also, what operating system are you using? I can install it and test on it.

taaem commented 4 years ago

I'm using MariaDB on my host. I definitely save it forever, and I'm using Fedora 32, but I had the issue on Fedora 31 too. But you're right the permissions are there.

x80486 commented 4 years ago

OK, let me try Fedora 32 (I would assume it's not Silverblue)...will let you know.

taaem commented 4 years ago

No I'm not using Silverblue

x80486 commented 4 years ago

Yeah, well...this one is going to get tricky, but I think it might be a problem with something in your system; I've tried in Arch Linux, Ubuntu LTS and Fedora 32 (beta) and it works fine.

Is there anything in the IDE logs "telling" something interesting?

Would you mind trying DataGrip?

taaem commented 4 years ago

DataGrip works fine, maybe I should remove my settings and all app data for IDEA? Do you think that would maybe fix the issue?

In the IDE logs is nothing interesting.

x80486 commented 4 years ago

They both work exactly the same way in the sense both come from the same "base", so that's what I thought it would happen; there are high chances it's a problem isolated to your system and/or IntelliJ IDEA install.

You can put aside the settings in ${HOME}/.var/app/com.jetbrains.IntelliJ-IDEA-Ultimate/ (assuming you are in version 2020.x, otherwise look into your home directory for .IntelliJYYYY.X/), jank it and start again.

taaem commented 4 years ago

Okay removing all settings fixed it for me, maybe it was time for clean setup :shrug: