Bug 104276 - UI: Layout Header and Footer tab isn't exactly the same
Summary: UI: Layout Header and Footer tab isn't exactly the same
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.3.0.0.alpha1+
Hardware: All All
: low trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: difficultyInteresting, easyHack, skillCpp, topicUI
Depends on:
Blocks: Writer-Header-Footer
  Show dependency treegraph
 
Reported: 2016-11-30 11:46 UTC by Telesto
Modified: 2025-09-12 14:42 UTC (History)
1 user (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 Telesto 2016-11-30 11:46:47 UTC
Description:
I don't know if it should count as a bug, but the placement of the combobox (and other functions) is related to the text label. It's dancing a bit.

Steps to Reproduce:
1.Open Calc
2.Insert -> Headers and Footers..
3.Switch a few times back and forward between Header and Footer tab

Actual Results:  
The align of the combobox and other function's isn't quite the same

Expected Results:
The alignment should be the same (I think)


Reproducible: Always

User Profile Reset: YES

Additional Info:
Version: 5.4.0.0.alpha0+
Build ID: 4130c8def811d1dcc87eacaa8ae48ba02738a790
CPU Threads: 4; OS Version: Windows 6.19; UI Render: GL; 
TinderBox: Win-x86@42, Branch:master, Time: 2016-11-29_01:03:18
Locale: nl-NL (nl_NL); Calc: CL


User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Comment 1 Buovjaga 2016-12-02 08:40:41 UTC
Confirmed.

Win 7 Pro 64-bit Version: 5.4.0.0.alpha0+
Build ID: 142618ecae472e535c582c0fb357d2a9a76655f1
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2016-11-28_00:46:57
Locale: fi-FI (fi_FI); Calc: group
Comment 2 QA Administrators 2017-12-03 18:57:28 UTC Comment hidden (obsolete)
Comment 3 Telesto 2017-12-03 21:10:43 UTC
Repro
Version: 6.1.0.0.alpha0+
Build ID: cc1db6f2b0ebe05ae807628778835b62df00eca2
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-12-02_23:45:34
Locale: nl-NL (nl_NL); Calc: CL
Comment 4 QA Administrators 2018-12-04 03:47:28 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2022-08-05 03:31:35 UTC Comment hidden (obsolete)
Comment 6 Kira Tubo 2023-09-08 05:23:31 UTC
Reproduced using current daily master build

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9a37652b79001bf5208841b9221dee851b9b6d0f
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 7 QA Administrators 2025-09-08 03:10:29 UTC Comment hidden (obsolete, spam)
Comment 8 Justin L 2025-09-08 18:14:46 UTC
repro 26.2+

Assume it is because the proportional text length of "header" is larger than "footer", so one label takes up more space than the other. Even if fixed for "English", this would still be expected to be a "problem" for other languages.
Comment 9 Buovjaga 2025-09-08 18:40:55 UTC
(In reply to Justin L from comment #8)
> repro 26.2+
> 
> Assume it is because the proportional text length of "header" is larger than
> "footer", so one label takes up more space than the other. Even if fixed for
> "English", this would still be expected to be a "problem" for other
> languages.

Do you have code pointers?
Comment 10 Justin L 2025-09-08 19:50:53 UTC
(In reply to Buovjaga from comment #9)
> Do you have code pointers?

No (that's why I marked it as "interesting"), but it shouldn't be too hard to find the .ui file that contains these strings.
Comment 11 Buovjaga 2025-09-09 04:36:11 UTC
(In reply to Justin L from comment #10)
> (In reply to Buovjaga from comment #9)
> > Do you have code pointers?
> 
> No (that's why I marked it as "interesting"), but it shouldn't be too hard
> to find the .ui file that contains these strings.

Ok, we should still have pointers with interesting hacks. What I found is sc/uiconfig/scalc/ui/headerfootercontent.ui