One of the most requested features for Gwenview 2 is bringing back the folder view. As I stated earlier, I worked on this feature for Gwenview 2.3.
It’s done now, I hesitated quite a bit on the way to integrate this view in the application, but I think it’s now ready to be presented.
I decided to split the sidebar in three tabs: “Folders”, “Information”, “Operations”. Doing it this way gives more space for information and operations. This means less scrolling to reach operations on a small screen, more space to show image information and the ability to enter Nepomuk description in a multi-line widget, rather than the single-line version from Gwenview 2.2.
Sidebar settings (which tab is current, whether the sidebar visible) depend on the mode: By default the sidebar is always visible. In browse mode the default tab is “Folder”, while in view mode it is “Information”. This is nice because the casual user gets access to decent navigation in browse mode and more information when viewing his images, while the power user is free to use whatever combination of sidebars configuration he prefers. Since the tabs are at the bottom of the sidebar, I believe they are less likely to be noticed by the casual user, so it shouldn’t be too surprising to have them “magically” switch when changing modes.
Here are screenshots of the sidebar, showing the different tabs:
Apart from the fact that Clara loves Mario Kart
, you may have noticed the folder view shows quite a few root items: it uses your “Places” list as root items, so you can easily start browsing from your prefered folders.
You may also have noticed the little arrow on the top of the sidebar splitter. I was never happy about the “Show/Hide SideBar” toolbar button because I felt it was wasting space. The common alternative to this button is to add a close button on the sidebar, but then it is difficult to find out how to bring the sidebar back. This arrow, which I call the “Splitter Collapser”, is an attempt to solve this problem. When clicked it collapses the sidebar and then looks like this:
Since it is still here, it is easy to bring back the sidebar by clicking it again.
I choose a landscape picture and reduced the window on purpose to show the collapser can overlap the image. I hope you won’t find this too annoying. Rest assured it is not shown when you go fullscreen.
Update: The collapser now fades away when the mouse cursor moves out of the sidebar. Hope you like it!




Thank you very much for this.
Just a suggestion, the tree view looks completely out of place because of the white background, wouldn’t be better to use the theme background (I know, it may bring problems with the scrollbar)?
I experimented with various colors, for example using the window background color (like Dolphin) or using the thumbnail view background color but it did not look very good.
Since this view is quite “standard” (no need to contrast with images), I figured I should stick with standard colors for now.
I think the “thumbnails” button should be converted into a tab as well, don’t you think?
Keep up the good work! Gwenview is more and more awesome!
You mean the “Thumbnail Bar” button in the image view status-bar? My plan was to use a splitter collapser for this one as well, but I am not sure whether it will happen in Gwenview 2.3.
Will it be possible to fully hide the “Splitter Collapser”?
I think it sticks out quite a bit when you’re just trying to display some pictures.
Not in 2.3. But has I said it is an experiment, so I will probably adjust its look and feel based on the feedback I get. Don’t forget it’s fully hidden when you go fullscreen.
Hey Aurélien,
Thanks for all your work on Gwenview. Between your job, wife and Clara I’m sure you have plenty to keep you busy!
Could I suggest using a toolbar button to show / hide the sidebar instead? We have established precedents for this (like the split button in Dolphin) and it stays out of the way of viewing the photos. It keeps the controls centralised and also retains visibility when viewing light grey photographs.
The tabs, defaults and folderview all look fabulous, and Clara looks like an absolute cutie.
Thanks again for working on a great app and I hope you didn’t get beaten too bad at MarioKart!
Mmm… there used to be a button to show/hide sidebar, but I thought it was less obvious than a button on the splitter, so I tried this instead. It would also be a bit odd now that the sidebar may be visible or hidden depending on the view mode, because it would change state when you press either the “browse” or “view” button.
About Mario Kart: I still manage to win, but I am not sure for how long!
I like the splitter collapser, as it is very intuitive. It didn’t take me long to figure out how it works when it showed up in SVN.
I do however think the tabs belong on top of the sidebar – I hadn’t noticed them until you mentioned them!!! On a large screen the content of the sidebar is on top, then there is a large nothingness, then the tabs. If you move them to the top it takes less movement with the mouse – you rarely have to go to the bottom of the app (toolbuttons, menu’s and actions are on top. Only zoom and thumbnails on bottom).
My second suggestion would be to change the previous and next buttons to the same ones as in Dolphin – consistency would be good.
Third, but this is more of a feature request, have you seen the zoom bar in KOffice 2.0 beta? I think it would fit in Gwenview perfectly.
Fourth, I love your picture overlays when browsing folders. Unfortunately they are different from Dolphin. Maybe you should talk to Peter and figure out a common look… Get the plasma guys on board as well, plasma lacks the overlay completely
Last, please continue with your work on gwenview, it’s really great! I love your willingness to experiment above all (eg the splitter collapser, history, thumbar, fullscreen look).
Oh, and Clara is the cutest thing ever – and you seem to be a good dad, playing with her
About tabs position: as you said in a latter comment, quite a few apps use tabs at bottom right now. My opinion on this is that having them on bottom keeps the top of the screen cleaner, and with hopefully decent default tab settings, only advanced users will want to switch tabs.
About previous and next buttons: they are not the same as Dolphin for a good reason: Dolphin buttons let you browse an history, while Gwenview previous and next buttons let you go through a list, like a media player playlist.
About KOffice 2.0 zoom bar: I had a look at it, but was not convinced by the zoom combobox. I believe switching between zoom-to-fit and 100% should be a one click operation (like Picasa). But it would look nicer if we could get real support for segmented buttons in Qt…
About overlays: Yes, something needs to be done there, maybe for KDE4.4. I would also like to get support for the nifty folder previews.
I like this idea, where there are multiple tabs on one sidepanel. I use that on Dolphin too in some situations.
But, I hope that sidebar would be a dock, like on the dolphin. So it can be dragged to right side. It takes little more vertical space when there comes the handles but we get the sidepanel hovering as well then, even on fullscreen.
The tabs belongs for me bottom of the sidepanel, like on Dolphin, Konsole and many other applications. Even that konqueror and few others use them top.
Gwenview 1.x used a lot of docks, but I witnessed how difficult it was to handle for end users. I am not sure I want to go this way for 2.x, even if the new docks are much nicer than the older ones. It would also make it harder to implement features like splitter collapser I think.
Forget to mention, that sidepanel show/hide widget is different than any other application has.
It has good idea what help in some situations “How do I hide the sidepanel”?
I like the Amarok styled sidepanels where there are tabs on the sidebar. These days monitors are 16:10 or next trend 16:9 and we have space on horisontal position but not on vertical. And this way we would get rid of the tabs bottom/top, but tie to sidepanel to one side of the window. So I would go the dockable sidepanel with tabs.
Maybe it is possible for the sidebar to use the same widget as Marble uses. And about the tabs location, maybe this is something which could use a discussion on kde-usability… Having a common solution in all apps would be a big improvement.
This is the QToolBox. The problem with this widget is that it’s difficult to go back because controls go up and down everytime you click them.
I would rather have us use a solution similar to Evolution / Outlook sidebars: a set of non-movable buttons at the bottom of the sidebar. I have a local branch which features such a sidebar, but it used quite a bit of vertical space and I decided I didn’t want to be too “non-standard”, so I went for bottom sidebars.
I also forgot to mention, KOffice has the tabs on bottom as well – it uses dockers extensively, and they work pretty good. So maybe they DO belong on bottom. It’s just that the huge empty space below the actions on my 19″ screen is so… huge… and if you have a resolution larger than my 1280×1024 (which isn’t that excessive) it’s even bigger…
Actually, we filed a bug report with TT to ask to make it possible to put the docker tabs on top — I really dislike them at the bottom. It’s not a KOffice feature that they are there — it’s lack of a feature in Qt
Since you ask… Yes, I do think that the splitter is a visual annoyance in its current position, on top of the picture. Gwenview’s primary job, after all, is to display pictures, and it can be argued that it does slightly worse at that with the splitter there. This is certainly true for those users that are not be interested in the features offered by the side bar.
Anyway: nice work!
Please make sidebar standard draggable widget like in Dolphin! This fixed sidebar is really terrible for people who wants to customize things in their way.
I really don’t understand why you doesn’t use standard Qt 4/KDE 4 draggable sidebar like Dolphin and other Qt 4/KDE 4 applications do
Gwenview is excellent application, but this fixed sidebar completely ruins experience for me
Quoting a previous reply on this post:
“Gwenview 1.x used a lot of docks, but I witnessed how difficult it was to handle for end users. I am not sure I want to go this way for 2.x, even if the new docks are much nicer than the older ones. It would also make it harder to implement features like splitter collapser I think.”
Just an idea for the splitter collapser: you could set its opacity as qBound(0.0, 1.0 – 0.01 * (QCursor::pos().x() – splitterPos.x()), 1.0) when the mouse cursor moves (you know what I mean
. So that appears only when you get near it.
Here’s some more food for thought for your splitter-collapser:
Maybe you could make it similar to a hidden panel in plasma. When it’s collapsed it glows when the mouse gets near with the button sliding out to be clicked on. When it’s open the button could be present.
KennV
I had a try at it, will probably enable it. Thanks for the suggestion (and thanks to Enrico Cos as well!)
Gwenview is definitely becoming better and better. Many thanks for your good work!
One suggestion: It would be great if one could use file operations in the sidebar like folder renaming, copying and moving per drag’n drop.
[...] Gwenview 2.3 Sidebar One of the most requested features for Gwenview 2 is bringing back the folder view. As I stated earlier, I worked on [...] [...]
Great product Aurélien, fantastic job.
Bringing back the folder view is a great idea. I did have a few request / suggestion which I’m not sure have already been addressed:
- I am currently using v. 2.2.3 which in browse mode does not preload all thumbnails in a folder unless you scroll over them. Is it possible to let the pre-loader continue to run even while the thumbnails are not in the visible part of the browse view?
- I thought the preview mode was a great way of browsing both the thumbnails as well as viewing the image at the same time. I prefer a tabular thumbnail view as opposed to the thumbnail bar. Is there any possibility of that ever becoming an option?
Otherwise I really love the fact that gwenview loads images quite rapidly compared to other image viewers out there. Great work!
About thumbnail generator: it still does not load everything, but it should generate thumbnails for the next hidden row so that if you don’t scroll too fast you don’t see them getting generated.
About tabular thumbnail view… don’t spoil my next blog post…
Great! Thank you
I have a little question…
It would be possible to implement a zoom out under 100%?
Gwenview can zoom out under 100% as long as the zoomed image do not fit in the window. I don’t think it would be useful to be able to zoom out further.
Many times photographer needs to get neutral gray around the photo to actually see the differences on edges of photos.
When the edge of photo and edge of application gets space to breath, the photo’s balance, colors, structure etc are easily seen.
That is one thing why many use papers to hide arounds of paper photos to see the actual photo. Unless you have clear table without any stuff on it so you can get same effect.
Not usefull? Are you crazy? I _VERY_ usefull for many painters and concept artist! I must using gqview
(sry my english is not good)
I think we need a option to settings to allow user to zoom farther than 100% or “fit to screen” -size. Normal users who just want to see the picture on their emails/webpages etc might not care but pro users does.
There is nicely room next to “Enlarge smaller images” for the “Allow full zoom out” etc.
Maybe we could add a “margin” setting which would define how many pixels should be kept around the image when in zoom-to-fit mode?
reply to Aurélien under me:
hmm… or add simple zoom out settings…
Hi!
I like this sidebar idea. But I have some suggestion about toggle button. I think that toogle edge will be better than that button (somethink like in Opera; I hope you understand me, here is animation of this: http://img527.imageshack.us/img527/3507/toogleedge.gif ). This solution is more useful I think
Oh, and it is possible to add advanced exif information to Gwenview? I miss it
regards from Poland
sorry for bad english
I have been thinking about toggling edges. I decided not to go this way because I was afraid it would waste space when collapsed, but I am not completely satisfied with the current solution. What does anyone else think about toggling edges.
About advanced exif information: what do you need which is not provided by Gwenview?
Oh, I didn’t see, that it had already been there (in 2.3 version)
Sniffle.
I just installed kde 4.3b2 and i don’t like it
Why has the sidebar moved to the left? i can’t move it back..
Is there some secret way of moving it back to the right??
Also i can’t have the meta info and “open with” options visible at the same time. which is how i used gwenview the most up till now.
Oh and the little expander thing that sticks out from the sidebar into the image viewing area is annoyingly distracting.
Sorry to be so negative, On the plus side the thumbnails load blindingly fast now which is awesome.
You can right click on the image to reach “open with…”
I am not completely satisfied with the sidebar collapser either, but it will have to stay at least for KDE4.3.
It was moved to the left because it would have been odd to have a folder view on the right. It also makes it possible to put thumbnails on the right.
There is no way to move it back, sorry.
Could you maybe turn all 3 views into panels much like dolphin does. You could then arrange them however you want and would fit in with how other kde apps such as dolphin and koffice2 work?
Quoting a previous reply on this post:
“Gwenview 1.x used a lot of docks, but I witnessed how difficult it was to handle for end users. I am not sure I want to go this way for 2.x, even if the new docks are much nicer than the older ones. It would also make it harder to implement features like splitter collapser I think.”
Im just wondering if im the only person who finds it extremely uncomfortable having the file information and properties on the left.
Trading one set of comfortableness for another seems like an exercise in futility to me.
How you managed the side bar close button?When I press the close button, the onUnload event is called. Actually I need a confirm box, containing the text “Do you want to close the side bar?”. Even when I press the cancel, the side bar is closed. How can I set “Ok” and “Cancel” options to the window.onUnload event? Is this only applicable for websites? Or Does Sidebar have special event handling for close?
You do know this article is talking about an application, not a website, right?