home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
Improvement Suggestions
Improvement suggestion of navigation in items list (I think it's more conveniently)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Balagun" data-source="post: 369610" data-attributes="member: 83505"><p>Hello all!</p><p>I have small improvement suggestion.</p><p></p><p>At navigation in the items list of "My Music", "My Pictures", "My Videos" I have noticed small inconvenience.</p><p>The situation:</p><p>I am in some nested folder and I've selected some list item, which is distinguished from "..".</p><p>When I exited out this folder by pressing "ESC" and I returned back to this folder, then I have the same selected list item, which was selected before exiting. It's absolutely logical and correctly.</p><p>However when I exited out this folder by selecting of the item ".." and by pressing "Enter" and I returned back to this folder, then I have the selected list item, which was last selected before exiting, but not "..". I think it's not logical and not correctly. I think that after returning to this folder should be selected ".." as last selected item before exiting.</p><p></p><p>Here is solution.</p><p></p><p><u>1. GUIMusicFiles.cs (~ Ln 401 ):</u></p><p></p><p>Remove condition <span style="color: SeaGreen"><em>if (SelectedItem.IsFolder && SelectedItem.Label != "..")</em></span> and leave only <span style="color: SeaGreen"><em>_dirHistory.Set(SelectedItem.Label, currentFolder);</em></span>.</p><p></p><p><u>2. GUIVideoFiles.cs (~ Ln 494):</u></p><p></p><p>Remove condition <span style="color: SeaGreen"><em>if (selectedListItem.IsFolder && selectedListItem.Label != "..")</em></span> and leave only <span style="color: SeaGreen"><em>_history.Set(selectedListItem.Label, _currentFolder);</em></span>.</p><p></p><p><u>3. GUIPictures.cs (~ Ln 1643):</u></p><p></p><p>Remove condition <span style="color: SeaGreen"><em>if (SelectedItem.IsFolder && SelectedItem.Label != "..")</em></span> and leave only <span style="color: SeaGreen"><em>folderHistory.Set(SelectedItem.Label, currentFolder);</em></span>.</p><p></p><p>And I'm not sure, but together with it probably it's necessary to remove the condition <span style="color: SeaGreen"><em>if (rootItem.Label == "..")</em></span> completely with <span style="color: SeaGreen"><em>{...}</em></span></p><p>from all three documents (GUIMusicFiles.cs (~ Ln 1230 ), GUIVideoFiles.cs (~ Ln 603), GUIPictures.cs (~ Ln 1702))</p><p></p><p>Please, comment it.</p><p></p><p><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p></blockquote><p></p>
[QUOTE="Balagun, post: 369610, member: 83505"] Hello all! I have small improvement suggestion. At navigation in the items list of "My Music", "My Pictures", "My Videos" I have noticed small inconvenience. The situation: I am in some nested folder and I've selected some list item, which is distinguished from "..". When I exited out this folder by pressing "ESC" and I returned back to this folder, then I have the same selected list item, which was selected before exiting. It's absolutely logical and correctly. However when I exited out this folder by selecting of the item ".." and by pressing "Enter" and I returned back to this folder, then I have the selected list item, which was last selected before exiting, but not "..". I think it's not logical and not correctly. I think that after returning to this folder should be selected ".." as last selected item before exiting. Here is solution. [U]1. GUIMusicFiles.cs (~ Ln 401 ):[/U] Remove condition [COLOR="SeaGreen"][I]if (SelectedItem.IsFolder && SelectedItem.Label != "..")[/I][/COLOR] and leave only [COLOR="SeaGreen"][I]_dirHistory.Set(SelectedItem.Label, currentFolder);[/I][/COLOR]. [U]2. GUIVideoFiles.cs (~ Ln 494):[/U] Remove condition [COLOR="SeaGreen"][I]if (selectedListItem.IsFolder && selectedListItem.Label != "..")[/I][/COLOR] and leave only [COLOR="SeaGreen"][I]_history.Set(selectedListItem.Label, _currentFolder);[/I][/COLOR]. [U]3. GUIPictures.cs (~ Ln 1643):[/U] Remove condition [COLOR="SeaGreen"][I]if (SelectedItem.IsFolder && SelectedItem.Label != "..")[/I][/COLOR] and leave only [COLOR="SeaGreen"][I]folderHistory.Set(SelectedItem.Label, currentFolder);[/I][/COLOR]. And I'm not sure, but together with it probably it's necessary to remove the condition [COLOR="SeaGreen"][I]if (rootItem.Label == "..")[/I][/COLOR] completely with [COLOR="SeaGreen"][I]{...}[/I][/COLOR] from all three documents (GUIMusicFiles.cs (~ Ln 1230 ), GUIVideoFiles.cs (~ Ln 603), GUIPictures.cs (~ Ln 1702)) Please, comment it. :thx: [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
Improvement suggestion of navigation in items list (I think it's more conveniently)
Contact us
RSS
Top
Bottom