Hello, Sometimes, not every time, when I resize a MUI window to the minimum size (very small window where even the close gadget is no more visible) my system freezes.
I remember to have had this problem even with rxMUI.
For now, to avoid this problem I force the closure of the window when size is < 100 pixels.
Is it a way to set a minimum size to a MUI window (without adding a fixwidth object) ?
And is it a problem on my system or a know "bug" ?
In the meantime, though, are you dealing with someone else's application using MUI, or a program that you have written yourself, using MUI? The answer really is that the application has to be written so as to prevent the crash.
Sometimes, not every time, when I resize a MUI window to the minimum size (very small window where even the close gadget is no more visible) my system freezes.
Can you provide a small demo program which can be used to reproduce this issue?
Quote:
For now, to avoid this problem I force the closure of the window when size is < 100 pixels.
Not a very convenient reaction as there is no way to open the window again. In fact it looks as if the program has terminated itself, although it just closed its window.
Quote:
Is it a way to set a minimum size to a MUI window (without adding a fixwidth object) ?
For info, freeze is reproductible with MUI-Mplayer.
Open an video and resize the video window to minimum => freeze.
Is somebody have the same problem ?
As MUI-MPlayer is not Open Source Roman 'kas1e' Kargin is the only who can answer this question. Maybe the window is not under control of MUI but created in the usual way using intuition/OpenWindow(). Furthermore the freeze might be caused by the video display due to a possibly invalid dimension, i.e. zero pixels width/height.
1) Freeze is reproductible with MUI-Mplayer. Open an video and resize the video window to minimum => freeze.
or with
2) FastView on OS4Depot, in this version I don't close the window when < 100 pixels. Start FastView (no need to install it, just go in Data/FastView/) Drag pictures file inside the window and click on picture thumbnail. Resize the new picture window to minimum
Nevertheless, a small example demonstrating this problem would still be handy.
Simon
Comments made in any post are personal opinion, and are in no-way representative of any commercial entity unless specifically stated as such. ---- http://codebench.co.uk
I notice that this type of problem is often reproducible on a system but not on the others .. for example some years ago (at the time of the 4.1 Update 1 on Sam440) even using exactly the same software and the same version of the OS i had this type of freeze on my Sam440 but not on my AmigaOne ..
Might be an issue caused by the relative young port of AmigaOS4 on the AmigaOne X1000 .. might be, but not sure of course ..
Rigo : If MUI-OWB or FastView reproduction described above is not sufficient, personaly, I could only make a sample with a resizable MUI window, Is it OK ?
Samo79 : I'm sure that even on my previous Pegasos2, I had these freezes when I played with the windows of some rxMUI examples. Therefore, at least present on Pegasos and x1000 (or maybe, it's me the problem... ;) )
Samir, does it work for you when you play a video with Mplayer and that you resize the video window to very very minimum size ?