Bug 129820 - Format "Standard" appears (replaced) Format "General" in Variables (Field) (see comment 4)
Summary: Format "Standard" appears (replaced) Format "General" in Variables (Field) (s...
Status: RESOLVED DUPLICATE of bug 154613
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.4.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevAdvice
Depends on:
Blocks: Fields-Dialog
  Show dependency treegraph
 
Reported: 2020-01-05 23:23 UTC by sdc.blanco
Modified: 2023-04-05 01:15 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Saved when Variable Format was General (8.48 KB, application/vnd.oasis.opendocument.text)
2020-01-06 23:40 UTC, sdc.blanco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sdc.blanco 2020-01-05 23:23:02 UTC
Tested with:  6.3.4.2  and 6.5.0.0.alpha

1.  Baseline condition:  Open a new document, Ctrl-F2, Variables Tab,
"General" shown in Format list ("Standard" is not).

2.  Open attachment 114832 [details] from bug 90658, 
Ctrl-F2, Variables Tab, "General" is gone from Format list; "Standard" appears.

Is this considered problematic -- at least from a UI perspective?

(I understand that General/Standard are alternative labels for the same idea (and code). I am not asking about their meaning.)

But my naive belief is that these labels should not change within the same UI  (especially given the confusion that General and Standard seem to cause). 

Additional information:

I believe that I created this shift (from General to Standard) at least once in a new (Untitled) document (while making different combinations of variable types "Variable", "Input Field" and "User Field").  But could not find a way to reproduce it.  So I mention this only as an unsubstantiated rumor.
Comment 1 Dieter 2020-01-06 21:44:39 UTC
(In reply to sdc.blanco from comment #0)
> Tested with:  6.3.4.2  and 6.5.0.0.alpha
> 
> 1.  Baseline condition:  Open a new document, Ctrl-F2, Variables Tab,
> "General" shown in Format list ("Standard" is not).

I can't confirm that. "Standard" is shown in the list.

Version: 6.5.0.0.alpha0+ (x64)
Build ID: e26d89371f0e4f41476c9a99be01d98dedb76776
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: threaded

and also

Version: 6.3.4.2 (x64)
Build-ID: 60da17e045e08f1793c57c00ba83cdfce946d0aa
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded
Comment 2 sdc.blanco 2020-01-06 23:40:11 UTC Comment hidden (no-value)
Comment 3 Buovjaga 2020-05-09 14:54:17 UTC Comment hidden (no-value)
Comment 4 sdc.blanco 2020-05-10 21:40:26 UTC
To go back to the original report:

Why should there be both "General" and "Standard" formats? 
That is the main concern.  

New way to demonstrate (not dependent on locale setting, as best I can tell), and no need to open previous documents.

1.  Open document.  Use status bar to set language to Danish.
2.  Ctrl-F2, Variable, Set Variable  (shows "Standard") in Format
3.  Change language in same document to English (USA) or English (UK)
4.  Repeat Step 2 -- now shows "General"
5.  Change language to Finnish
6.  Repeat Step 2 -- now shows "Yleinen"


Presumably all the variables are still treated as numerical variables -- but why should there be different format names for different languages (when the UI language is not changing)?

(there is no documentation -- in English -- about "Standard" or "General" format -- afaik)

(I assume that a document will store the version "Standard" or "General" or whatever was used when the variable was created -- and will be used when the document is opened.  No problem with that.  But still wondering if there should be both "General" and "Standard")

Tested with:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 10e20a77ce302a0475a661ad1886f2ca83c55f3f
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; 
Locale: da-DK (en_DK); UI-Language: en-US
Calc: threaded
Built 14 March 2020
Comment 5 Buovjaga 2020-05-11 08:49:09 UTC
Ok, I get the point. I asked in dev chat, but nothing yet.
Comment 6 sdc.blanco 2022-01-28 10:43:46 UTC
repro STR in comment 4 with Version: 7.4.0.0.alpha0+
Comment 7 sdc.blanco 2023-04-05 01:15:52 UTC

*** This bug has been marked as a duplicate of bug 154613 ***