Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
101 user(s) are online (73 user(s) are browsing Forums)

Members: 0
Guests: 101

more...

Headlines

Forum Index


Board index » All Posts (trixie)




Re: Getfile.gadget update
Amigans Defender
Amigans Defender


@Rigo

Still, we do need a few I'm sure some tags are not needed because these values are either passed to ASL from the gadget (ASLFR_Window, ASLFR_Screen) or can be taken from system defaults (ASLFR_Locale) or ASL prefs. Certain values are hardcoded in getfile, like ASLFR_SleepWindow being always set to TRUE, which I personally prefer but some other programmers may not.

So I'm for adding a meaningful set of tags that put getfile in line with ASL function-wise.

While I have your attention here, I have a small suggestion to make. In checkbox.gadget, the CHECKBOX_TextPlace tags accepts a value of PLACETEXT_LEFT or PLACETEXT_RIGHT. These values come from gadtools, and I often have to #include <libraries/gadtools.h> just to be able to use the two values. Consider that new programmers will see little relation between gadtools and ReAction, and so will spend some time trying to figure out why these two values generate compile errors - especially as the checkbox autodoc makes no mention of it. I suggest putting PLACETEXT_LEFT and PLACETEXT_RIGHT to the checkbox include file.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Getfile.gadget update
Amigans Defender
Amigans Defender


In light of the recent ASL requester discussion, I'd also like to draw the OS developers' attention to the fact that the getfile.gadget tags are not on par with the ASLFR_ tags. So in practice, although getfile.gadget wraps around the ASL filerequester, it provides less functionality.

For example, the ASLFR_InitialShowVolumes tag lets me open a filerequester with the list of volumes displayed automatically. But when using the getfile.gadget, there's no corresponding GETFILE_InitialShowVolumes tag and I cannot provide similar behaviour in my filerequesters.

I guess it shouldn't be too much work to add new tags to getfile.gadget so that the functionality of filerequesters is identical, regardless of whether you use ASL or ReAction.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: Initial port of new Paint app. NEW VERSION #11
Amigans Defender
Amigans Defender


@kas1e

There'd be a major drop in CPU usage if LodePaint was converted to a regular, no-busy-wait Exec event loop. You can see it when opening a file. Normally, LodePaint eats about 91% of my CPU in idle state. When the ASL requester opens, Exec takes over and CPU usage suddenly drops to 8%. After you close the requester, the program returns to whatever it does when idle, and we are back at 91%.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: Initial port of new Paint app. NEW VERSION #11
Amigans Defender
Amigans Defender


@kas1e

Quote:

@Trixie
Any progress with selector ?:)

Done! What's your e-mail address so that I can send you the code?


Edited by trixie on 2010/7/9 13:50:24
The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: Initial port of new Paint app. NEW VERSION #11
Amigans Defender
Amigans Defender


@kas1e

Quote:

Author add yesterday save-jpg support to jpeg plugin. For now it have no slider for change quality, and default are 80%. Will upload new plugin with new version in next few days.

OK, I'll keep this in mind when designing the fileformat selector for you. Do any of the other supported save formats have any settings?

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: ASL File Requester enhancements
Amigans Defender
Amigans Defender


I've said all I had in mind. Those who have ears to hear shall hear

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: ASL File Requester enhancements
Amigans Defender
Amigans Defender


@saimo

Quote:

* yes, keep ASL lightweight an stay away from useless eye-candy;

Absolutely! Usability does not mean eye candy, and vice versa.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: Interest in a new picture/album browser?
Amigans Defender
Amigans Defender


@ChrisH

Nice job you're doing there, man!

Quote:
I'm now thinking of scrapping tooltype completely...

You can try application.library's PrefsObjects for handling configuration, it's very handy and easy to program. PM me should you need help with implementing this.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: ASL File Requesters suck
Amigans Defender
Amigans Defender


@chris, kolla, TSK

I know all that, I've been an Amigan for 20 years. I don't have a problem remembering hotkeys or finding things in the ASL menu. I know how it all works.

However, as my little test (mentioned earlier) shows, people not familiar with AmigaOS are puzzled by the requesters because they find certain things illogical and/or unintuitive. And ASL is just one example: remember Thom Holwerda's AmigaOS4.1 article on OSnews? Why did this highly experienced computer user think that OS4 didn't want to "let him in"?

You cannot just tell these people, "Learn the OS!"

First, UIs should work in the same way regardless of platform, so as the user feels comfortable with them. A Windows/Mac/Linux user should not fail to save a file using an Amiga filerequester - if they do, something is wrong, and it's not the user. Quirkiness and idiosyncrasies in the UI only contribute to the learning curve - it takes enough time to learn the program functions so spare the user from having to learn the interface as well.

Second, the Internet has changed usability standards tremendously. There has been a steep decline from the traditional "first learn, then use" paradigm, and modern OSes are trying to reflect that. If we are to design an OS aiming at attracting new users, we should take that into account. (Of course if we want to keep the OS to ourselves, we can live happily with what we have.)

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: ASL File Requester enhancements
Amigans Defender
Amigans Defender


@ChrisH

Quote:

And when he says "blazingly fast no-nonsense requesters", I think one feature he'd HATE to see is thumbnails (and perhaps icons) since those will almost certainly slow it down

I do agree with the "blazingly fast" part. We surely don't need thumbnails in ASL, and neither we want to turn it into a file manager of some sort, like Windows has it. If there's something I hate about the Windows filerequester, it's the ability to move files around (instead of just selecting them, as a filerequester should do).

I, however, cannot agree with the "no-nonsense" bit because there ARE nonsensical things in ASL. I'm sorry that I'll repeat myself here but it seems worth doing so.

1. Requesters are meant to either display information (info requesters), or require user input (query requesters, filerequesters and the like). When a requester opens, you acknowledge information by pressing a button, you select a choice, you pick up a file/font etc., depending on the type of requester. All you are to do is there, all is clear, no hidden functionality. This is called single level of control and that's how requesters should be designed. ASL breaks this by having functions hidden in the menu.

2. Another reason is that requesters are not program windows so they are not supposed to have menu strips attached to them.

3. Even if we decide to ignore UI design conventions and keep requesters with menus, why is Create Directory in the second (hidden) level of control? It's such a commonly needed function that it should be visible and available right away.

4. The grouping of the buttons at the bottom of the requester makes no sense. You only group gadgets logically, according to function or a particular area of operation. Now what we have here? OK and Cancel (buttons that control the requester) right next to Volumes and Parent (navigation buttons). Surely they should form two separate gadget groups and not one.

As you can see, my grudge is with ASL, and not with kolla.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: ASL File Requester enhancements
Amigans Defender
Amigans Defender


@Amigo1

Quote:

com'on, don't take it personally, I'm sure kolla's comment was not aimed at you!

I'm sure it wasn't, that's why I don't take it personaly - did it sound like that?

Despite certain good features that surely deserve praise, the ASL requester still remains one of the most ill-designed pieces of GUI of AmigaOS. Kolla is implying that our call for improvement will necessarily make the requesters slow and clumsy to use. My question is: what makes you think that? No one is trying to bring in the Windows requester horror! We just want the system to be on par with today's usability standards, not 1990's.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: ASL File Requester enhancements
Amigans Defender
Amigans Defender


@kolla

Yes, we are all participating in this discussion because we want to turn OS4 into an unusable piece of garbage.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: Sam440ep with serious stability issues
Amigans Defender
Amigans Defender


@Mrodfr

Quote:

Mrodfr wrote:
@salass00

I have seen a ranger version that mean maybe your SAM came back to you repaired ????

Ranger is developed by Steven (ssolie), not by Fredrik (salass00). But I myself keep confusing the two all the time

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: Picture Datatype DitherHiColour variable.
Amigans Defender
Amigans Defender


@MoonSire

Quote:

I might be completely wrong here, but isn't AmigaOS4 based on AmigaOS3.1 and not 3.9?

You are not completely wrong

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: Alternative to GadTools for menus?
Amigans Defender
Amigans Defender


@Chris

Quote:

Chris wrote:
A menu.class which allows defining menus, returns a struct NewMenu and can handle dynamic changes automatically is sorely needed.

Rather, it should return a BOOPSI object that would be then attached to the window object.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: ASL File Requester enhancements
Amigans Defender
Amigans Defender


@djrikki

Quote:

A dummy's guide to creating windows, adding gadgets, adding functions to gadgets would be most welcome.

A new Amiga programmers' guide is being organised as we speak. I volunteered to write the UI section, and am planning out what to cover in the two chapters that will deal with user interface programming.

Actually, there are two aspects to it, and there will be not enough room in the book to cover both properly. The first aspect is, how to program it (this is what the book aims to cover mainly). Second, how to design it so that you end up with a logical, functional UI. The latter is partly covered by the Amiga User Interface Style Guide but this document is largely obsolete and needs rewriting.

I've been thinking of drawing up at least an unofficial set of guidelines for OS4 UI design. One that perhaps would not go into so much detail as the Style Guide but it would give programmers some hints at what to aim for in their UIs. If such an initiative were endorsed by the OS Dev Team, the better.

It's been discussed numerous times that OS4 needs more documentation. The AutoDocs and Includes are about all the programmer gets. So it may come as a surprise that as regards OS4 development, there's the Dev Team, the Betatester Team, the Translator Team, but apparently, there is no dedicated Documentation Team to bring some boost and structure to the information we get.

And NO, lack of resources is not to blame here. Betatesters and translators are surely unpaid volunteers; you could find similar entusiasts to help out with the docs as well. It all depends on the Dev Team to actually WANT to make a call for such an initiative.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: ASL File Requester enhancements
Amigans Defender
Amigans Defender


@TSK

Quote:

Why it's a problem opening screens with Intuition ?

It's not a problem per se. But the keyword here is "consistency". We seasoned Amiga programmers are used to the current ways but newcomers (and we do want new programmers, don't we?) will ask questions such as: "Why do I open a screen using OpenScreen() and a window by creating an object?". And so on. All I'm saying is that the developments in Amiga UI programming have led over the years to a system that is inconsistent and difficult to understand if you look at it from outside.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: Alternative to GadTools for menus?
Amigans Defender
Amigans Defender


@xeron

But you must be careful about one thing. WINDOW_NewMenu takes a global array of struct NewMenu that is referenced every time the window is open or reopen. So if some of your menu items change state (ticked, ghosted...) during program use, and you iconify+deiconify its window, your menu strip will NOT remember its state before iconification and will, instead, reset to the initial settings passed in the NewMenu array.

WINDOW_NewMenu was a good idea and allows attaching menus in an easy way but I'm not sure that the above has been taken into account. In my opinion, the implementation of this tag was a little thoughtless.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: ASL File Requester enhancements
Amigans Defender
Amigans Defender


@TSK

Quote:

1. You don't have to open a screen yourself (if it's created in Screen.prefs AFAIK).

Yes, IF

Quote:

Menus are arrays so basicly you don't program them.

Menus are only DEFINED as arrays. But you also often need to change menu item state depending on program status, and this is where you have to IIntuition->ClearMenuStrip(), change flags in struct MenuItem, and then reattach the strip by calling IIntuition->SetMenuStrip().

Quote:

3. No you don't use asl.library. You can use BOOPSI/ex-Reaction classes for those (GetFile, GetFont...). Go back to 2.

You can only use ReAction's getfont.gadget, getfile.gadget etc. when your program calls requesters upon selecting these gadgets. But if you only call, say, Open or Save from the menu, you use asl.library because your GUI has no getXYZ.gadget to use.

Quote:

So you're using BOOPSI classes for everything.

This is simply not true, see above.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top


Re: Interest in a new picture/album browser?
Amigans Defender
Amigans Defender


@mbrantley

Quote:

One question: Is Amiga-O for zooming in a conflict with the "open" shortcut?


The Amiga Style Guide (chapter "Application Keyboard Shortcuts") does recommend reserving RAmiga-O for Open.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top



TopTop
« 1 ... 61 62 63 (64) 65 66 67 ... 75 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project