Summary: | Cannot save document after editing footer background and border | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Samuel Mehrbrodt <s.mehrbrodt> |
Component: | Writer | Assignee: | Christopher Copits <ChrisCDev> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | low | CC: | jmadero.dev, s.mehrbrodt |
Version: | 3.6.3.2 release | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | ProposedEasyHack target:4.1.0 | ||
i915 platform: | i915 features: |
Description
Samuel Mehrbrodt
2012-11-21 10:04:43 UTC
This is also the case in 3.5 and (probably) 3.6. Can you clarify step 2? What I did (and couldn't reproduce) 1. Did your step 2. Went into styles and formatting, right clicked on Header and changed background color 3. Saved successfully I suspect I am missing what step 2 is, if you can just clarify that'll help. You need to go via the blue button below the Header. Choose "Border and Background" via that button and then change anything there. Thanks for testing this. ah I see. Confirmed. Marking as NEW (confirmed) Changing Priority: Minor: Doesn't prevent high quality work, just an inconvenience under specific circumstances Low: Only happens in one situation (changing color going through the blue header dialog that appears). Also very easy workarounds (just add/delete a character and save). Whiteboard: ProposedEasyHack I don't think that this will be too hard to fix Thanks for the update and for helping us out! I will look into fixing this. Patch submitted for review. To reproduce: ------------- 1. Open writer and create a header with Insert > Header > Default Style. 2. Type something into the header and save. 3. Click anywhere in the header and then click the blue button's dropdown arrow. 4. Click "Border and Background". 5. Change something. 6. Observe that the floppy disk (save) icon on the toolbar is not enabled. To test: -------- 1. Open writer and create a header with Insert > Header > Default Style. 2. Type something into the header and save. 3. Click anywhere in the header and then click the blue button's dropdown arrow. 4. Click "Border and Background". 5. Change something. 6. Observe that the floppy disk (save) icon on the toolbar is now enabled. What I changed: --------------- In HeaderFooterWin.cxx's SwHeaderFooterWin::ExecuteCommand(): after changes are made to the header's background, box, or shadow, I call SetModified(true) to signal that the document was modified. Christopher Copits committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=38a022ce8b2698ef4535d3487326307928c5208b fdo#57362 Cannot save document after editing footer background and border The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Thanks for fixing this :) |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.