Page MenuHomeSolus

Akregator: Enclosure / Save Link As fails with permission problem
Closed, ResolvedPublic

Description

In Akregator on Solus 4.3 Budgie, doing Enclosure / Save Link As downloads the file, then gives a "could not rename / check permissions" error.

The Akregator devs seem to think this is a Solus issue. See https://bugs.kde.org/show_bug.cgi?id=458669

STEPS TO REPRODUCE

  1. In Akregator, go to a feed item that has a file (maybe .mp3) enclosure on it.
  2. Right-click on the enclosure's link and select "Save Link As".
  3. See dialog as the file is downloaded.
  4. See dialog saying "Could not rename partial file /home/user1/Videos/FILENAME.mp3. Please check permissions."
  5. I have 755 permission to that directory.
  6. Tried "chmod a+w" on that dir, no change.
  7. Tried saving to Downloads dir instead, no change.
  8. "wget" of that link works.

System journal contains lines:

akregator[11543]: gtk_file_chooser_default_set_current_name: assertion 'impl->action == GTK_FILE_CHOOSER_ACTION_SAVE || impl->action == GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER' failed
budgie-wm.desktop[1482]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x4a0a53d

Event Timeline

algent triaged this task as Normal priority.Sep 5 2022, 12:15 PM
algent edited projects, added Software; removed Lacks Project.
algent moved this task from Backlog to Package Fixes on the Software board.

Thanks for the report, it is working as expected on plasma with the provided feed. My guess here is a missing kde dependency for non-plasma DE's.

Or could be an issue when using the GTK file picker instead of the KDE one.

Does xdg-desktop-portal-kde get installed? If not, does installing it resolve the issue?

joebonrichie added a subscriber: algent.

Assigning to plasma apps maintainer. Installing xdg-desktop-portal-kde fixes it (confirmed by @algent) but maybe a common kde rundep is missing it as a dependency.

I could have tested it wrong.
The issue is still there even after installing xdg-desktop-portal-kde.

(akregator:68815): Gtk-CRITICAL **: 15:23:32.031: gtk_file_chooser_default_set_current_name: assertion 'impl->action == GTK_FILE_CHOOSER_ACTION_SAVE || impl->action == GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER' failed
kf.kio.slaves.file:  Couldn't rename  "/home/algent/a0983636-2ca7-41e9-b1c8-7e06f7354d14.mp3.part"  to  "/home/algent/a0983636-2ca7-41e9-b1c8-7e06f7354d14.mp3

I am getting same error as reported.

I installed xdg-desktop-portal-kde, ps -ex showed it was not running, I rebooted, ps -ex showed it is running now, problem still exists in Akregator.

Do I have to change anything in environment, maybe ? env | sort shows:

_=/bin/env
COLORTERM=truecolor
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=budgie-desktop
DISPLAY=:0
GDMSESSION=budgie-desktop
__GL_MaxFramesAllowed=1
GNOME_KEYRING_CONTROL=/home/user1/.cache/keyring-M4Z6R1
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/81869d96_97fb_446c_97f5_f89d9e693fdf
GNOME_TERMINAL_SERVICE=:1.99
GTK_MODULES=gail:atk-bridge
HISTFILESIZE=4000
HISTIGNORE=&:[bf]g:exit
HISTSIZE=1000
HOME=/home/user1
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
LC_MEASUREMENT=en_DK.UTF-8
LC_MONETARY=en_DK.UTF-8
LC_NUMERIC=en_DK.UTF-8
LC_PAPER=en_DK.UTF-8
LC_TIME=en_DK.UTF-8
LOGNAME=user1
PATH=/home/user1/bin:/sbin:/bin:/usr/sbin:/usr/bin:/snap/bin
PWD=/home/user1
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_IM_MODULE=ibus
QT_QPA_PLATFORMTHEME=gtk2
SESSION_MANAGER=local/laptop1:@/tmp/.ICE-unix/1252,unix/laptop1:/tmp/.ICE-unix/1252
SHELL=/bin/bash
SHLVL=0
SSH_AUTH_SOCK=/home/user1/.cache/keyring-M4Z6R1/ssh
TERM=xterm-256color
USER=user1
VTE_VERSION=6800
XAUTHORITY=/home/user1/.Xauthority
XDG_CONFIG_DIRS=/usr/share/xdg:/etc/xdg:/usr/share
XDG_CURRENT_DESKTOP=Budgie:GNOME
XDG_DATA_DIRS=/home/user1/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/share:/var/lib/snapd/desktop/:/var/lib/snapd/desktop
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/user1
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=budgie-desktop
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XMODIFIERS=@im=ibus

Harvey added a subscriber: Girtablulu.

@BillDietrich - is this still happening for you? I am not able to reproduce the bug with Akregator 5.23.2.
Also installed on my system, xdg-desktop-portal-kde, version: 5.27.6

Sorry, I'm 5 distros down the road since filing this bug report, I'm no longer on Solus, have no way to test it.