You are not logged in.

#926 2012-03-06 02:09:17

GimmeeSpam
Member
Registered: 2011-04-28
Posts: 14

Re: qtFM - Small, fast, light Qt filemanager

I found a couple of minor issues in qtfm 5.3 and in 5.4.beta:

1) qtfm sometimes doesn't show file or folder changes made by other processes

Example1:  Say I have qtfm open to a folder which contains a file named "abc" and a directory named "xyz".  If I open a terminal and run "mv -bT abc xyz", qtfm still shows "xyz" as a folder even though it's now a file.  If I click refresh the tree view and the icon refresh properly, but not the Type column in detail view.  If I close qtfm and re-open, then Type displays correctly.

Example2:  Open qtfm to /usr/bin, then in a terminal run "ln -s python2 linkpython".  I don't see "linkpython" in qtfm, even if I click refresh.  If I close qtfm and re-open, then I see it.

2) qtfm doesn't show hidden files or folders in / even if the display hidden folders option is turned on

gvfs-trash created a folder "/.Trash-0" when I trashed a file.  I could see "/.Trash-0" in my already open instance of qtfm, but when I closed qtfm and then re-opened it wasn't shown.  Qtfm also wouldn't navigate to "/.Trash-0", either when I included "/.Trash-0" as a start-up command line parameter or when I typed "/.Trash-0" into the address bar.  When I ran "ls -a /" in a terminal, I could see "/.Trash-0".  Hidden files in / aren't shown either.

3) I reported this one earlier, but still not working in 5.4.beta:

If I copy or move files by drag and drop between two instances of qtFM, it doesn't work if files or folders are selected in the target instance, and if the target instance has either icon view on or detailed list on.  I don't see any error messages, but the files aren't moved or copied.
If no files or folders are selected in the target, then it works ok.  It also works if the target instance has icon view off and detailed list off.


Enhancement Ideas:

1) if "realMimeTypes=1", then add a mime type column in the custom actions window so custom actions can be defined by mime type, too (don't remove the filetype column).  The input should support wildcard characters.
2) include the users bookmarks in the list of Actions in "Configure Shortcuts" window so a shortcut key can be assigned to a bookmark.
3) add "Action" in "Configure Shortcuts" window for:
    Focus Bookmarks
    Focus Tree View
    Focus File List
    (similar to existing "Focus Address")
4) while typing a path in the address bar, the tab key should auto complete like it does in bash.

Offline

#927 2012-03-06 02:22:57

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 843

Re: qtFM - Small, fast, light Qt filemanager

GimmeeSpam wrote:

1) qtfm sometimes doesn't show file or folder changes made by other processes

Example1:  Say I have qtfm open to a folder which contains a file named "abc" and a directory named "xyz".  If I open a terminal and run "mv -bT abc xyz", qtfm still shows "xyz" as a folder even though it's now a file.  If I click refresh the tree view and the icon refresh properly, but not the Type column in detail view.  If I close qtfm and re-open, then Type displays correctly.

Example2:  Open qtfm to /usr/bin, then in a terminal run "ln -s python2 linkpython".  I don't see "linkpython" in qtfm, even if I click refresh.  If I close qtfm and re-open, then I see it.

I noticed this too, but only sometimes. For example, when Firefox creates a new download, it doesn't appear in the Downloads folder. Sometimes when copy/pasting too. Closing and opening qtfm makes the file(s) appear.


pie!

Offline

#928 2012-03-06 03:29:14

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: qtFM - Small, fast, light Qt filemanager

Thanks GimmeSpam,

As karabaja4 has also reported, I have not gotten to the bottom of why some things do not update.  It doesn't seem to happen all the time, it's a bit hard to diagnose.

I don't think I can fix 3).  It seems to be a bug/weirdness in the Qt code for anything but 'icon' mode.

Those are good ideas, I will look at them.  Except 4), this is tricky, as alot of people expect TAB to cycle through round the widgets.

Also I just uploaded another update, it now shows thumbs in all views, not just icon mode.
PKGBUILD

Offline

#929 2012-03-06 05:55:40

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: qtFM - Small, fast, light Qt filemanager

Just quickly did some more mods:

I fixed the issue not showing hidden items in root "/".

I also changed the custom actions depending on if you use 'realMimeTypes' or not.  ie. if you use 'realMimeTypes' the Filetype column in custom actions needs to be the mimetype like 'image/png'.

GimmeSpam wrote:

...custom actions can be defined by mime type, too (don't remove the filetype column)

I don't really understand why.  Can you give me an example of when you would need to define both?

PKGBUILD

Offline

#930 2012-03-07 03:10:03

GimmeeSpam
Member
Registered: 2011-04-28
Posts: 14

Re: qtFM - Small, fast, light Qt filemanager

If the address bar drop down is visible (it appears when I start typing), then have tab auto-complete.  If the drop down is not visible (it disappears after I hit enter), then have tab move focus to the next control.

I haven't used mimetypes much, so I wasn't sure if a mimetype column by itself would suffice.  Now that I think about it, one can always switch back to the old behavior by changing the config file, so it's not necessary to have both.

In detail view, sorting by mimetype by clicking on the column header is quite slow the first time.  The first time takes about 20 seconds on my directory with 8000 files, the second time is nearly instantaneous.  Sorting by other columns is always fast.

Another Enhancement idea:
Include applications in ~/.local/share/applications in the "Open With" list on the "Edit Filetype" window.

Offline

#931 2012-03-07 03:53:05

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: qtFM - Small, fast, light Qt filemanager

GimmeeSpam wrote:

If the address bar drop down is visible (it appears when I start typing), then have tab auto-complete.  If the drop down is not visible (it disappears after I hit enter), then have tab move focus to the next control.

I see your reasoning, but honestly I don't know how to do it.  It seems the main Qt app intercepts the tab key and cycles widgets, the address bar widget never gets a 'tab' key event.  I guessing you have to go deeper down and subclass one of the base Qt classes to change this.

GimmeeSpam wrote:

In detail view, sorting by mimetype by clicking on the column header is quite slow the first time.  The first time takes about 20 seconds on my directory with 8000 files, the second time is nearly instantaneous.  Sorting by other columns is always fast.

Not too suprised, its resource intensive and why people didn't want it as default option.

GimmeeSpam wrote:

Include applications in ~/.local/share/applications in the "Open With" list on the "Edit Filetype" window.

What else is in this folder?  I only have a defaults.list,  do some apps install a *.desktop there?

Offline

#932 2012-03-07 09:03:16

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 843

Re: qtFM - Small, fast, light Qt filemanager

@Wittfella, you have an email wink


pie!

Offline

#933 2012-03-07 14:03:25

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: qtFM - Small, fast, light Qt filemanager

GimmeeSpam wrote:

...
2) include the users bookmarks in the list of Actions in "Configure Shortcuts" window so a shortcut key can be assigned to a bookmark.
3) add "Action" in "Configure Shortcuts" window for:
    Focus Bookmarks
    Focus Tree View
    Focus File List
    (similar to existing "Focus Address")

Did both of these.
PKGBUILD

Offline

#934 2012-03-08 03:17:21

GimmeeSpam
Member
Registered: 2011-04-28
Posts: 14

Re: qtFM - Small, fast, light Qt filemanager

The desktop files in ~/.local/share/applications are read by a python script.
I place the desktop files there myself, and then they automatically show up in my openbox menu.  The python script uses pyxdg, so I assume it's an XDG / Freedesktop standard.


Can mimetypes be cached like thumbnails?  Seems like caching would make a big difference in speed.


More shortcuts:
add "Action" in "Configure Shortcuts" window for:
    Sort file list by file name
    Sort file list by file type / mime type
    Sort file list by timestamp
    Sort file list by size
If a sort is run a second time, then switch from ASC sort to DESC

Offline

#935 2012-03-08 03:19:52

blawiz
Member
Registered: 2012-02-06
Posts: 9

Re: qtFM - Small, fast, light Qt filemanager

I'm guessing this is a bug: when "cutting" files that together are larger than the available disk-space and trying to paste to the same device I get: "There is not enough space on the destination drive!"

Offline

#936 2012-03-11 06:40:23

GimmeeSpam
Member
Registered: 2011-04-28
Posts: 14

Re: qtFM - Small, fast, light Qt filemanager

I did some testing on the new functionality in the latest beta, and have some feedback:

The "Focus bookmarks" shortcut doesn't work if the bookmarks pane & the tree pane are tabs, and the bookmarks pane is behind the tree (refer to the picture in post #107).  Ideally in this case the "Focus bookmarks" shortcut would select the bookmarks tab so it's in front of the tree, and also move the focus to the first bookmark.  Same applies to "Focus tree" when the tree pane is behind the bookmarks.

Wildcards don't seem to work with when defining custom actions with mime types.  Example: instead of entering video/mp4, video/x-msvideo, video/quicktime, video/mpeg, ..., it would be easier to enter video/*.

Offline

#937 2012-03-11 15:36:35

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: qtFM - Small, fast, light Qt filemanager

Hello,

The wildcards didn't work because I hadn't implemented it yet smile  I have now added it and uploaded version 5.4.  File specific custom actions are now always treated like wildcards, in both suffix and realMimeType mode.  ie. you don't need the '*'

video	- will match video/mpeg, video/mp4, video/avi in realMimeType mode.
jp      - will match *.jpg, *.jpeg in suffix mode etc.

I had a quick look at the tabbed dock problem, oddly enough I don't know how to fix it.  Looking through the docs I can't seem to find how you get access to that tabbar widget so you can set the current tab programatically.

PKGBUILD or wait a bit for the maintainer to push into the repos.

Last edited by Wittfella (2012-03-11 16:19:32)

Offline

#938 2012-03-19 11:47:44

Nihathrael
Member
From: Freising, Germany
Registered: 2007-10-21
Posts: 82
Website

Re: qtFM - Small, fast, light Qt filemanager

Just wanted to chime by and thank you for the nice filemanager. Been using it for over half a year now and am very happy with it. The new thumbnail update is really cool.

Cheers!


Unknown Horizons - Open source real-time strategy game with the comfy Anno 1602 feeling!

Offline

#939 2012-03-19 19:44:48

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,058

Re: qtFM - Small, fast, light Qt filemanager

Using qtfm 5.4 from community, I just noticed that one of my custom actions was not displaying. I have two actions as shown:

%01=image, Open with GIMP, gimp, gimp %f
%02=image, Set as wallpaper, preferences-desktop-wallpaper, feh  --bg-center %F

However when right-clicking an image, I only see the first action.

Offline

#940 2012-03-20 15:48:57

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: qtFM - Small, fast, light Qt filemanager

Thanks anonymous, sorry about that...fixed it.

I also played around with the thumbs, made them look a bit nicer, and fixed the spacing in list and detail view.
5_5_beta_thumb.jpg

PKGBUILD

Offline

#941 2012-03-20 18:50:00

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 843

Re: qtFM - Small, fast, light Qt filemanager

@Wittfella: is it by design that when right-clicking folders in main view it shows custom actions of filetype 'folder' and '*', but when clicking folders in tree it only shows custom actions of filetype 'folder'?


pie!

Offline

#942 2012-03-21 03:20:25

blawiz
Member
Registered: 2012-02-06
Posts: 9

Re: qtFM - Small, fast, light Qt filemanager

I made a trash script that works for multiple partitions, ei it moves the files to .Trash-1000/files of the current partition, so it does'nt pause with large files. It can also list the content of trash, and empty it. I used the same principle to make moving files to another partition go faster with fastmove , which moves the file to the partitions root, before moving it to its destination. These helped me streamline my archiving and cleaning. Check it out: fastmove & trash

Offline

#943 2012-03-21 04:11:10

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: qtFM - Small, fast, light Qt filemanager

@karabaja4 - I'm can't recall if there was a reason for it.  I'll put it in and we can test it.

@blahwiz - Hey thanks for your scripts, quite handy!

Offline

#944 2012-03-23 22:36:17

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,058

Re: qtFM - Small, fast, light Qt filemanager

Hey Wittfella, qtfm gave me segfault when moving files between my external NTFS partition and my desktop (ext4 partition). I hope this trace is useful:

Starting program: /usr/bin/qtfm 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0x7fffe8eea700 (LWP 1487)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe8eea700 (LWP 1487)]
0x00000000004529f6 in ?? ()
#0  0x00000000004529f6 in ?? ()
#1  0x000000000000002b in ?? ()
#2  0x0000000000a03820 in ?? ()
#3  0x00000000008711b0 in ?? ()
#4  0x0000000000000001 in ?? ()
#5  0x00000000ffffffff in ?? ()
#6  0x0000000000452b85 in ?? ()
#7  0x00000000ffffffff in ?? ()
#8  0x0000000000a03820 in ?? ()
#9  0x0000000000000001 in ?? ()
#10 0x00000000ffffffff in ?? ()
#11 0x000000000081b170 in ?? ()
#12 0x0000000000444d17 in ?? ()
#13 0x000000000000002b in ?? ()
#14 0x0000000000000000 in ?? ()

Last edited by anonymous_user (2012-03-23 22:36:32)

Offline

#945 2012-03-25 03:04:48

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: qtFM - Small, fast, light Qt filemanager

Hey, I haven't seen this so I need to reproduce it consistently.  Is it only when using an external drive?  What about same file to somewhere else on the same drive.  Can you tell me the exact size of the file in question, maybe some div0 that only appears at a particular size.

Offline

#946 2012-03-25 04:03:32

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,058

Re: qtFM - Small, fast, light Qt filemanager

1. I can reproduce the segfault when moving files between my Windows internal partition and Linux.

2. Moving files on the same partition does not result in a segfault however moving files between two NTFS partitions does.

3. The segfault might be related to filesize. It usually happen with large files (like videos or game files) but I can reproduce it by moving the nvidia-utils xz package which is only 8.8MB.

Offline

#947 2012-03-25 05:45:47

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: qtFM - Small, fast, light Qt filemanager

ok I can reproduce it with the nvidia-utils file, i'll figure it out.

Offline

#948 2012-03-27 02:45:10

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: qtFM - Small, fast, light Qt filemanager

ok, try it now, should be fixed
PKGBUILD

Offline

#949 2012-03-27 13:53:56

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,058

Re: qtFM - Small, fast, light Qt filemanager

Yup it seems fixed. Thanks very much.

Offline

#950 2012-03-28 14:34:31

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,058

Re: qtFM - Small, fast, light Qt filemanager

A couple of issues:

I created a custom action for filetype "image" but double-clicking an image does not execute it. Putting extensions for the filetype like jpg makes it work correctly.

If I create a new file it shows up as filetype "inode/x-empty". And if I then enter some code and save it, qtfm will not correct the filetype until I restart it. Refreshing does not help.

Also: is there a difference between File -> Close and File -> Quit? I thought maybe Close only closes one window/tab and Quit closes them all however they seem to function the same.

Offline

Board footer

Powered by FluxBB