| Summary: | Enabled users to manually re-sort Documents widget in Kate | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Calvin Morrison <mutantturkey> |
| Component: | tdebase | Assignee: | Calvin Morrison <mutantturkey> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | bugwatch, darrella, kb9vqf |
| Priority: | P1 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | All | ||
| OS: | Other | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | kate | |
|
Description
Calvin Morrison
2012-01-27 15:11:14 CST
The reversed patches in bug report 244 partially provides what you seek. With that restored code there now is a check box option to sort the Documents file list. Here is a screen grab of the restored configuration option: http://humanreadable.nfshost.com/images/kate-after.png Once upon a time there was a tab bar extension for kate (possibly still exists), but I don't remember whether that extension provided drag-and-drop sorting options. Functionality added in GIT hash 46a657f. If there is an issue with the CTRL + SHIFT + [,.] keyboard shortcuts new ones will need to be used. How is this intended to work? Pressing CTRL + SHIFT + [,.] does what? What should I see when testing? (In reply to comment #3) > How is this intended to work? Pressing CTRL + SHIFT + [,.] does what? What > should I see when testing? Come to think of it, keyboard shortcuts for this are actually kinda stupid. Instead, I have implemented drag+drop support for moving a file in the Kate file list when the Sort mode is set to Manual Placement. Tim (In reply to comment #4) > Come to think of it, keyboard shortcuts for this are actually kinda stupid. > Instead, I have implemented drag+drop support for moving a file in the Kate > file list when the Sort mode is set to Manual Placement. > > Tim These changes are in GIT hashes b0fa10d and 9a948c1. I still don't understand how this works. :-) The file list can already be sorted: Settings menu, Application/General, Sort files alphabetically in the file list. What do these patches provide? (In reply to comment #6) > I still don't understand how this works. :-) The file list can already be > sorted: Settings menu, Application/General, Sort files alphabetically in the > file list. What do these patches provide? Sometimes I have found that I want one or two files to be in a different location; i.e. not sorted by opening date, alphabet, or anything else. One example might be if I have files open from two different directories and want to keep them clustered together--if I forgot to open one file in sequence there was no way for me to move it to be with the other files in the list from that directory. These patches allow a user to move a document's location in the list via drag-n-drop. > Sometimes I have found that I want one or two files to be in a different
> location; i.e. not sorted by opening date, alphabet, or anything else. One
> example might be if I have files open from two different directories and want
> to keep them clustered together--if I forgot to open one file in sequence there
> was no way for me to move it to be with the other files in the list from that
> directory.
>
> These patches allow a user to move a document's location in the list via
> drag-n-drop.
Please re-add the shortcuts! They are actually useful to me, but also for consistency. For Example, Konsole allows you to resort tabs with a key press with CTRL+SHIFT {left,right}. I think that the 'mdi' interface is basically a vertically stacked tab window (not internally but it has the same features of a regular tabbed interface) so I think it should follow suit.
Calvin
> Sometimes I have found that I want one or two files to be in a different
> location; i.e. not sorted by opening date, alphabet, or anything else. One
> example might be if I have files open from two different directories and want
> to keep them clustered together--if I forgot to open one file in sequence there
> was no way for me to move it to be with the other files in the list from that
> directory.
>
> These patches allow a user to move a document's location in the list via
> drag-n-drop.
Please re-add the shortcuts! They are actually useful to me, but also for consistency. For Example, Konsole allows you to resort tabs with a key press with CTRL+SHIFT {left,right}. I think that the 'mdi' interface is basically a vertically stacked tab window (not internally but it has the same features of a regular tabbed interface) so I think it should follow suit.
Calvin
(In reply to comment #9) > > Sometimes I have found that I want one or two files to be in a different > > location; i.e. not sorted by opening date, alphabet, or anything else. One > > example might be if I have files open from two different directories and want > > to keep them clustered together--if I forgot to open one file in sequence there > > was no way for me to move it to be with the other files in the list from that > > directory. > > > > These patches allow a user to move a document's location in the list via > > drag-n-drop. > > > Please re-add the shortcuts! They are actually useful to me, but also for > consistency. For Example, Konsole allows you to resort tabs with a key press > with CTRL+SHIFT {left,right}. I think that the 'mdi' interface is basically a > vertically stacked tab window (not internally but it has the same features of a > regular tabbed interface) so I think it should follow suit. > > Calvin OK, can you locally revert 9a948c1a and see if the shortcuts actually work? I don't think they do at this point for several reasons: 1.) The keyboard shortcut handler would need to operate on the currently selected file, not the most recently clicked file. 2.) I was having difficulty with the CTRL+SHIFT+[,.] triggers. I don't know if this was a local machine problem only or something more widespread. If you want to hack on the code to add this feature please feel free. :-) Tim The ability for Kate to save/restore a manually reordered session was added in GIT hash 08c816f. |