Bugzilla@Mozdev – Bug 24766
Add Move Folder Option
Last modified: 2012-05-25 12:31:33
You need to log in before you can comment on or make changes to this bug.
Please modify the add-on so that we are able to drag entire FOLDERS of emails via the QuickFolder bookmarks, as well as individual emails within FOLDERS. I have many folders of subfolders, and each subfolder contains numerous email messages. I wish to easily move these subfolders from one mail account all the way down to the LOCAL FOLDERS for historical/backup/reference purposes. Currently the only way to move the entire subfolder to a different location (i.e., LOCAL FOLDERS for example) is to drag the folder from its current location to the new location, which often means trying to drag the folder over many screen pages. It is highly desirable to be able to drag the selected subfolder to the QuickFolders bookmark for the LOCAL FOLDERS and then right-click to select the appropriate location within LOCAL FOLDERS.
The question is, how useful will it be to the majority of users? It would be great to get some more QuickFolders user opinions on this... Having said that, the most logical way to implement this would be by dragging a folder (or folder menu item) from the QuickFolders toolbar (or Current Folder bar) to the folder tree (left hand side), as it would allow you to do your scrolling (to the bottom, or wherever you need to go) _before_ the drag and drop operation. Also there is currently no function assigned to a QF drag into the Folder tree. Having said this, it might be quite hard to implement, and I am not sure whether many users would benefit (or even find the feature). So I have to weigh your personal benefit against slightly complicating the Add-On and probably spending quite a big portion of my free time on this feature. Which wouldn't be bad if hadn't planned other features such as customized Icon support, easier Categorizing and simplification of the style sheets. By the way I have implemented your other request (Add hot key to invoke QuickFolders command menu) as it wasn't overly complicated to implement - a few hours debugging and a few emails to the moz.dev.ext newsgroup. Any additional thoughts?
Created an attachment (id=7216) [details] Test Version with Folder Move Here is a test version (not fully localized), which supports MOVING a folder by dragging it from the folder tree (left hand side) to a QF tab. You have to hold down SHIFT to do this. It doesn't yet support dragging into the subfolder popups, but it is planned. Also I haven't tested it very strongly (e.g. I haven't tried "illegal" stuff like moving news-groups folders or moving from an IMAP server, so be careful). Best to run MozBackup before testing these features. In theory, "illegal moves" should be caught by the API function I am using - it should throw an error and display a message that it can't be done. uses nsIMsgCopyService.CopyFolders
The test version seems to only work in Thunderbird (not SeaMonkey / Postbox). I think there is some bug in the drag+drop implementation on the other applications causing the keyboard states not to be reported on the right-click event... needs further investigation.
Aloha, Axel. Apologies for being so long in getting back to you, but other business kept me occupied. :( Thank you so much for implementing this feature! I had assumed you didn't have the time, but then you did it! I really appreciate it and have already put it to very good use. ;) There are only 2 glitches I see with it, which you probably never even encountered. 1. If the bookmarked folder you are trying to move a folder to (the "destination") contains more "contents" (subfolders and/or files) than will display on the height of your screen, you are unable to effect the move. That is because the "focus point" for the "destination" is right on top of itself -- so every time I try to do the move, the "contents" list totally hides "destination" bookmark. You probably have a better idea, but an option that would make it simple (for me, of course, not necessarily for you) is to add the "destination" bookmark folder itself at the top of the "contents" list so that I could still select the "destination" bookmark rather than a subfolder. I hope I made all of that understandable; if not, please let me know. I will also email a screen capture that should make it more obvious. ;) 2. It is hard to get the move "selected". I try to click right on the bookmark name, but it often takes 2-3 tries beore it "takes." Thanks much, Sheron
(In reply to comment #4) > Aloha, Axel. Apologies for being so long in getting back to you, but other > business kept me occupied. :( > > Thank you so much for implementing this feature! I had assumed you didn't have > the time, but then you did it! I really appreciate it and have already put it > to very good use. ;) > > There are only 2 glitches I see with it, which you probably never even > encountered. > > 1. If the bookmarked folder you are trying to move a folder to (the > "destination") contains more "contents" (subfolders and/or files) than will > display on the height of your screen, you are unable to effect the move. That > is because the "focus point" for the "destination" is right on top of itself -- > so every time I try to do the move, the "contents" list totally hides > "destination" bookmark. You probably have a better idea, but an option that > would make it simple (for me, of course, not necessarily for you) is to add the > "destination" bookmark folder itself at the top of the "contents" list so that > I could still select the "destination" bookmark rather than a subfolder. I > hope I made all of that understandable; if not, please let me know. I will also > email a screen capture that should make it more obvious. ;) yes, do that :-) just attach it to this bug. There is a general problem with dragging / handling long menus, they shouldn't really cover the target object, but that is a Thunderbird bug. Nothing I can do about that. > > 2. It is hard to get the move "selected". I try to click right on the bookmark > name, but it often takes 2-3 tries beore it "takes." Try to left-click instead.
Added in QuickFolders 3.1