[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 104396] Anchor links (links with #) inside a frame don't jump to
From:       Jesse Byler <kde-bugs () web19 ! eml ! cc>
Date:       2006-11-29 19:09:43
Message-ID: 20061129190943.29204.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=104396         




------- Additional Comments From kde-bugs web19 eml cc  2006-11-29 20:09 -------
Could you change the title of the bug to "cache=Reload breaks Anchor  
links inside a frame"?  (see comment 4 and step 1 of the HTR below.)   
Thanks.

I just tested and found that half of the bug is gone in KDE 3.5.4,  
and also that the cache=Reload setting which causes this bug is not  
(currently) accessible via the GUI, so probably most users will never  
see this.  See discussion below.

First of all, here's a more explicit HTR:

1. Setup: edit ~/.kde/share/config/kio_httprc to ensure you have the  
setting "cache=Reload"
2. (Re-)start konqueror with this new setting
3. In konqueror, open index.html from this bug's attachment (id=10752)
4. Click "link to same page".  Expected behavior: browser window  
scrolls down to reveal the text "target" at the bottom of the page.
5. Click back
6. Click "link to different page". Expected behavior: browser goes to  
a new page with the text "This is Frame 2" at the top, and scrolls  
down to reveal the text "target" at the bottom of the page.

Actual behavior in KDE 3.4.3:

4. Nothing happens.
6. Browser goes to new page "This is Frame 2" but does not scroll  
down to target.

Actual behavior in KDE 3.5.4:

4. browser scrolls down to target, as expected - this test is fixed
6. Browser goes to new page "This is Frame 2" but does not scroll  
down to target

Discussion of cache=Reload:

It turns out that the GUI for this setting is in Settings ->  
Configure Konqueror -> Cache -> Policy.  The 3 settings for this  
option in both KDE 3.4.3 and KDE 3.5.4 are "Keep Cache in Sync", "Use  
cache whenever possible", and "Offline browsing mode", which set the  
cache property in kio_httprc to Refresh, Cache, and CacheOnly.  These  
values correspond to 3 of the 5 possible values for the enum  
CacheControl in kdelibs/kio/kio/global.h (line 327).  The setting  
that causes the bug is cache=Reload, with the following comment in  
the source code: "Always fetch from remote site."  Maybe cache=Reload  
was once the way to turn off caching, and maybe at some point  
cache=Reload was deprecated in favor of a new setting  
UseCache=false?  In any case, there's no GUI for it now, but some  
users may have this setting anyway, either because they upgraded from  
an old version of KDE which did provide a setting for it, or because  
their OS distribution had a stock kio_httprc with that value in it.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic