There seems to be a bug in xtherion graphics editor revealed if you manage to enter a non-power-of-two zoom level. If you get into this state then the background image and the lines drawn on top of it go out of registration. Here is an easy way to reproduce the problem. You will need a mouse with a scroll-wheel, and the latest 5.4.1 version of therion.. * Insert a jpeg into a new .th2 file in xtherion. * Draw a line over part of it. * Move it around and observe that the line moves with the background. This is true at all 5 fixed zoom levels. * zoom with the mouse scroll button as far out as possible. It seems to allow 12% for example. Now when you come back out you get 24%, 48%, 96% etc. * Now if you move the image around, the image and lines stay together until you have moved a bit, but then start to move seprately. This seems to be something to do with bounding boxes. * Click on 25/50/100/200/400 scaling the line+ images go back into registration. I can't reproduce this problem right now because my therion is too old, so the mouse wheel doesn't produce scrolling in the xtherion window, but we had the same problem on both Windows and Linux machines at the weekend with 5.4.1. If others can confirm that the above is a sufficient set of instructions, then hopefully someone with clue can work out why it goes wrong for 'intermediate' zoom levels. It took us quite a while to work out what on earth was going on at the weekend! Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/
This bug has been around ever since mouse wheel zooming was introduced. An attempt was made to fix it I recall, but it did not have the desired effect. It manifests for bitmap background images, but not for xvi 'images'. A work around is to never roll the mouse wheel when working with th2 with bitmaps inserted. Very hard to do!. Bruce -----Original Message----- From: Therion <therion-bounces@speleo.sk> On Behalf Of Wookey via Therion Sent: Monday, 12 November 2018 16:32 To: Therion List <therion@speleo.sk> Cc: Wookey <wookey@wookware.org> Subject: [Therion] Background zoom-level bug There seems to be a bug in xtherion graphics editor revealed if you manage to enter a non-power-of-two zoom level. If you get into this state then the background image and the lines drawn on top of it go out of registration. Here is an easy way to reproduce the problem. You will need a mouse with a scroll-wheel, and the latest 5.4.1 version of therion.. * Insert a jpeg into a new .th2 file in xtherion. * Draw a line over part of it. * Move it around and observe that the line moves with the background. This is true at all 5 fixed zoom levels. * zoom with the mouse scroll button as far out as possible. It seems to allow 12% for example. Now when you come back out you get 24%, 48%, 96% etc. * Now if you move the image around, the image and lines stay together until you have moved a bit, but then start to move seprately. This seems to be something to do with bounding boxes. * Click on 25/50/100/200/400 scaling the line+ images go back into registration. I can't reproduce this problem right now because my therion is too old, so the mouse wheel doesn't produce scrolling in the xtherion window, but we had the same problem on both Windows and Linux machines at the weekend with 5.4.1. If others can confirm that the above is a sufficient set of instructions, then hopefully someone with clue can work out why it goes wrong for 'intermediate' zoom levels. It took us quite a while to work out what on earth was going on at the weekend! Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/ _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
On 2018-11-12 21:22 +1300, Bruce Mutton via Therion wrote:
On Monday, 12 November 2018 16:32 Wookey wrote:
There seems to be a bug in xtherion graphics editor revealed if you manage to enter a non-power-of-two zoom level.
If you get into this state then the background image and the lines drawn on top of it go out of registration.
This bug has been around ever since mouse wheel zooming was introduced. An attempt was made to fix it I recall, but it did not have the desired effect. It manifests for bitmap background images, but not for xvi 'images'.
Aha - this would explain why most of us had not noticed it before. People using a pockettopo->topparser->xtherion workflow would never notice this (no jpegs/gifs/pngs). Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/
On Mon, Nov 12, 2018 at 09:22:59PM +1300, Bruce Mutton via Therion wrote:
This bug has been around ever since mouse wheel zooming was introduced. An attempt was made to fix it I recall, but it did not have the desired effect. It manifests for bitmap background images, but not for xvi 'images'. A work around is to never roll the mouse wheel when working with th2 with bitmaps inserted. Very hard to do!.
There have been (at least) two changes that apparently fix bugs with zooming in xtherion using the mouse wheel since the last release: https://github.com/therion/therion/commit/82fc78e8931d36b215ab676754ede0cc54... https://github.com/therion/therion/commit/99d3347abaa96dde6ef3ba702a6040da65... It's been more than 18 months since the last release, and there are a significant number of changes (~150 commits ignoring merge commits) - perhaps it's time to make a new release? It would be useful to have one before the end of the year from a Debian perspective so we can get it into the next stable release. Cheers, Olly
participants (3)
-
Bruce Mutton -
Olly Betts -
Wookey