Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29 FamiTracker
Login:
Menu:
Post: Author:
FamiTracker > General > Bug Reports & Feature Requests > Select All (one vs. all channels?) Owner: Stratelier New post
Page 1 of 1 Sort:  
Select All (one vs. all channels?) Posted: 2014-06-25 05:54 Reply | Quote
Stratelier



Member for: 2954 days
Status: Offline

#58619
Here's a little issue I have with the Select All command (whether via keyboard or mouse does not matter).

If there's any selection present (no matter how small) when you perform a Select All, FamiTracker selects all channels in the current frame, when it is probably more useful for it to first select only the current channel and then All Channels on a second press (same as if there was no selection already).

But the hard part is getting the internal logic right. I understand that the current behavior works somewhat like this:

[quote=]if (selection==yes)
{ select-all-channels }
else
{ select-current-channel }[/quote]

And a selection can span one or multiple channels -- what do you do then? If you've selected multiple channels then it's not useful for a Select All to restrict itself to one channel first and all channels second. Select All should always expand from the current selection. So maybe the logic could go like:

[quote=]if (num_selected_channels > 1 && selection == entirety_of_those_channels)
{ select-all-channels }
else if (num_selected_channels > 1)
{ select-all-of-those-channels }
else
{ select-current-channel }[/quote]

For comparison, if I'm in a word processor (e.g. MS Word) I can click repeatedly to select the current word, then the current sentence/paragraph. Now if I've selected some letters within a word already, the program doesn't necessarily jump straight to selecting the whole paragraph; it still goes -> word -> paragraph.



_______________________
Where to find me:
YouTube: [url=http://youtube.com/user/stratelier]http://youtube.com/user/stratelier
DeviantArt: [url=http://stratadrake.deviantart.com/]http://stratadrake.deviantart.com/
Posted: 2014-07-07 16:34 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#59159
The Select All command is intended to act like Select All in Impulse tracker (Alt+L), but was only half-way implemented.

It shouldn't be hard to finish that, I can try to do it for the next version.

_______________________
Programmer and developer
Page 1 of 1 Sort: