#3677 closed defect (fixed)
Paint should center images smaller than the canvas
Reported by: | manuq | Owned by: | humitos |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | |
Component: | Paint | Version: | Unspecified |
Severity: | Unspecified | Keywords: | 12.1.0, patch |
Cc: | humitos | Distribution/OS: | Unspecified |
Bug Status: | Unconfirmed |
Description
This regression was introduced in f935dcb0f2fed1fe69acd35f46e6cffa3758cfac to fix #3457 . A proper fix should center images smaller than the canvas.
To easily create a small image:
- start paint, paint something
- do a rectangle selection, go to edit toolbar, copy
- click on the clipboard that appears at the lower left corner, start with paint
Attachments (4)
Change History (10)
comment:1 Changed 11 years ago by manuq
- Owner set to humitos
- Status changed from new to assigned
Changed 11 years ago by manuq
comment:2 Changed 11 years ago by manuq
- Component changed from untriaged to Paint
- Keywords 12.1.0 added
- Milestone changed from Unspecified by Release Team to 0.96
Changed 11 years ago by humitos
comment:3 Changed 11 years ago by humitos
- Cc humitos added
- Keywords patch added
Patch sent and attached here. Test and review is needed.
comment:4 Changed 11 years ago by manuq
Tested the patch. Smaller pics are centered again. But when a large picture is rotated, it is left aligned, not centered.
TestCase:
- start Paint from scratch
- draw something
- open the last subtoolbar (the tool button has a portrait)
- rotate
comment:5 Changed 11 years ago by manuq
- Resolution set to fixed
- Status changed from assigned to closed
Pushed v2, thanks!
Note: See
TracTickets for help on using
tickets.
Shows the bug