https://bugs.winehq.org/show_bug.cgi?id=54143
Bug ID: 54143 Summary: Chessbase 11 arrows draw too large Product: Wine Version: 8.0-rc1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus Assignee: wine-bugs@winehq.org Reporter: dav75uk@yahoo.co.uk Distribution: ---
Created attachment 73675 --> https://bugs.winehq.org/attachment.cgi?id=73675 Picture of arrow on wine8.0-rc1
When arrows are drawn using Chessbase 11, they are too big. See attached screenshot and log.
Compare with:
https://www.youtube.com/watch?v=xvJd97ZnHAk
At 4:58 an arrow is showing from g8 to f6 pointing to a knight that has just moved. I've also set up this arrow on chessbase 11 with wine 8.0-rc1. Note later chessbase draws arrows slightly different, so software like CBReader14 doesn't appear to be affecting by this issue.
On wine 8.0-rc1 in CB 11 the stem of the arrow looks approx in the right place. It crosses f7/g7 (the squares occupied by pawns) at the right point. The tip of the arrow is in the right place on the knight between the white on the mane and the chin. On wine 7.22 the endcap square (some default catch in a switch statement maybe) is being drawn which is not on native chessbase (thus the arrow isn't meant to hide it). Finally the back of the arrow head is in the wrong place (some scaling maybe?) which is making it too large. On wine 7.22 the back of the arrow is drawn from the right shoulder of the pawn on f7 (the one nearest the king) to near (left of) the base of the one on g7. In the video the arrow appears from under the base of the f7 pawn (almost but not quite lined up horizontally the bishop on f8's cross right hand edge) to just inside the corner of the square the knight is on.
https://bugs.winehq.org/show_bug.cgi?id=54143
--- Comment #1 from David dav75uk@yahoo.co.uk --- Created attachment 73677 --> https://bugs.winehq.org/attachment.cgi?id=73677 WINEDEBUG=+gdiplus of drawing the arrow
https://bugs.winehq.org/show_bug.cgi?id=54143
--- Comment #2 from David dav75uk@yahoo.co.uk --- See also (relates too) discussion in: https://bugs.winehq.org/show_bug.cgi?id=45273
https://bugs.winehq.org/show_bug.cgi?id=54143
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- Is that reproducible with a free version?
https://bugs.winehq.org/show_bug.cgi?id=54143
Bartosz gang65@poczta.onet.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gang65@poczta.onet.pl
--- Comment #4 from Bartosz gang65@poczta.onet.pl --- Could you please check if winetricks gdiplus is resolving the issue?
Please attach screenshot from native gdiplus.dll.
https://bugs.winehq.org/show_bug.cgi?id=54143
--- Comment #5 from David dav75uk@yahoo.co.uk --- I'll try it out when I get some time. Unfortunately I need to make a 32 bit wine prefix and install under that for winetricks to work.
https://bugs.winehq.org/show_bug.cgi?id=54143
--- Comment #6 from David dav75uk@yahoo.co.uk --- And no it doesn't seem to be an issue with CBReader (or at least the arrows look around the same size, where as they are drawn about 2x size in CB 11)
https://bugs.winehq.org/show_bug.cgi?id=54143
--- Comment #7 from Bartosz gang65@poczta.onet.pl --- Is issue is visible with CB11 and winetricks gdiplus?
https://bugs.winehq.org/show_bug.cgi?id=54143
--- Comment #8 from David dav75uk@yahoo.co.uk --- There is one further bug which may or may not be related.
If I draw yellow arrows from the 2nd rank (h2, g2, f2 etc) to the 8ths (h8, g8, f8 etc) the top position of the arrow heads are not consistent. Some times the tip of the arrow is in the centre of the square, other times it's about a quarter of the way in. The arrows heads are the same size irrespective of position. This is only seen on ChessBase11, not CBReader.
I'm yet to verify if it's a native bug or not yet (for its price, ChessBase is full of minor bugs), it could quite possibly be, but since it's related to the arrow drawing (and might be noticed when tackling this bug), I thought I'd note it here.
https://bugs.winehq.org/show_bug.cgi?id=54143
--- Comment #9 from David dav75uk@yahoo.co.uk --- Further more, it's affects the whole arrow, since the bottom of the stem is also either centralised on the 2nd rank or about 3/4 of the way up. This seems likely to be a native issue, I'll try to verify over the next couple of days.
https://bugs.winehq.org/show_bug.cgi?id=54143
--- Comment #10 from Bartosz gang65@poczta.onet.pl --- Please attach screenshots with issue comparison between native and build-in gdiplus. It will be much easier to investigate.
https://bugs.winehq.org/show_bug.cgi?id=54143
--- Comment #11 from David dav75uk@yahoo.co.uk --- The positioning issue I think is actually a feature rather than a bug (verified same on Windows). The position of the arrow tip and stem tail is different depending on whether the square is occupied or not. That explains the different lengths. So no need to raise a bug for that.
Therefore, it should also be kept in mind when tackling the arrow size issue (this bug) that the arrow position will vary depending on whether the square is occupied or not, so should ensure the to and from's square occupancy is the same between runs when making adjustments.
https://bugs.winehq.org/show_bug.cgi?id=54143
--- Comment #12 from David dav75uk@yahoo.co.uk --- Yes it's still a problem with winetricks gdiplus on CBase11
https://bugs.winehq.org/show_bug.cgi?id=54143
--- Comment #13 from David dav75uk@yahoo.co.uk --- I had an idea about this one that seems to be the case.
I run chessbase on wine in 4K mode. If I reduce the display to 2K the arrows are better proportioned. If I resize the board (probably also the same in CBReader) but you can drag the board <-> notation window separator to resize the board, then the arrows scale differently to the rest of the board.
This leaves one of two possibilities:
A bug in the wine version of the draw routine A bug in chessbase (or at least something that wasn't really considered a problem at the time).
My money is on the second one, but I'll try this out on native windows to see if the arrows don't keep proportioned when I scroll the board on a 2K display. Perhaps I can plug it into my monitor and it will display the monitor in 4K mode so I can get a like for like comparison.
Stay tuned.
https://bugs.winehq.org/show_bug.cgi?id=54143
--- Comment #14 from David dav75uk@yahoo.co.uk --- Yes I think I'm happy with this being a chessbase bug. Unfortunately the windows laptop doesn't support 4K displays so I can't see it on 4K, but I can make a larger than display window and while it's not 4K, I got the arrow head to be much bigger in proportion to the stick (looks even worse in 4K), similarly for a very small board the arrow head is tiny. Looks like poor code on chessbase's side (not a surprise) and explains why it's not seen on CBReader14 (it's been since fixed).
I'm happy for this to be closed.
https://bugs.winehq.org/show_bug.cgi?id=54143
--- Comment #15 from Bartosz gang65@poczta.onet.pl --- This bug could be closed as NOTABUG.
https://bugs.winehq.org/show_bug.cgi?id=54143
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #16 from Esme Povirk madewokherd@gmail.com --- Resolving invalid as this is an application bug.
https://bugs.winehq.org/show_bug.cgi?id=54143
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Esme Povirk madewokherd@gmail.com --- Closing.