Description: Hello. I'm using latest LO 25.2.2, OS is Windows, ui language / locale is Polish. I'm reporting this for Writer but this concern every module - Calc, Draw, Impress, and Writer, which uses the new notepad / tab bar / sidebar controls to adjust page margins. Firstly, margin values inside the notebook bar and the side bar DO NOT MATCH the values of the same adjustments displayed inside Page style settings windows. This was pretty much the case since the unfortunate birth of the new libreoffice ui, but I thought it was just me, or my old computers at the time. If you open new writer document, click format menu, then page style, then go to page settings tab, you can see all the margin values at 2,00 cm. Okay, seems normal so far. Then you go to the Layout tab in the notepad bar and click the Page margins button, and a popu appears showing: Left margin: 2,00 cm Right margin: 2,00 cm Top margin: -2,10 cm Bottom margin: 2,10 cm Wait, but that's not all! There's more! Inside the sidebar, the Page style tab, Format section has a Page margin dropdown with some presets, which btw. are named completely independent of the actual adjustments that are being applied if you use them, specifically the "Normalny (1,90 cm)" and "Normalny (3,18 cm)", which is annoying in itselt... But then if you select "Normalny (3,18 cm)" and then go back and see what it did: inside Page style settings windows you'll see margins set: -left and right to 3,18 cm -top and bottom to 2,54 cm and inside that bugged up Page margins popup frame opened from the notepad bar: -left and right 2,54 cm (both NOT 3,18 cm) -top and bottom -2,64 cm (that is MINUS NOT 2,54 cm) BUT WAIT!! THERE'S EVEN MORE! Go to notepad bar > Layout again, click page margins button to show the popup with the wrong values and then click without ever changing the value, just click to focus the top or the bottom value field, and notice something very strange is happening - the margins are getting all wonky and crazy. I mean, what is going on here? How does one use LO in any real life capacity and NOT notice this ridiculously obvious and obviously embarassing in your face bug is beyond me. Currently to bypass the issue I have to disable notebook and sidebar UI altogether (rendering them completely useless) in every single instance of Libreoffice (my office, family computers) and rely solely on the outdated toolbar ui with a button which leads straight to the Page style settings (and not to that page margin popup). I'm not sorry for the rant. This should be caught ages ago. Please FIX this ASAP. Cheers. Steps to Reproduce: 1. open new document 2. go to format menu > page style > page > margins, note the values 3. go to notepad bar > layout tab and click page margins button, note the values 4. go to sidebar > page tab > format > page margins, choose "Normalny (3,18 cm)" 5. repeat step 2, note the values 6. repeat step 3, note the values Actual Results: format menu > page style > page > margins values are ok notepad bar > layout tab > margin button > top and bottom valeus are different and are NEGATIVE after using "Normalny (3,18 cm)" page margin preset in the sidebar: Expected Results: obviously all the margin values, be inside the page style settings window or the notepad bar or the sidebar should be the exact same values using the exact same units of values and also the sidebar page margin presets should be modifiable and removable if one needs it Reproducible: Always User Profile Reset: Yes Additional Info: I attatch a screen capture showing this nonsense using a installation and profile.
Created attachment 200175 [details] LibreBugs 25.2.2 Page Margins Edition
Confirmed. But only when the margin selection is being made from the Notebook bar in Tabbed UI from its Layout -> Page Margin button. STR: New Writer document Place UI into Tabbed UI from the View -> User Interface... dialog Navigate Notebook bar to the 'Layout' Tab Navigate the Sidebar to the 'Page' deck Set one of the SB 'Margins' lb values Now set a different preset value from the NB 'Page Margins' button Now set a different preset value from the SB 'Margins' lb values back to the TB 'Page Margins' Layout button, if need be repeat As changes between the preset are made, at some point the displayed Top / Bottom values for the metric spinboxes will show incorrect negative values. Once I did see similar negatives on a TB selection for the Left / Right. So, believe the issue is with the margins not being triggered for a unit conversion, and a negative value gets added but only when set from the 'Page Margins' button of the Notebook bar Layout tab. The margins when set from the main menu Format -> Page Style... dialog, or from the SB Page deck Format Margins lb always applied correctly.
Should note that closing the TB Page Margin widget and reopening it does refresh the listed margins to match the SB or the Page Style -> Page margins. Just doesn't refresh without close/open.