Very nice file manager

73 views
Skip to first unread message

Vir Apsconsa

unread,
Aug 15, 2015, 6:41:44 AM8/15/15
to Sunflower
Hi there,

Just wanted to say Thank You for this lovely file manager.

Do you have an ETA for version 0.3, yet?

By the way, please keep the ".." entries on top of the file lists, as it lets one use the keyboard to navigate in and out of folders. Most other file managers let you dive into a directory via keyboard, but in order to go up one level again, one has to use the mouse and the bread crumb navigation bar. Using ".." instead is so much smoother.

Many thanks again & Have a great weekend,

Vir

Mladen Mijatov

unread,
Aug 15, 2015, 12:23:36 PM8/15/15
to sunflo...@googlegroups.com
Thank you. Glad you find it useful. Version 0.3 is very close to release. I have to fix few more bugs and then we are good to go. As for '..', I plan on leaving them there, as you said they are very useful. Do note that you can also use Backspace to navigate one level up, it's even faster than chasing '..'. :) Alt+Left/Right navigates through history so that can be used as well. :)

Stay tuned and all the best.
-- 
Mladen Mijatov

Key ID: 4096R/83EFD5A0 2013-08-18
Tox ID: B82DADBC7614F887F2ACB7A4F29E848D937452113C9EBBA39DCB3E260096945A934361722B51
--
You received this message because you are subscribed to the Google Groups "Sunflower" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sunflower-fm...@googlegroups.com.
To post to this group, send email to sunflo...@googlegroups.com.
Visit this group at http://groups.google.com/group/sunflower-fm.
For more options, visit https://groups.google.com/d/optout.
signature.asc

Vir Apsconsa

unread,
Aug 29, 2015, 10:21:05 PM8/29/15
to Sunflower
Hi Mladen,

An OT question if I may.

Would you use GTK for the GUI again? Or rather use GTK3 nowadays, or perhaps switch to QT?

What is your take on this?

Many thanks,
Vir

Mladen Mijatov

unread,
Aug 30, 2015, 4:36:49 AM8/30/15
to sunflo...@googlegroups.com
Hi,

Well, it's not so much off topic as it seems. These days I tend to prefer GTK3. Even though they changed quite a bit and it takes getting use to, benefits you get from adapting are worth it. Perhaps I find it easier to customize due to CSS use in GTK3 styles and my experience with web development. In case of Sunflower, all the custom drawing code I did in GTK2 was removed and replaced with a simple CSS class. Code became simpler and therefore easier to maintain. Not only that, all the complications with colors were also resolved easily.

In addition to that, GTK3 in Python is used through GObject Introspection, which allows direct use of C library without any middle layer such as PyGTK. This essentially keeps the feature parity with C library and gives me a lot more flexibility. There are some downsides to this approach. Some constructors don't allow constructing objects by calling class constructor, instead they expect us to call class method to construct a new object. The problem arises when interface crashes and you don't know why since problem occurred in library. So now you have to use gdb to figure out why your software crashed. This is not a big of an issue as it happens rarely. Mainly a problem after switching from PyGTK and getting use to new way of handling things.

As for Qt, I can't really comment. I only know few basic things. It looks like a decent toolkit. My goal originally, with Sunflower, was to provide a twin-panel file manager for Gnome environment as KDE is spoiled for choice there. So GTK was the only way to go. One might argue that Qt has better cross-platform support but it seems that might not be that big of a difference considering that GTK3 has support for different rendering backends. For example here's screen shot of Sunflower running as web application using Broadway GTK3 backend (https://i.imgur.com/b3Tvcs5.png). You can easily see the appeal of managing your files or starting applications from afar. Only difference being that GTK widgets would look out of place on other platforms.

Speaking of widgets, I really like what GTK folks did with new version. Even though sometimes it might feel like they are still searching for the final set of widgets (features being added and deprecated frequently) it's still a flexible toolkit. Popovers are one thing I really like. We use to have clunky menus which could hold any widget but you didn't know how theme would handle drawing and you had to take into account a lot of other weird issues with focus. Popovers are a simple and elegant solution to that. They behave like menus but allow you to have multi-layer structure with different widgets. New application bar is also nice. Allows for some clean designs while giving developers more flexibility.

Sorry for long reply!

tldr: GTK3, and yes I would use it again. :)

All the best!
-- 
Mladen Mijatov

Key ID: 4096R/83EFD5A0 2013-08-18
Tox ID: B82DADBC7614F887F2ACB7A4F29E848D937452113C9EBBA39DCB3E260096945A934361722B51

signature.asc
Reply all
Reply to author
Forward
0 new messages