Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
71 user(s) are online (56 user(s) are browsing Forums)

Members: 1
Guests: 70

JosDuchIt, more...
Support us!
Recent OS4 Files
OS4Depot.net





Is there a way to avoid blocking of everything else, when hold the LMB over icon on WB ?
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 4668
Situations is : let's say we run something in a window on the workbench. It doesn't matter what exactly : be it sdl apps, or pure amigaos-native-api with pure usage of graphics.library functions only, the matter that we run something which not only static, but have some movements.

Now, when we by left mouse button grab any icon on workbench screen, and hold the mouse button, everything else on screen freezes. Music didn't blocked through, but everything else is freezes, until i didn't realize mouse button.

Question is: is it priorities issues, or it design flaw ? I mean, what the problem to move icon over the screen without blocking everything ? Or it is possible, and there is some option in the WB setttings ?

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: Is there a way to avoid blocking of everything else, when hold the LMB over icon on WB ?
Just can't stay away
Joined:
2007/1/26 21:48
From New Zealand
Posts: 1976
@kas1e

Never noticed that before, but I just tested it, and you're right. No idea how to disable that behaviour or even why it does that, sorry.

Hans

_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
   Report Go to top

Re: Is there a way to avoid blocking of everything else, when hold the LMB over icon on WB ?
Just popping in
Joined:
2012/12/21 10:55
Posts: 30
It happens because of the way icon dragging (moving the icons sprite like (actually bobs) over the screen) is done by Workbench. It locks all the layers on the screen so that it can draw directly into screen bitmap and the locks prevent other apps from rendering at the same time to prevent gfx trashes.

Theoretically icon dragging could be handled differently by Workbench by doing it like in other OSes where they put the icons in a irregular shaped window (or alpha shaped window with compositing enabled) and move that around. This needs a lot more cpu/gfx power so on things like Classic Amigas would be unusable slow.

Or Workbench could optionally simply not do the LockLayers()/UnlockLayers() calls and user would have to live with small gfx trashes every once and then. There are tricks to repair some of the gfx trashes after dragging is done. Partly automatically, partly by user.


   Report Go to top

Re: Is there a way to avoid blocking of everything else, when hold the LMB over icon on WB ?
Just popping in
Joined:
2006/11/24 14:19
From Georgia, USA. Just north of the Florida border
Posts: 209
Any program that renders to the screen will be blocked. Anything from fancy graphics to a simple printf() into a console window.
My MIDI player runs as two separate tasks. the actual player has no GUI, no window, no interface with Intuition at all. The "visual" part still locks on mouse buttons, but updates correctly as soon as it can.
I use MIDI messaging between the two to keep them in synch. It seemed the easiest way to go.

   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project