25 April 2023, 23:51 | #1541 | |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
Quote:
Just start it, and run manually MagicMenu from your disk and voila... jumping cursor :P |
|
26 April 2023, 00:33 | #1542 | |
Registered User
Join Date: Jun 2020
Location: Germany
Posts: 370
|
Quote:
Edit: Well, the issue returned... Last edited by EctoOne; 26 April 2023 at 01:33. |
|
26 April 2023, 01:00 | #1543 | |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,214
|
Quote:
|
|
26 April 2023, 01:40 | #1544 |
Registered User
Join Date: Jun 2020
Location: Germany
Posts: 370
|
Does that mean there is no good way to get at least a one click to show the menu? I could live without popup menus but I since I mostly do stuff on my android tablet, I can't hold RMB because it causes uae4arm to open its GUI.
I just tried ClickToMenu and StickyRMB and both work worse than MagicMenu. |
26 April 2023, 05:09 | #1545 |
Registered User
Join Date: Mar 2013
Location: Lahti / Finland
Age: 52
Posts: 447
|
If you're going to improve RMB behavior, please remove block for intuition tasks to access the same screen where menu is drawn on, that the screen can kept updated also while mouse button is pressed.
|
26 April 2023, 06:53 | #1546 |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
Ok I found out that the issue with TextEdit is created if you select the "Sticky Mouse Button" under "Usage" option.
I reverted to "Intuition compatible" and problem doesn't exists! I can live with that until we have it embedded in the OS. Cursor jumping in TextEdit (that I use a lot) is more annoying than having to hold RMB on Pull-Down-Menus. On Pop-Up-Menu I still used the Sticky option :P Last edited by mfilos; 26 April 2023 at 16:46. |
26 April 2023, 08:10 | #1547 | |
Registered User
Join Date: Aug 2010
Location: Germany
Posts: 532
|
Quote:
This is what happened, sort of, for AmigaOS4 which integrated the MagicMenu functionality into Intuition. But then AmigaOS4 systems have a lot more memory to spare than the humble Amiga 600. Such constraints bite for AmigaOS 3. We also still have our hands full reworking the ReAction classes and the tools which build upon them. They need the time which is currently devoted to them much more than MagicMenu does, which basically works and does not cause too much trouble during daily use. That said, things can change. We are still a small group of developers. If there are more minds and hands at work, there might be progress in areas which are currently not a major focus. |
|
26 April 2023, 16:07 | #1548 | |
Registered User
Join Date: Nov 2015
Location: Italy
Posts: 191
|
Quote:
"Such programs" (Workbench, MagicMenu) can detect deadlock (and actually do have code that does that) and abort operation if one is detected, which should resolve the hang. If it does not then problem may be because of how ~mainloop during dangerous state (~while layers are locked) maybe looks like: Code:
DANGER_ON; // locklayers(); while(!done || !abort) { if (deadlock_detected) break; do_stuff(); } DANGER_OFF; // unlocklayers(); In some other "such program" I did things differently. Deadlock detection was done in a separate task which just did that and nothing else. If it detected deadlock if aborted the operation in that same deadlock detection task (so task unlocking the layers is not the same as one who locked them, but that is no problem). And "do_stuff()" ran in inputhandler so in ~cooperation with "Intuition". If "it" ran, then Intuition didn't. And if "Intuition" ran, then "it" didn't. |
|
26 April 2023, 16:11 | #1549 |
Registered User
Join Date: Nov 2015
Location: Italy
Posts: 191
|
This sounds like the text edit gadgetclass may doing something like this in GM_HANDLEINPUT: Code:
If class == rawmouse { if (code = NOBUTTON) { // mousemove; } else { // assume LMB mouse click. } } |
26 April 2023, 16:17 | #1550 | |
Registered User
Join Date: Aug 2010
Location: Germany
Posts: 532
|
Quote:
|
|
26 April 2023, 16:54 | #1551 |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
What I found out is that while putting "Intuition compatible" on Pull-Down Menu fixes the issue while keeping the "Sticky Mouse Button" on Pop-up Menu still doesn't produce any cursor jumping EVEN @ copy-pasting.
No worries case dismissed for now :P |
26 April 2023, 18:34 | #1552 | |
Camilla, AmigaOS Dev.
Join Date: Mar 2020
Location: Frederiksberg
Posts: 327
|
Quote:
Code:
case MENUDOWN: case MENUUP: result = GMR_REUSE; |
|
26 April 2023, 19:01 | #1553 | ||||
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,214
|
Quote:
Thus, there is no need to "detect deadlocking" for the workbench - it cannot deadlock by design. A deadlock with semaphores cannot be "worked around" by another task checking - it is a logical problem because the dependencies of the objects protected by the semaphores is not linear (or not a tree). If you "break" such a circle by (externally) releasing a semaphore, it means that you defeat the purpose of the semaphore. Quote:
Quote:
You can check for "Locksmith" in Aminet as a debugging tool - it can help to find such conditions and print some debugging information if you are in a deadlock. Quote:
Unfortunately, there are many improper examples of programs that seem to give promises on things that just "cannot work" by playing havoc with the intuition system. "screennotify.library" is another prime example of something "broken by design" - this thing cannot work reliably. The right design is to use public screens. |
||||
26 April 2023, 20:39 | #1554 | |
Registered User
Join Date: Nov 2015
Location: Italy
Posts: 191
|
Quote:
Wrong! Code:
#include <intuition/intuitionbase.h> #include <proto/exec.h> #include <proto/intuition.h> #include <proto/dos.h> int main(void) { Delay(5 * 50); MoveWindow(IntuitionBase->ActiveWindow, 5, 5); } Deadlock detection can be something as simple as checking if no intuitick intuimessage has arrived in the last second or so. |
|
26 April 2023, 21:07 | #1555 | ||
Registered User
Join Date: Nov 2015
Location: Italy
Posts: 191
|
Quote:
Quote:
What MagicMenu (in blocking mode) does while holding layerslock will be very similiar to what other programs like WB or other others libs/apps implementing drag&drop like MUI will do. Regarding gfx/intuition functions it calls. |
||
26 April 2023, 21:31 | #1556 |
Registered User
Join Date: Nov 2015
Location: Italy
Posts: 191
|
So when talking about deadlock I do not necessarily only refer to the case where task1 = stuck in ObtainSem(sem1) while task2 = stuck in ObtainSem(sem2), but some situation where: task1 (MagicMenu, wb) is still running, but it and the user is "stuck in a deadlocked situation" because it does not get anymore events (mouse move/press) which would allow it to progress, because task2 (input.device) is stuck waiting on a semaphore which task1 holds, but which task1 would normally give up only after the end of the operation (drag&drop, menu). And the end of the operation would normally (without "deadlock detection") never occure if no events come in. |
29 April 2023, 10:13 | #1557 |
Registered User
Join Date: Apr 2008
Location: France
Age: 41
Posts: 433
|
Hi everyone ! I hope this was not reported before :-)
I use 3.2.1 on my A1230 ATM (because it fails to boot with the 3.2.2 probably due to my custom 3.2.1 ROMs). Did you people notice that when your rename a file while being in "list" mode, the whole files listing flickers for a few seconds ? (more or less probably depending on the machine speed & number of files) Does not occur in icons view mode. cheers |
29 April 2023, 10:29 | #1558 | |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
Quote:
Also since you use a custom ROM you can edit Startup-Sequence and comment the lines from: Version exec.library version 47 >NIL until... EndIf (right before SetPatch). I reproduced it as well. It's barely noticeable (at least on my Vampire) but it's more of an update filename flicker like crackto loading (lol). Nice find :P |
|
29 April 2023, 10:54 | #1559 |
Registered User
Join Date: Apr 2008
Location: France
Age: 41
Posts: 433
|
> I reproduced it as well. It's barely noticeable (at least on my Vampire) but it's more of an > update filename flicker like crackto loading (lol). Nice find :P
Thanks for reproducing it ! It can take 5-10 seconds on my A1230 on some directories Also I noticed another issue (mentioned on another thread) : if you rename some very long files so that the appended .info cannot fit, you get no error message - the file is renamed but the old .info remains leading to a ghost entry. Last edited by torturedutopian; 29 April 2023 at 11:04. |
29 April 2023, 12:36 | #1560 |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
Have you tried raising the filename length in Workbench Prefs?
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hively Tracker by Iris and Up Rough released for AmigaOS 4.0 | spoUP | News | 14 | 12 June 2014 19:00 |
KryoFlux FREE for AmigaOS Classic released | mr.vince | News | 32 | 23 March 2014 19:59 |
AmigaOS 3.9 | PoLoMoTo | support.WinUAE | 8 | 27 August 2011 18:06 |
AmigaOS | koncool | request.Apps | 6 | 04 June 2003 17:45 |
Amigaos 4 Released!!!! | th4t1guy | Amiga scene | 13 | 03 April 2003 09:52 |
|
|