Bug 132666 - Wizard service does not refresh the browser correctly
Summary: Wizard service does not refresh the browser correctly
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: UNO
  Show dependency treegraph
 
Reported: 2020-05-04 00:59 UTC by prrvchr
Modified: 2023-09-07 16:32 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description prrvchr 2020-05-04 00:59:17 UTC
After the refresh of the Wizard by the XWizard.updateTravelUI() method, if the next page is accessible then all the following pages are accessible in the browser (left part in the wizard) whatever the returned value of the XWizardController.canAdvance() and XwizardPage.canAdvance() methods.

This is a problem that is also found in OpenOffice whatever the version.
Comment 1 Xisco Faulí 2020-05-22 10:47:58 UTC
Version: 7.0.0.0.alpha1+
Build ID: 8209c2569f5726f9ed29f75d30efdccb94f98fe5
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: x11; 
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 QA Administrators 2020-11-20 04:27:04 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2020-12-21 03:44:44 UTC Comment hidden (obsolete)
Comment 4 prrvchr 2023-07-18 10:24:26 UTC
How to reproduce:


Install OAuth2OOo extension version 1.1.0.
https://prrvchr.github.io/OAuth2OOo/


The case where it works:
Launch the embedded wizard with:
Tools -> Options -> Internet -> OAuth2 protocol -> OAuth2 Wizard

Normally you can't move forward in the Wizard until you agree to the terms of use check box in step 2: Authorization request.


The case that doesn't work:
go to: Tools -> Options -> LibreOffice -> Advanced -> Open Expert Configuration
Search for: OAuth2OOo and change UnoWizard to true.

Launch the embedded wizard with:
Tools -> Options -> Internet -> OAuth2 protocol -> OAuth2 Wizard

You can proceed through the wizard even without accepting the Terms of Use checkbox in Step 2: Authorization request.
Comment 5 prrvchr 2023-07-18 10:51:02 UTC
(In reply to prrvchr from comment #4)
> How to reproduce:
> 
> 
> Install OAuth2OOo extension version 1.1.0.
> https://prrvchr.github.io/OAuth2OOo/
> 
> 
> The case where it works:
> Launch the embedded wizard with:
> Tools -> Options -> Internet -> OAuth2 protocol -> OAuth2 Wizard
> 
> Normally you can't move forward in the Wizard until you agree to the terms
> of use check box in step 2: Authorization request.
> 
> 
> The case that doesn't work:
> go to: Tools -> Options -> LibreOffice -> Advanced -> Open Expert
> Configuration
> Search for: OAuth2OOo and change UnoWizard to true.
> 
> Launch the embedded wizard with:
> Tools -> Options -> Internet -> OAuth2 protocol -> OAuth2 Wizard
> 
> You can proceed through the wizard even without accepting the Terms of Use
> checkbox in Step 2: Authorization request.
Comment 6 Stéphane Guillou (stragu) 2023-07-29 15:08:43 UTC
In LO 7.5.5.2 on Linux, installing OAuth2OOo 1.1.0, I get an error:

"No module named 'lxml.etree' (or 'plugin.extract2.Json' is unknown)"

After a restart, the extension is listed in the Extensions Manager but greyed out and "inactive".

Is that something you've see before, prrvchr?
Comment 7 prrvchr 2023-07-29 18:10:48 UTC
If you are not with python 3.10 you must install following python package:

- charset-normalizer (https://pypi.org/project/charset-normalizer/3.1.0/#files)
- ijson (https://pypi.org/project/ijson/3.2.2/#files)
- lxml (https://pypi.org/project/lxml/4.9.2/#files)

see: https://prrvchr.github.io/OAuth2OOo/#requirement

I can't put more version of binary file for extension size issue...
Comment 8 QA Administrators 2023-07-30 03:16:21 UTC Comment hidden (obsolete)
Comment 9 prrvchr 2023-07-31 17:41:44 UTC
@stragu

(In reply to Stéphane Guillou (stragu) from comment #6)
> In LO 7.5.5.2 on Linux, installing OAuth2OOo 1.1.0, I get an error:
> 
> "No module named 'lxml.etree' (or 'plugin.extract2.Json' is unknown)"
> 
> After a restart, the extension is listed in the Extensions Manager but
> greyed out and "inactive".
> 
> Is that something you've see before, prrvchr?

I just noticed that all my extensions were full of a bug that I just fixed (see bug 156556)
It might be good to re-download the OAuth2OOo extension to make sure you have the corrected version.
Comment 10 Buovjaga 2023-09-07 15:59:21 UTC
Repro

Arch Linux 64-bit, X11
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8c982bf86ff9ca5a4ed86505ec1133cc183f1b58
CPU threads: 8; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 7 September 2023
Comment 11 prrvchr 2023-09-07 16:32:32 UTC
Yes, this bug is found in all versions of LibreOffice (and also in OpenOffice).

And it's makes UNO's Wizard service unusable...

Since, in certain conditions, it is not possible to restrict access to the following pages of the Wizard.