[QGIS-Developer] DefaultProxy and ambiguous wording in the options

Julien Cabieces julien.cabieces at oslandia.com
Wed Mar 20 06:37:53 PDT 2024


Hi Hannes,

Ok, I finally get your point, and so I agree with the ambiguity, it
would be better to have a label : "DefaultProxy" use the system's proxy.

But I think it would be way better to have translated item in the combo
box [0] with the following first item "Default Proxy (use the system's proxy)".

Regards,
Julien

https://github.com/qgis/QGIS/blob/ec30cabf407bb1d1d35432355b0af6b10274efb5/src/app/options/qgsoptions.cpp#L467




> Hi Julian, and thank you!
>
>  - If the checkbox is ticked, then by default the first entry of the
>   combobox is activated ("DefaultProxy"). Now it could be read that
>   the default selection of the combobox, the "DefaultProxy", uses the
>   system's proxy.
> - Last, and that is my understanding, "Default uses system's proxy"
>   actually references the name of the "DefaultProxy" comboxbox option
>   so if the user selects "DefaultProxy", then the system's proxy is
>   used. (Same outcome as with the previous one but for a different
>  reason).
>
> Sorry, I don't get your point here, everything looks normal to me.
>
> My point is the ambiguity of the wording and what "default" might mean to the user.
>
> The three paragraphs are meant to be potential interpretations by the user.
>
> There is 1) the dialog having its default settings upon first open, 2) the combobox having a default selection upon activation and 3) the
> combobox containing something named "Default...". 
>
> Am I right that the text is meant to reference the "DefaultProxy"? I read up on Qt's proxy handling today and it does seem to work like that. 
>


>  Why not having a tool tip instead of a help text just besides the
> combobox ? or at least remove the help text when you don't select
> "Default Proxy" ?
>
> Changing just that one word would be a trivial PR. Changing logic would require me to compile and test and since I am very rarely doing
> anything C++ related it would probably be hours of work (and/or waiting). And then I would forget something and have to do it again :)
>
> Cheers, Hannes


-- 

Julien Cabieces
Senior Developer at Oslandia
julien.cabieces at oslandia.com


More information about the QGIS-Developer mailing list