issue-#32 Folds arrows display
-
- Posts: 1700
- Joined: Tue Sep 17, 2013 12:21 am
- Location: Russia
issue-#32 Folds arrows display
Folds are displaying wrong way both in Wine (in Linux) and Russian language Windows. With English version of Windows folds displaying well.
The fixing changes required the Wine detection code and also I updated the platform constants. Also the part of problem is that windows versions are more than 10 now, so I am suggesting to change constants 100-199 - windows, 200-299 - mac, 300-399 - linux.
Mostly I took the code from the CPC and my Red versions and improve the code a bit.
Please take a look at the solution:
http://redmine.blackboxframework.org/pr ... 63a053d22f (old)
and try the updated version:
http://blackboxframework.org/unstable/i ... a1.080.zip (old)
The fixing changes required the Wine detection code and also I updated the platform constants. Also the part of problem is that windows versions are more than 10 now, so I am suggesting to change constants 100-199 - windows, 200-299 - mac, 300-399 - linux.
Mostly I took the code from the CPC and my Red versions and improve the code a bit.
Please take a look at the solution:
http://redmine.blackboxframework.org/pr ... 63a053d22f (old)
and try the updated version:
http://blackboxframework.org/unstable/i ... a1.080.zip (old)
Re: issue-#32 Folds arrows display
I would like to know the opinion of the other members.Ivan Denisov wrote: The fixing changes required the Wine detection code and also I updated the platform constants.
Also the part of problem is that windows versions are more than 10 now,
so I am suggesting to change constants 100-199 - windows, 200-299 - mac, 300-399 - linux.
Changing the platform constants has noting to do with the folds arrows display problem.
Do you agree with this change of the platform constants?
-
- Posts: 1700
- Joined: Tue Sep 17, 2013 12:21 am
- Location: Russia
Re: issue-#32 Folds arrows display
Helmut, you are absolutely right, that is not good practice to unite bug fixes and features in one branch.
So, I made the step back changes and now there is no constant changes, only Wine detection and folds changes. Please, take a look:
http://redmine.blackboxframework.org/pr ... 63a053d22f
Try this demo:
http://blackboxframework.org/unstable/i ... a1.080.zip
This is how it became to look in Wine: In Windows the arrows became good as them should be without cutting.
So, I made the step back changes and now there is no constant changes, only Wine detection and folds changes. Please, take a look:
http://redmine.blackboxframework.org/pr ... 63a053d22f
Try this demo:
http://blackboxframework.org/unstable/i ... a1.080.zip
This is how it became to look in Wine: In Windows the arrows became good as them should be without cutting.
- akastargazer
- Posts: 6
- Joined: Wed Sep 18, 2013 9:24 pm
- Location: Russia, Yaroslavl
- Contact:
Re: issue-#32 Folds arrows display
Folds arrow display fix is very important. I'd like to see it within a BlackBox pack.
Re: issue-#32 Folds arrows display
The current CPC Edition already has this fix about fold arrows display.akastargazer wrote:Folds arrow display fix is very important. I'd like to see it within a BlackBox pack.
The link arrows have the same problem and is not fixed yet.
- Josef Templ
- Posts: 2047
- Joined: Tue Sep 17, 2013 6:50 am
Re: issue-#32 Folds arrows display
It is true, the CPC edition contains a lot of fixes regarding wine detection and Folds display.
I would propose to separate these changes into two issues:
a) fixing platform detection for wine and new windows versions
b) fixing the display of Folds etc. under wine and certain Windows versions.
Note that 'b' requires 'a' to be fixed in order to
detect the underlying platform correctly.
'a' (in CPC 1.7) also introduces auxiliary functions for detecting any Windows version, see
Dialog.IsWindows(), Dialog.IsWine() etc. This abstracts from the underlying encoding of the
various OS versions such as Win XP, Win Vista, etc. and allows the client modules
to adapt themselves to new Windows versions to be introduced later.
There are several files involved and the changes are not trivial.
- Josef
I would propose to separate these changes into two issues:
a) fixing platform detection for wine and new windows versions
b) fixing the display of Folds etc. under wine and certain Windows versions.
Note that 'b' requires 'a' to be fixed in order to
detect the underlying platform correctly.
'a' (in CPC 1.7) also introduces auxiliary functions for detecting any Windows version, see
Dialog.IsWindows(), Dialog.IsWine() etc. This abstracts from the underlying encoding of the
various OS versions such as Win XP, Win Vista, etc. and allows the client modules
to adapt themselves to new Windows versions to be introduced later.
There are several files involved and the changes are not trivial.
- Josef
-
- Posts: 1700
- Joined: Tue Sep 17, 2013 12:21 am
- Location: Russia
Re: issue-#32 Folds arrows display
Not very much files:Josef Templ wrote: There are several files involved and the changes are not trivial.
Dev/Mod/Debug.odc
Dev/Mod/RBrowser.odc
Host/Mod/Dialog.odc
Std/Mod/Folds.odc
Std/Mod/Links.odc
System/Mod/Dialog.odc
I executed this changes during the first attempt and can repeat if we decide about constants.
http://redmine.blackboxframework.org/pr ... 63a053d22f
Further discussion better to continue in new thread.
- Josef Templ
- Posts: 2047
- Joined: Tue Sep 17, 2013 6:50 am
Re: issue-#32 Folds arrows display
please see http://forum.blackboxframework.org/view ... f=41&t=198 (issue-#33)
for the changes required for platform detection of Wine and the new Windows versions.
- Josef
for the changes required for platform detection of Wine and the new Windows versions.
- Josef
-
- Posts: 1700
- Joined: Tue Sep 17, 2013 12:21 am
- Location: Russia
Re: issue-#32 Folds arrows display
There is new idea! To remove fonts dependency at all.
I made some prototype. The only single file was changed — StdFolds. The face of this controls should be improved, however the idea is clear.
http://redmine.blackboxframework.org/pr ... 63a053d22f
Demo version:
http://blackboxframework.org/unstable/i ... a1.085.zip
I made some prototype. The only single file was changed — StdFolds. The face of this controls should be improved, however the idea is clear.
http://redmine.blackboxframework.org/pr ... 63a053d22f
Demo version:
http://blackboxframework.org/unstable/i ... a1.085.zip
- akastargazer
- Posts: 6
- Joined: Wed Sep 18, 2013 9:24 pm
- Location: Russia, Yaroslavl
- Contact:
Re: issue-#32 Folds arrows display
Nice solution, I give my vote for it. Less dependencies, the betterIvan Denisov wrote:There is new idea! To remove fonts dependency at all.