New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XaAES-current vs. XaAES-ozk #241
Comments
On 11.02.2022 14:56, Miro Kropáček wrote:
* IBOX is drawn with frame if specified
The other way around - in "OZK" XaAES ibox is drawn with a frame if
ob_spec defines one, while current XaAES does not.
Jo Even
|
Moved to xaaes-current bugs, thanks. |
Actually toolbars seem to work, but the borders are not drawn. Perhaps partially working. ;) |
On 11.02.2022 15:26, Lon Pursell wrote:
Actually toolbars seem to work, but the borders are not drawn. Perhaps
partially working. ;)
XaAES toolbars are more feature-rich than standard toolbars, basically
you can put an entire dialog in the toolbar and XaAES will in theory
handle this for you. So free windowed dialogs. There is an example
somewhere in the source-tree, but if you test this it only partially works.
This should either be fixed (but will the feature be used?) or removed
(simplifies code).
Jo Even
|
XaAES-ozk does have a bug that is not present in XaAES-current, regarding menu_attach() in mode 2 (me_remove). In this mode, XaAES is supposed to remove an attached submenu, and according to TOS.HYP and Compendium, the last parameter (mdata, address to MENU structure) should then always be a NULL pointer. See here: https://freemint.github.io/tos.hyp/en/menu.html#menu_attach However, XaAES-ozk will not remove the submenu unless the last parameter is set to <>0 which is clearly wrong. It would appear likely that it should be possible to fix this by just looking for mdata=NULL instead of mdata<>NULL. |
Quirky movement in vertical sliders of list boxes (downwards only!) In XaAES-Ozk, realtime moving the vertical slider in list boxes (used in eg. file selector, system window/environment listing, task manager) will result in a nervously "jumping" movement of the content when moving slowly downwards. (This bug does not seem to be present in XaAES-current) |
Problems transfering the pointer to the text buffer in wind_get(handle, WF_NAME) It seems there are problems in XaAES-Ozk with wind_get(handle, WF_NAME,..) were the buffer passed in INTIN2/INTIN3 is not handled correctly on the XaAES side, resulting in BUS ERRORs. The problem can sometimes (but not always) be cured by a reboot, but it is always consistent within sessions. Looking in the commit history it seems there has been a bugfix commited (83ef18e) in 2018 by @th-otto that did address errors in handling of the text buffer pointer within wind_get(handle, WF_NAME,..). Since the problem has not been possible to reproduce in XaAES-current, this might be a good candidate for "cherry picking". |
On Thursday, 24 February 2022 12:11:44 CET Joakim wrote:
It seems there are problems in XaAES-Ozk with wind_get(handle, WF_NAME,..)
were the buffer passed in INTIN2/INTIN3 is not handled correctly on the
XaAES side, resulting in BUS ERRORs. The problem can sometimes (but not
always) be cured by a reboot, but it is always consistent within sessions.
How is it possible that a reboot does not cure the problem? I don't
understand.
Cheers,
JFL
--
Jean-François Lemaire
|
Given the nature of the problem, it seems likely that XaAES-Ozk is doing something funky when merging the 2 WORDs (upper and lower word of the pointer to the text buffer) - into a LONG. Why it works in some sessions and not others, I have no clue. |
Fixed & uploaded. @GokMasE basically did all the hard work. ;-) |
I can confirm that the issue with wind_get(handle, WF_NAME) is gone for me after installing todays xaaes.km Thanks for putting the effort in @mikrosk :) |
This a nice feature include too in MyAES, I use it a lot for small tool, last one is name yoprez a resolution changer for modern AES (need support CH_REZCHANGE with resolution passed) without any need of any lib, very easy to use. |
Support for function G_SWBUTTON() was added to XaAES-current branch as of 540995b - this needs backporting to XaAES-Ozk. |
Easier said than done. This whole block had been added: freemint/xaaes/src.km/draw_obj.c Lines 949 to 1005 in 63da70b
case (originally it came via 5e704435, just at the moment helmut-enhancements was created).
Trouble is that |
#212 has been backported, zip archive updated. |
Bug #278 has been fixed in XaAES-current, would a backport to XaAES-Ozk be doable? |
Bug #300 is partly affecting xaaes-ozk as well - mouse clicks are sent to the "invisible toolbar", but the toolbar buttons will not be redrawn as they are clicked. A fix should ideally be applied to xaaes-ozk of course, but perhaps it would be best to wait until @xdelatour has looked into a working solution for xaaes-cur - perhaps it could then simply be backported to xaaes-ozk. |
Just to write down observations made mostly by @skaftetryne and @GokMasE. In the future we can link concrete github issues to them.
Features missing in Ozk's (2010) XaAES build and present in current XaAES builds:
clwtna
in xaaes.cnf)menu_attach working properly(fixed by b64d0b5)Problems transferring the pointer to the text buffer in wind_get(handle, WF_NAME) (see XaAES-current vs. XaAES-ozk #241 (comment))(fixed by 79dba5c)Identified bugs not present in Ozk's XaAES:
APPL_GETINFO_STR() bug (APPL_GETINFO_STR() returns incomplete data (text) #238)(fixed by 8a4d061)ever increasing window handle ids (XaAES doesn't reuse window handle IDs #239)(fixed by 53f15d5)Popup menu will appear in wrong position y-wise if mn_item is >1 (Popup menu will appear in wrong position y-wise if mn_item is >1 #259)(fixed by 7d850b7)Possible way of development for Ozk's XaAES (easily applicable also for the current XaAES):
Possible high-level goals:
LATEST BUILD COMPATIBLE WITH 1.19 KERNEL: xaaes-ozk-20220626-repacked.zip (rename
xaaes*.km
toxaaes.km
for your CPU,xaloader
doesn't do this automatically)The text was updated successfully, but these errors were encountered: