Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  selecting multiple files for copy/cut/delete
« previous next »
  • Print
Pages: [1] 2

Author Topic: selecting multiple files for copy/cut/delete  (Read 5348 times)

Offline MajiKool Dragonâ„¢

  • Member
  • *
  • Posts: 147
  • I'm me!
selecting multiple files for copy/cut/delete
« on: March 26, 2010, 07:51:51 PM »
i was reading this thread about and undelete and a recycle bin in rb, and something was being said about saving clicks, and i thought... why not just make it possible to select multiple files. that would save clicks.
Logged
"Isn't it funny how even the coldest weather isn't so cold when you've got people who care about you to walk through it with you." - MajiKool Dragonâ„¢
SanDisk Sansa c240v1 + 16GB µSDHC, Apple iPhone 4 iOS4.2.1 Jailbroken

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: selecting multiple files for copy/cut/delete
« Reply #1 on: March 27, 2010, 04:14:11 AM »
Yes, a way to mark files to perform a common action on them would be handy.  It'd still be on the context menu I imagine, so would still require a few clicks per file, but at least you wouldn't need to confirm or each one too.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline gulak

  • Member
  • *
  • Posts: 26
Re: selecting multiple files for copy/cut/delete
« Reply #2 on: March 27, 2010, 03:10:18 PM »
Quote from: AlexP on March 27, 2010, 04:14:11 AM
Yes, a way to mark files to perform a common action on them would be handy.  It'd still be on the context menu I imagine, ...

This depends on the implementation. I implemented something like this as a plugin where you can select files and folders with a button click. I use the context menu only to start the plugin.

I doubt something like this will ever make into rockbox. I implemented it in my build about 2 years ago and the the times I used it, I can count on one hand.
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: selecting multiple files for copy/cut/delete
« Reply #3 on: March 27, 2010, 07:00:19 PM »
It depends on the implementation.  I would think it has a pretty good chance of getting into core Rockbox - if done as a plugin, then an even better chance.  It depends on the implementation, but I wouldn't be so pessimistic :)
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline nls

  • Developer
  • Member
  • *
  • Posts: 460
Re: selecting multiple files for copy/cut/delete
« Reply #4 on: April 05, 2010, 01:57:45 AM »
I would like this feature, but i see no reason for it to be implemented as a plugin.
Also i could imagine 3 dufferent context menu actions.
* Select (selects this item for a future multi action)
* Start multi select (selects the first item in a span)
* End multi select (selects the last item of the span)

so if you want to select item 1 and 4 through 8
you "select" 1 and then start a multi select on 4
and end on 8
select and start multi could even be  merged.
Another place where this could be useful id the playlist viewer for moving or deleting items and the database and filebrowser for inserting into playlists, etc.
Logged

Offline gulak

  • Member
  • *
  • Posts: 26
Re: selecting multiple files for copy/cut/delete
« Reply #5 on: April 05, 2010, 03:25:08 PM »
Quote from: nls on April 05, 2010, 01:57:45 AM
I would like this feature, but i see no reason for it to be implemented as a plugin.
Only to list some reasons:
The more you put into the core the more complicate the code will be and the more difficult it will be to maintain it. It's also hard to remove a functionality cleanly from the core when it becomes obsolete or not wanted. It's always better to implement things as module, where the user has the choice to put together what he wants.
But these are not the reasons for me to implement it as a plugin. For me it's the simple reason that I was looking for way to implement features I want without having to resolve conflicts after each svn update.

Quote from: nls on April 05, 2010, 01:57:45 AM
select and start multi could even be  merged.
Or leave Select but merge Start and End multi select into one. I called it "auto-select". Applied on your example it means, when the cursor is at the 4th element, you can turn on auto-select, go down to the 8th element - every element you've passed is automatically selected - and turn off auto-selection at the 8th element.
Auto-Selection is something I implemented but have never used.
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: selecting multiple files for copy/cut/delete
« Reply #6 on: April 18, 2010, 03:03:56 AM »
gulak,


Does this plugin of your exist anywhere?
I mean, obviously you have it ;), but is it posted anywhere?
I actually think this *would* have a pretty good chance of making it into SVN.
Especially if it was opened up to the rest of the developer community to further improve on (if needed).
Just my two cents worth...

[St.]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline gulak

  • Member
  • *
  • Posts: 26
Re: selecting multiple files for copy/cut/delete
« Reply #7 on: April 19, 2010, 02:49:41 PM »
Quote from: [St.] on April 18, 2010, 03:03:56 AM
Does this plugin of your exist anywhere?
I mean, obviously you have it ;), but is it posted anywhere?
I can put it online again, if you have a sansa e200 and know how to patch and compile. Just give me a PM and I'll PM you the url where you can download it. In this forum it's not allowed for us user to share codes or discuss about codes which are not in svn.

Quote from: [St.] on April 18, 2010, 03:03:56 AM
I actually think this *would* have a pretty good chance of making it into SVN.
This feature has as much chance as every other feature idea proposed in this forum.
As long as no Rockbox developer implements it, it won't get in.

Quote from: [St.] on April 18, 2010, 03:03:56 AM
Especially if it was opened up to the rest of the developer community to further improve on (if needed).
Zero comments or "Please read the coding guideline" is the best feedback that you can get as an external developer if you put a patch on the tracker. You can't even edit/correct your own posts there.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: selecting multiple files for copy/cut/delete
« Reply #8 on: April 19, 2010, 03:16:52 PM »
This is an extremely negative attitude. Plenty of features have come from patches on the tracker and nearly every developer currently coding Rockbox started off as an "external" developer.

If you receive many comments of "please read the coding guidelines" maybe you should consider that they're taken seriously and attempt to meet them. Other than that, follow through with your patch - find out why nobody's making comments (is there no interest in the feature from developers?) and try to find a single developer who's actually interested in it.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: selecting multiple files for copy/cut/delete
« Reply #9 on: April 19, 2010, 03:52:04 PM »
Quote from: gulak on April 19, 2010, 02:49:41 PM
Zero comments or "Please read the coding guideline" is the best feedback that you can get as an external developer if you put a patch on the tracker. You can't even edit/correct your own posts there.

Have you even looked at the patch tracker?  Theres literally several thousand counter examples. 
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: selecting multiple files for copy/cut/delete
« Reply #10 on: April 19, 2010, 10:04:02 PM »
gulak, I do understand the sentiment a bit, and if you have done this patch as a plugin then it is probably accurate here, but in general there is no way a feature will get in unless *someone* puts in the effort and either hits up IRC or the tracker (both usually).

multi select is something which everyone wants but implementing it properly isnt easy. It pretty much has to be done inside the standard list code so it can be usable just about everywhere. It doesnt make sense to put this sort of thing anywhere else (especially a plugin)
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline gulak

  • Member
  • *
  • Posts: 26
Re: selecting multiple files for copy/cut/delete
« Reply #11 on: April 20, 2010, 04:17:23 PM »
Quote from: Llorean on April 19, 2010, 03:16:52 PM
This is an extremely negative attitude.
This isn't an attitude. It's a fact. What [St.] stated there is just wishful thinking. It isn't possible with only a handful of active Rockbox developers.

Quote from: Llorean on April 19, 2010, 03:16:52 PM
If you receive many comments of "please read the coding guidelines"
There's someting wrong, when someone gets more than one of such a comment...

Quote from: Llorean on April 19, 2010, 03:16:52 PM
maybe you should consider that they're taken seriously and attempt to meet them.
Reformatting a well formatted code is a waste of time, although it's maybe a question of some minutes or even seconds. Some of the guidelines are really questionable.

Quote from: saratoga on April 19, 2010, 03:52:04 PM
Have you even looked at the patch tracker?  Theres literally several thousand counter examples. 
The counter doesn't tell how much comments a patch has. When the same guy who opens the patch posts 10 updates/resyncs, the counter of comments is 10. The number of real comments is still zero.

Again, it's not a critic on you or anyone involved in the Rockbox development. You're guys are doing good work. I see it as a result of the limited resource.

Quote from: JdGordon on April 19, 2010, 10:04:02 PM
multi select is something which everyone wants but implementing it properly isnt easy. It pretty much has to be done inside the standard list code so it can be usable just about everywhere. It doesnt make sense to put this sort of thing anywhere else (especially a plugin)
Maybe one day you'll find a good solution. Good luck!
Just remember the filetree is a tree and it doesn't have much in common with a list.
 
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: selecting multiple files for copy/cut/delete
« Reply #12 on: April 20, 2010, 04:54:39 PM »
Quote
Reformatting a well formatted code is a waste of time, although it's maybe a question of some minutes or even seconds. Some of the guidelines are really questionable.

Surely you understand that "well formatted" is subjective. Rockbox isn't your project, and it's got established code guidelines - if you don't want to submit code you don't have to. But you can't really say "here's my code, but you have to accept it on my unacceptable terms" then blame the project for not meeting your external conditions.

If you want your code to be accepted, meet the requirements.

If you think the guidelines are bad, bring up a discussion of it, but don't blame them if you choose not to meet them and then don't get your code accepted when you know that they're a requirement for code acceptance.
Logged

Offline safetydan

  • Developer
  • Member
  • *
  • Posts: 248
Re: selecting multiple files for copy/cut/delete
« Reply #13 on: April 21, 2010, 03:42:28 AM »
I can see multiselect being feasible within a single list view, but across list views I'm not so sure. So would a limited multiselect be acceptable? That is, you could only multiselect within the same folder. Once you navigated away, you would lose your selection.
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: selecting multiple files for copy/cut/delete
« Reply #14 on: April 21, 2010, 03:47:55 AM »
I can't see it working any other way, so yeah, only allowing selection in one folder/view makes sense.
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  selecting multiple files for copy/cut/delete
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.127 seconds with 14 queries.