drawio
drawio copied to clipboard
Incorrect table cell size when changing units to mm
Preflight Checklist
- [x] I agree to follow the Code of Conduct that this project adheres to.
- [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.
Describe the bug When you change units to mm and start changing table cell size - the result is incorrect
To Reproduce Steps to reproduce the behavior:
- Go to https://app.diagrams.net/, create a diagram
- Add a table
- Select any table cell (see screenshot 1 - the width input has a value of
60pt
) - Switch units to mm (
View - Units - Millimeters
, see screeshot 2 - the width input now has a value of15.2mm
) - Try changing table cell size (width/height) in the
Arrange
tab by clicking buttons next to the input - See table cell sze jumping ( (see screenshot 3 - when decreasing width the value jumps to
3.8mm
)
Expected behavior The table cell size is properly changed
Screenshots
draw.io version (In the Help->About menu of the draw.io editor):
- draw.io version 24.3.1
Desktop (please complete the following information):
- OS: any
- Browser any
- Browser Version any
Smartphone (please complete the following information):
- Device: any
- OS: any
- Browser any
- Version any
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
- yes
Additional context Add any other context about the problem here.
I beliven the issue is the missing fromUnit
call for the value
variable here (and the same should be added in heightUpdate
)
Fix in 24.4.6.