Project

General

Profile

Actions

Bug #821

closed
SS SS

Website loading reverts to the current site if the user agent changes

Bug #821: Website loading reverts to the current site if the user agent changes

Added by Soren Stoutner over 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Next Release
Start date:
03/23/2022
Due date:
% Done:

0%

Estimated time:

Description

We need a way to either delay changing of the user agent or disable the reload of the current website.


Files

SS Updated by Soren Stoutner over 4 years ago Actions #1

  • Priority changed from Next Release to 1.x

SS Updated by Soren Stoutner over 4 years ago Actions #2

  • Tracker changed from Feature to Bug

SS Updated by Soren Stoutner over 4 years ago Actions #3

The solution was to use `load()` instead of `setUrl()`.

Fixed in commit https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=commitdiff;h=5daa7af456c7daa05b1a055932b5156ed1f88b00.

SS Updated by Soren Stoutner over 4 years ago Actions #4

  • Status changed from New to Closed

SS Updated by Soren Stoutner over 4 years ago Actions #5

  • Status changed from Closed to New

Turns out this wasn't fixed by the previous commit.

SS Updated by Soren Stoutner over 3 years ago · Edited Actions #7

SS Updated by Soren Stoutner over 3 years ago Actions #8

  • Status changed from New to In Progress

SS Updated by Soren Stoutner over 3 years ago Actions #9

The attached patches fix this issue. As Qt doesn't seem to want to implement it upstream, I will likely have to release PrivacyWebEngine earlier than anticipated.

SS Updated by Soren Stoutner over 1 year ago · Edited Actions #10

SS Updated by Soren Stoutner over 1 year ago · Edited Actions #11

  • Status changed from In Progress to Closed
  • Priority changed from 1.x to Next Release

I was able to develop a tricky workaround involving canceling the load when the user agent changes and loading the new URL a second time. It's a bit hacky, but it happens so fast the user doesn't notice.

Fixed in commit: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=commitdiff;h=1f7ac15b8de6d6321c6ee84b0178ef6dc8aa22da;ds=sidebyside

Actions

Also available in: PDF Atom