Bug 315385

Summary: With "Load the full website when reading articles" checked for the particular feed, when you switch from one article to another, the position "down" the page in the internal browser does not reset to the top position.
Product: [Applications] akregator Reporter: Brad DeRider <in.texas.d>
Component: internal browserAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: de.meyer.maarten
Priority: NOR    
Version: 4.10.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Brad DeRider 2013-02-18 13:41:49 UTC
Akregator
Version 4.8.5
Using KDE Development Platform 4.8.5 (4.8.5)

With "Load the full website when reading articles" checked for the particular feed, when you switch from one article to another, the position "down" the page in the internal browser does not reset to the top position.

While some might argue this is a feature request, it is actually a bug. Because the internal browser still is a browser, I would not expect a browser to be scrolled to the bottom of the page when a page initially loads. 

So, to be more specific. When I have the full website loaded into the preview pane below the list of articles for the selected feed, I can scroll down through the loaded webpage. When I click on another article above the preview pane within the list of articles, it loads the full website for that article. However, it does not reset the scroll position to the top of the website.

CORRECT/EXPECTED BEHAVIOR: Reset the scroll position to the top of the page when loading a new page. 
CURRENT BEHAVIOR: The scroll position of the next page loaded is scrolled down to where it was the last web page.

Reproducible: Always

Steps to Reproduce:
1. Add a feed to akregator
2. Right click on feed and select "edit properties"
3. In the "Advanced" tab ensure that the checkbox for "Load the full website when reading articles" is checked.
4. Click "OK". 
5. Click "Fetch All Feeds" (note, ensure that you select a feed that has articles that will load" AND that has long enough articles that require a scroll bar). 
6. Click on an article within that feed and wait for the full page to load. 
7. Scroll down to the bottom of the page (ENSURE THAT IT SCROLLS SO THE TOP OF THE PAGE IS NOT VISIBLE IN THE PREVIEW PANE AKA INTERNAL BROWSER)
7. Click on another article within that feed and wait for the full page to load. 
8. NOTE that the new website that is loaded in the preview pane (aka internal browser) is not at the top of the page
Actual Results:  
The website loaded in the preview pane/internal browser will be scrolled down as far as it was in the last website loaded.

Expected Results:  
The website, when freshly loaded, should be scrolled to the very top of the page.

Please note that I am using Linux 3.2.0-37-generic (Kubuntu 12.04 LTS), KDE SC Version 4.8.5. This shouldn't be relevant. The Akgregator version is listed as 4.8.5 as well. This may be relevant if this is something that has been changed in a more recent version.
Comment 1 Maarten De Meyer 2013-02-18 17:26:08 UTC
Hi, thank you for the detailed report.

I cannot confirm this bug. Not sure what's wrong, this bug was fixed a long time ago. (bug#83187)

Does this happen with every feed?
Comment 2 Brad DeRider 2013-02-18 17:44:44 UTC
Maarten,

It happens when you change from one article within the same feed to another
(switching feeds resets the position).

Yes, it is certain feeds. CNN feeds seem to reset the position while BBC
feeds do not. Most "A KDE Feed Reader", "Akregator",  "Version 4.8.5",
"Using KDE Development Platform 4.8.5 (4.8.5)". "Copyright (c) 2004-2010
Akregator authors"

brad@machinename:~$ akregator -v
Qt: 4.8.1
KDE Development Platform: 4.8.5 (4.8.5)
Akregator: 4.8.5

I looked up the bug you mentioned; shows fixed v 1.0 beta. Hrrmmm, could
you try BBC feeds with "load full page when ..."per the bug report.

Thanks,
Brad



On Mon, Feb 18, 2013 at 11:26 AM, Maarten De Meyer <
de.meyer.maarten@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=315385
>
> Maarten De Meyer <de.meyer.maarten@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |
> de.meyer.maarten@gmail.com
>
> --- Comment #1 from Maarten De Meyer <de.meyer.maarten@gmail.com> ---
> Hi, thank you for the detailed report.
>
> I cannot confirm this bug. Not sure what's wrong, this bug was fixed a long
> time ago. (bug#83187)
>
> Does this happen with every feed?
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 3 Maarten De Meyer 2013-02-18 21:17:32 UTC
I can confirm when using the bbc feeds.
Very strange, maybe the site is using some funky javascript that does this.

It is also some sites. The bbc nature one scrolls to the top.
Comment 4 Denis Kurz 2016-09-24 19:45:27 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of akregator (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 5 Denis Kurz 2017-01-07 21:56:44 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.