Bug 303631 - Add url navigator widget to start page
Summary: Add url navigator widget to start page
Status: CONFIRMED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.8.4
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: 2.10
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-16 21:00 UTC by Mirek Długosz
Modified: 2018-04-09 11:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mirek Długosz 2012-07-16 21:00:59 UTC
Please add address bar to default Gwenview view (the one that is shown when 'gwenview' command is run without any command line arguments).

User case:
User wants to see all images in certain directory at glance (thumbnails of images). He does, at least roughly, remember the path.

Right now this could be achieved in numerous ways:
1. Open Gwenview. There are Last directories and "Places" shown. Click on any of these, click on address bar (which is now available), enter desired path.
2. Open Konsole. Enter command 'gwenview /path/to/directory'.
3. Open Dolphin. Surf to directory. Right click anywhere and select "Open in → Gwenview".
4. Open Dolphin. Surf to directory. Possibly enable "Preview" mode, if it has not been enabled. Possibly change view mode (especially if user is using Detailed view). Possibly change icons size.
5. In KRunner enter 'gwenview /path/to/directory' command.
Each of these has drawbacks. First and fourth involves too many steps. Second and third involves unnecessary applications (terminal or file manager). In last one user can not use automatic path completion, which forces him to exactly remember path.

The best workflow for that user-case would be:
Open Gwenview → Click on address bar → Enter desired path.
Quick, simple, clean, efficient.
But this is not possible, as Gwenview default view does not contain address bar.

If, for some reason, address bar in default view is not present on purpose (i.e. there is no path to display), then configurable keyboard action would be sufficient. Workflow would look like this:
Open Gwenview → Use keyboard shortcut → enter path (possibly in new window that pops up).
As for default keyboard shortcut, "g" sounds nice. It is not used by default, it is easily associated with "go to directory" action and is used by some other applications (command-line web browsers, some superlightweight PDF viewers).

Reproducible: Always
Comment 1 Aurelien Gateau 2012-07-17 12:16:38 UTC
Makes sense, I need to check if it is possible to show the url navigator without any url.
Comment 2 Huon 2018-04-09 06:48:40 UTC
There are other external solutions for getting a URL bar when Gwenview opens:

  1. Use a shell alias, e.g. alias gwen="gwenview ~"
  2. Similar to 1), create a custom Desktop file that opens Gwenview in a specified folder (e.g. ~)

I personally think an empty URL bar on the Start page is a bit weird and unconventional. It might be confusing - if it's empty, it's probably not obvious what it actually is if you don't already know.

Even if we must change Gwenview to accommodate this use case, I think a better solution would be to allow the user to specify a starting folder, similar to Dolphin.
Comment 3 null 2018-04-09 08:58:43 UTC
> an empty URL bar on the Start page is a bit weird
As discussed elsewhere (e.g. Bug 387906, possibly other places), a good long-term goal would be to make the Start Page a bit more consistent with Browse and View. Having the URL bar is one step in that direction, and just like (an older version of) Konqueror it could simply display something like "startpage:/".

> allow the user to specify a starting folder, similar to Dolphin.
See Bug 233359, where we discussed this before (oddly enough, you wanted to "improve the start page" and "don't see [the config option] as necessary" ;).

I think we should do both, i.e. add the URL navigator and add an option as detailed in the second comment over in Bug 233359 (option #2).
Comment 4 Huon 2018-04-09 11:02:12 UTC
(In reply to Henrik Fehlauer from comment #3)
> > an empty URL bar on the Start page is a bit weird
> As discussed elsewhere (e.g. Bug 387906, possibly other places), a good
> long-term goal would be to make the Start Page a bit more consistent with
> Browse and View. Having the URL bar is one step in that direction, and just
> like (an older version of) Konqueror it could simply display something like
> "startpage:/".

Doesn't sound too bad actually, and I like consistency.

> > allow the user to specify a starting folder, similar to Dolphin.
> See Bug 233359, where we discussed this before (oddly enough, you wanted to
> "improve the start page" and "don't see [the config option] as necessary" ;).

Knew that rang a bell :)
In my defense, I did preface my comment here with "If we must..."

> I think we should do both, i.e. add the URL navigator and add an option as
> detailed in the second comment over in Bug 233359 (option #2).

I wouldn't oppose this. I also now just realise they solve slightly different problems. One is for a consistent starting directory (your pictures folder), and one is for quick access to type an arbitrary URL.