Opened 7 years ago

Last modified 3 years ago

#9618 assigned enhancement

Display DataTranslators in a tree view

Reported by: waddlesplash Owned by: nobody
Priority: normal Milestone: R1
Component: Preferences/DataTranslations Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #8304
Has a Patch: no Platform: All

Description

Right now it makes no sense to have "StyledEdit files" right next to "TGA images". They should be grouped in a tree view based on category (e.g. "images", "text documents" or something like that).

Change History (10)

comment:1 by phoudoin, 7 years ago

Issue is that a translator don't necessary support only one category, like an image to text (OCR) or a text to image (QR code generator), or PDF to image, etc. They also don't necessary support both-way translation.

Translators are code that knows how to translate into and/or from one or several format. Theorically, we could merge all of them into one huge translator add-on ;-). Instead, we tried to split them per one single *native* format, which the translator is named after.

What can be done, eventually, is to group (and alphabetically sort) all translators that only support input and output the same MIME superclass, but in such case a translator able to convert an image into text *and* to render somehow an image from a text should appear where, under image translators or text ones !?

comment:2 by waddlesplash, 7 years ago

Hmm, I see. Just group the ones that output same mimetype as input, then (image - say JPEG, PNG, etc. - all go in one category)

comment:3 by dsjonny, 7 years ago

+1

comment:4 by Premislaus, 7 years ago

I think I had a better idea ;-) - #8304

comment:5 by waddlesplash, 7 years ago

in reply to:  5 comment:6 by Premislaus, 7 years ago

Replying to waddlesplash:

But you'd get to the point where there would be 10 tabs! Reminds me of http://interfacehallofshame.eu/www.iarchitect.com/images/mewtab.gif or even http://interfacehallofshame.eu/www.iarchitect.com/images/psych.gif !!

Bad UI design. Just unite a few tabs.

https://dev.haiku-os.org/attachment/ticket/8304/DataTranslations_mockup_%3B-%29.PNG

Documents: TXT, RTF, DOC, PDF, EPUB, etc. Images: PNG, GIF, JPG, etc. Audio: MP3, WAV, OGG, FLAC, etc. Video: AVI, MKV, Xvid, x264, FFmpeg configuration options. Custom (defined by user): defined by user

Last edited 7 years ago by Premislaus (previous) (diff)

comment:7 by waddlesplash, 7 years ago

But you'd have nested tabs (e.g. the JPEG data translator). Why would you want that? One tree is much simpler than 5 tabs.

in reply to:  7 comment:8 by Premislaus, 7 years ago

Replying to waddlesplash:

But you'd have nested tabs (e.g. the JPEG data translator). Why would you want that? One tree is much simpler than 5 tabs.

Because tabs are easier to read for me?

http://en.wikipedia.org/wiki/Nested_set_model and http://upload.wikimedia.org/wikipedia/commons/b/b5/Clothing-hierarchy-traversal-2.svg vs nested tabs http://docs.oracle.com/cd/E13222_01/wls/docs81/console_ext/wwimages/nested_tabs.gif

comment:9 by pulkomandy, 5 years ago

Blocking: 8304 added

(In #8304) Right. Whatever we decide on this, only one of the two solutions is needed, therefore a single ticket is enough?

comment:10 by axeld, 3 years ago

Owner: changed from axeld to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.