Issue 27795 - Ruler units for HTML Document are always set to measurement unit on first change
Summary: Ruler units for HTML Document are always set to measurement unit on first change
Status: CLOSED FIXED
Alias: None
Product: ui
Classification: Code
Component: ui (show other issues)
Version: OOo 1.1.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: eric.savary
QA Contact: issues@ui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-14 16:03 UTC by eric.savary
Modified: 2007-08-13 13:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
patch for i27795 (1.82 KB, text/txt)
2004-05-23 21:56 UTC, Giuseppe Castagno (aka beppec56)
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description eric.savary 2004-04-14 16:03:47 UTC
issue 17450 has only been partly fixed.
Changing the measurment units still causes the rulers' units to change *when
changed for the first time*

- Go 'Tools->Options...->HTML Document->View'
- Make sure the following are ticked:
  - 'Ruler'
  - 'Horizontal ruler'
  - 'Vertical ruler'
- Set value of 'Horizontal ruler' to 'Centimeter'
- Set value of 'Vertical ruler' to 'Centimeter'
- Set value of 'Measurement unit' to 'Millimeter'
- Click 'Ok'
- Go 'Tools->Options...->HTML Document->View' again

Buggy behaviour:
- 'Horizontal ruler', 'Vertical ruler' and 'Measurement unit' are all set to 
  'Millimeter'
- changing 'Measurement unit' to 'Millimeter', clicking 'Ok' and bringing up 
  the options again will have changed everything to 'Millimeter'
Comment 1 Oliver Specht 2004-04-15 06:32:20 UTC
.
Comment 2 Giuseppe Castagno (aka beppec56) 2004-05-23 21:55:02 UTC
I don't know if you fixed this, anyway please I privided a patch that should
solve it.
Comment 3 Giuseppe Castagno (aka beppec56) 2004-05-23 21:56:50 UTC
Created attachment 15407 [details]
patch for i27795
Comment 4 Giuseppe Castagno (aka beppec56) 2004-05-24 19:56:40 UTC
I didn't see the target is 2.0. I patched it for 1.1.2 fix2, don't know if it
works on 2.0.
Comment 5 andreas.martens 2004-06-17 15:33:08 UTC
We will have a look at your patch but currently we're running out of time.
Comment 6 Oliver Specht 2004-10-14 09:53:41 UTC
os->iha: The patch seems to do the trick.
Comment 7 IngridvdM 2004-10-14 14:17:30 UTC
I will have a look.
Comment 8 IngridvdM 2004-10-18 16:51:30 UTC
The current code did contain the patch already (so thanks to beppec56 :-)), but
there was an additional problem left. I fixed it in
sw/source/ui/config/optpage.cxx rev 1.42.78.1.
Comment 9 IngridvdM 2004-10-20 12:40:41 UTC
.
Comment 10 IngridvdM 2004-10-20 12:41:35 UTC
Fixed in CWS iha03.
Comment 11 IngridvdM 2004-10-20 12:42:02 UTC
.
Comment 12 eric.savary 2004-10-21 14:29:10 UTC
verified in cws iha03
Comment 13 eric.savary 2004-11-14 16:20:49 UTC
ok insrc680m61