Bug 500361 - Saving a page in the built-in browser to HDD opens multiple portals
Summary: Saving a page in the built-in browser to HDD opens multiple portals
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: internal browser (other bugs)
Version First Reported In: 6.3.2
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-18 23:45 UTC by fritz.seiffert
Modified: 2025-02-19 06:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fritz.seiffert 2025-02-18 23:45:25 UTC
The following steps were done with both the version that natively ships with Akregator, as well as the Flatpack version from Flathub installed through Discover, and on both my main machine and my Laptop.
As far as I've tested (maybe 30 times by now) the issue happens reliably every time.

STEPS TO REPRODUCE
1. Open an article in Akregator itself (so that there is at least 2 tabs: The list of articles, and the article just opened)
2. In any article tab, right-click somewhere into the HTML page and select "Save Page" to open the file selector window.
3. Now the page can be saved, or the the file selector window can be closed without saving, it does not matter: Once it has closed, another similar file selector window will appear.

OBSERVED RESULT
Once a file selector window has closed, another will open This process seems to repeat as many times as there is open tabs. Open the  It saves the selected location in-between, so navigating to one folder and trying to save will open the next file selector window at the new location, however it does not actually save the file, except for the final file selector window. After the final file selector window is closed, Akregator continues to function as before, and if one selected the file to be saved in the final file selector window, it does actually save.

I have tested it, given enough tabs open it will prompt the file save window for 20+ times. Also, it seems that there have been cases where the repetition occurred more often than there were open tabs, but this seems to have happened once or twice (as far as I am able to tell), and I didn't count at the time.

I've not observed this only happening with specific domains or pages, it appears to be an universal bug.

EXPECTED RESULT
After selecting the file name and location once, the file is saved on first try.

SOFTWARE/OS VERSIONSLinux/KDE Plasma: 
Akregator: 6.3.2 (24.12.2)
KDE Frameworks: 6.11.0
Qt: 6.8.2 is used and was built with 6.8.2
openSUSE Tumbleweed (Xcb)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.13.2-1-default

ADDITIONAL INFORMATION
I'm using the program in German and tried to translate what is displayed in Akregator for specific actions or tabs to what I assume it will be in English. If there is any issue, feel free to contact me.
Comment 1 Laurent Montel 2025-02-19 06:50:15 UTC
Git commit 2245020690ce4c0a9355b05e2e0c45caf3c9dff0 by Laurent Montel.
Committed on 19/02/2025 at 06:49.
Pushed by mlaurent into branch 'master'.

Fix Saving a page in the built-in browser to HDD opens multiple portals
GIXED-IN: 6.4.0

M  +2    -2    webengineviewer/src/webenginepage.cpp

https://invent.kde.org/pim/messagelib/-/commit/2245020690ce4c0a9355b05e2e0c45caf3c9dff0