Skip to main content

Topic: foo_uie_playlists_dropdown (Read 404287 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • mil3s
  • [*][*][*][*]
foo_uie_playlists_dropdown
Reply #75
I like the first alternative.

foo_uie_playlists_dropdown
Reply #76
I will  send you a personal message in the coming minutes  (I will just remove audioscrobbler and foo sic plugins, to keep my stats personal  )


It 's not hard to see this probleme appear, just resize the seekbar, first far from your plugin (i.e. 5-10 pixels of grey comming from your panel) then stick the seekbar to your plugin, and try to expand the dropdown menu  (Try 2 or 3 times if it does not work the first)
  • Last Edit: 31 May, 2006, 08:53:59 AM by Bachi-Bouzouk

  • mazy
  • [*][*][*][*][*]
foo_uie_playlists_dropdown
Reply #77
about those dividers, it's not easy task (i.e. if it should work universaly, taking sorting and other issues into account as mixcherry suggested).

i think that #1 is the way to go (for ppl who want this feature). you can already implement it (given you have font with connected dashes / lines). so maybe something like this should be enough:

1) checkbox + editbox "treat playlists with this name as dividers"
2) some customization of the divider (line color, height, background ...) and maybe checkbox  + editbox "use this titleformatting to draw the divider"
3) really nice feature of this (direct support for divider playlists) would be that user couldn't switch to divider playlist (i.e. make it active) through foo_uie_playlists_dropdown (the line wouldn't get highlighted). plus bonus would be to prevent this foobar-wide (when divider playlist gets active -> select the next one or something like this; maybe track active playlist changes and select the next in the direction the change was made, but that's a lot of work i guess)
info about my tag guesser script for foo_lua (preview version available):
http://www.hydrogenaudio.org/index.php?showtopic=16987

  • mil3s
  • [*][*][*][*]
foo_uie_playlists_dropdown
Reply #78
^ For mixcherrys sake I think he should keep it simple. Number 2 and 3 are completly unnecessary imo. Though it should be possible to select a divider.

Number 1 wouldn't be necessary either. A simple '-' could be set to create a divider without any special settings.
  • Last Edit: 31 May, 2006, 09:29:05 AM by mil3s

  • mazy
  • [*][*][*][*][*]
foo_uie_playlists_dropdown
Reply #79
well i use empty name for separators (looks good enough without any formatting).

as for 2), i wouldn't use simple horizontal lines, as i use vertical pseudo-columns in my formatting.

ad 3), that would be real workflow enhancement for me (even only the basic, foo_uie_playlists_dropdown-internal version)

edit: thinking about it, for the looks of separators, special field for titleformatting for them isn't needed, as i already use the normal one and i do special things for playlists i consider separators. only thing i miss is the ability to change background color for them.

so maybe way to set background color, line color and checkbox "draw separator line". if not checked, it would display whatever the default formatting would return with the exception of using separator's background color.
  • Last Edit: 31 May, 2006, 10:10:29 AM by mazy
info about my tag guesser script for foo_lua (preview version available):
http://www.hydrogenaudio.org/index.php?showtopic=16987

  • xliu5
  • [*]
foo_uie_playlists_dropdown
Reply #80
Don't know if it is a bug or not. The %filesize% tag does not report correct information on files other than mp3 (e.g. cue+ape).

  • mixcherry
  • [*][*][*][*]
  • Developer
foo_uie_playlists_dropdown
Reply #81
It 's not hard to see this probleme appear, just resize the seekbar, first far from your plugin (i.e. 5-10 pixels of grey comming from your panel) then stick the seekbar to your plugin, and try to expand the dropdown menu  (Try 2 or 3 times if it does not work the first)
Thank you! I finally managed to generate this problem!! (thanks to your description) This is rather hard to fix, because the bug occurs kind of randomly :/ ouch...

To all people who have this problem with 'sometimes-not-showing-dropdown-list'. Please, mark the 'Set max height' option (on my plugin's Preferences page) -> you'll have to reset foobar! Does the problem steel occur when the option 'Set max height' is turned ON?

some customization of the divider (line color, height, background ...) and maybe checkbox  + editbox "use this titleformatting to draw the divider"
The divider-line would have to be the same height as all other dropdown lines - that's because I use CBS_OWNERDRAWFIXED window style (and not CBS_OWNERDRAWVARIABLE), if you know what I mean  For non-developer, this means that all lines in dropdown-list must be the same height. And I'm not going to change this.

I think I won't give option to change separator's background color. I'd rather prefer the ability to change each line's background  Maybe something similar to $set_style(...)?... who knows?...

My aim was to keep my all prefereneces on one page  As long as this aim is reached, I think that this plugin is simple and not over-bloated

really nice feature of this (direct support for divider playlists) would be that user couldn't switch to divider playlist (i.e. make it active) through foo_uie_playlists_dropdown (the line wouldn't get highlighted).
This is achievable, and I'll add this option to the 'divider-playlists'. However, your other suggestion to make it 'foobar-wide'... Remember, that it would also work for normal playlist-tabs and Playlist Switcher! I can imagine people who accidentally mark this foobar-wide option to 'omit' divider-playlists, two days later forget about it, and then spam 'support' forums complaining about 'auto-changing-playlists'  This is *not* task for my plugin! Remember, this component is for *displaying* list of playlists, not organizing or changing form/behavior of it.

The best solution is to write separate plugin that groups and organizes playlists (or something) - in the way where other plugins could benefit from it (or not!). This is possible to implement (though, I don't say it's simple!). And I am not going to write this  (in a couple of weeks, at least ).

And BTW, mazy, thanks for all your suggestions

Don't know if it is a bug or not. The %filesize% tag does not report correct information on files other than mp3 (e.g. cue+ape).
Correct, this is a bug  Thanks for the report. I'll try to fix it in the new release.
  • Last Edit: 31 May, 2006, 02:30:54 PM by mixcherry
http://foobar2000.pl/ :: unofficial polish forum

  • Sphix
  • [*][*][*]
foo_uie_playlists_dropdown
Reply #82
Really nice plugin, thanks!
-foobar2000 + Burrrn + EAC
-HD 80Gb using High QualityVBR MP3s

  • mil3s
  • [*][*][*][*]
foo_uie_playlists_dropdown
Reply #83
What is 'Set max height'?

foo_uie_playlists_dropdown
Reply #84
now it works perfectly !!  and as the dropdown panel is made to be one line sized, maybe you should activate this option by default?

  • mazy
  • [*][*][*][*][*]
foo_uie_playlists_dropdown
Reply #85
The divider-line would have to be the same height as all other dropdown lines - that's because I use CBS_OWNERDRAWFIXED window style (and not CBS_OWNERDRAWVARIABLE), if you know what I mean  For non-developer, this means that all lines in dropdown-list must be the same height. And I'm not going to change this.

there was a little misunderstanding. i was talking about the drawn line (which was 1px in the mock up image), not the row (i guess i got these terms mixed ).

I think I won't give option to change separator's background color. I'd rather prefer the ability to change each line's background  Maybe something similar to $set_style(...)?... who knows?...

that would be amazing! now, who's going to do the same to trackinfo panel?

This is achievable, and I'll add this option to the 'divider-playlists'. However, your other suggestion to make it 'foobar-wide'... Remember, that it would also work for normal playlist-tabs and Playlist Switcher! I can imagine people who accidentally mark this foobar-wide option to 'omit' divider-playlists, two days later forget about it, and then spam 'support' forums complaining about 'auto-changing-playlists'  This is *not* task for my plugin! Remember, this component is for *displaying* list of playlists, not organizing or changing form/behavior of it.

all fair, you're right. i would be more than happy with support for this just in your plugin, i.e. when using mouse wheel or arrow keys etc.

thank you for your great plugin, that was something i was waiting for like for ages ...
info about my tag guesser script for foo_lua (preview version available):
http://www.hydrogenaudio.org/index.php?showtopic=16987

  • mil3s
  • [*][*][*][*]
foo_uie_playlists_dropdown
Reply #86
Any news?

  • mixcherry
  • [*][*][*][*]
  • Developer
foo_uie_playlists_dropdown
Reply #87
What is 'Set max height'?
I've explained it here, but it doesn't matter anymore, as I removed this option (nobody used it/knew why does it exist )

Any news?
Sorry, I've been quite busy last few days... Anyway, I've uploaded new version (v0.5.7.5) with simple separator lines. They are very simple for now:
  • You have to rename your playlist to '-' (minus -- without quotation marks ) if you want to use it as 'separator'.
  • 'Separators' are currently selectable, just as any other normal playlist.
  • Color and style of the line is not configurable (actually, the line has the same color as default text).
  • Using separators and sorting dropdown list can result in some unpredictable mess
I'm not planning to improve anything until I finish my exams  But as soon as it is possible, I'll try to add options mazy requested ($set_style(...) etc.).
  • Last Edit: 06 June, 2006, 06:56:43 AM by mixcherry
http://foobar2000.pl/ :: unofficial polish forum

  • Zimdgre
  • [*][*]
  • Banned
foo_uie_playlists_dropdown
Reply #88
I have a request which is not likely would be done, but It'll be really nice if this dropdown plugin can be configured to act like the address bar from Windows Explorer, so we can type the name of the playlist to the dropdown box when it gets focus.

There are only just a few keyboard shortcuts that assigned to a single keystroke by default, like Z, X, C, V, so it's not a big deal if this feature requires a modification on those shortcuts.
  • Last Edit: 06 June, 2006, 10:07:56 AM by Zimdgre

foo_uie_playlists_dropdown
Reply #89
question, how would I go about chnaging the order of the playlists using the dropdown? Is the move up move down in the context menu supposed to move the playlist or the actual component?

  • Squeller
  • [*][*][*][*][*]
foo_uie_playlists_dropdown
Reply #90
A request: Would you please add support for display modes "none", "grey" and "sunken"?

  • roentgen
  • [*][*][*][*]
foo_uie_playlists_dropdown
Reply #91
well... having '-' playlists only to show separators surely wasn't on my wish list ... anyway maybe those that requested this actualy use it...

anyhow... just tested this functionality... and seen some kind of bug
With having the dropdown sorted by %title% and having a '-' playlist, the separator is shown in a different position

screenshot:
[a href="http://img152.imageshack.us/my.php?image=foouiepderr5ks.jpg" target="_blank"] : after using the dropdown menu focus should be set on playlist (or pressing Esc key should deselect the menu and set focus on playlist)... so key down would go to the next item in playlist... not to the next playlist

anyway... great job so far

  • mil3s
  • [*][*][*][*]
foo_uie_playlists_dropdown
Reply #92
Thanks mixcherry for the new version. The dividers are awesome.

A few other requests for future versions.
* A fast way to change places of playlists and dividers without the need to change the layout and add the playlist switcher.
* Scrollbar for long playlist menu. More than 14 entries adds scrollbar in Firefox and Windows folder adressbar.
* Text in center of divider. Not important but would be cool. Not sure if it's possible either.
* Optional 'Playlist'-button. ... you know what I mean. Asked for it earlier.

A request: Would you please add support for display modes "none", "grey" and "sunken"?
No, please don't add this. You can look all over Windows, the border is correct as it is.
  • Last Edit: 06 June, 2006, 01:09:41 PM by mil3s

  • mazy
  • [*][*][*][*][*]
foo_uie_playlists_dropdown
Reply #93
A request: Would you please add support for display modes "none", "grey" and "sunken"?

this is a standard windows combobox control, so it's (imho) fine as it is ...
info about my tag guesser script for foo_lua (preview version available):
http://www.hydrogenaudio.org/index.php?showtopic=16987

  • 4nt1
  • [*][*][*][*]
foo_uie_playlists_dropdown
Reply #94
yes I too second that for none, grey and sunken... please....

  • gfngfgf
  • [*][*][*][*][*]
foo_uie_playlists_dropdown
Reply #95
* A fast way to change places of playlists and dividers without the need to change the layout and add the playlist switcher.

I've been using foo_playlist_manager when I need to move playlists around.  It's just a popup window, so no need to mess around with my layout.

  • Squeller
  • [*][*][*][*][*]
foo_uie_playlists_dropdown
Reply #96

A request: Would you please add support for display modes "none", "grey" and "sunken"?
No, please don't add this. You can look all over Windows, the border is correct as it is.

No one will force you to use it. And which windows? Windows may change as well. Even foo_uie_quicksearch has it, it's a text box. There are lots of beautiful foobars out there. From the point "you can look all over windows" they are evil. Menu bars at the bottom, no menu bars, etc. etc.

Why do I ask for it:

1. With all the possibilities of columns ui you can place this component WHEREEVER and depending on the style of your personal foobar, you may need a borderless.
2. I guess it's easy to implement or offered by the sdk, because many plugins have a frame style option. If not possible. No problem.

I'd like frameless borders because of this (the top panel is the dropdown)



Yes, I misuse it! And I love it!
  • Last Edit: 07 June, 2006, 02:33:11 AM by Squeller

  • mil3s
  • [*][*][*][*]
foo_uie_playlists_dropdown
Reply #97
Squeller: The border as it is now is exactly how it should look (I've created a few XP themes so I actually have some knowledge). This border-look sadly not available in uie_quicksearch, and if mixcherry where to add the other border looks the current look might disappear.

  • mixcherry
  • [*][*][*][*]
  • Developer
foo_uie_playlists_dropdown
Reply #98
I have a request which is not likely would be done, but It'll be really nice if this dropdown plugin can be configured to act like the address bar from Windows Explorer, so we can type the name of the playlist to the dropdown box when it gets focus.

There are only just a few keyboard shortcuts that assigned to a single keystroke by default, like Z, X, C, V, so it's not a big deal if this feature requires a modification on those shortcuts.
I'll think about it, but this is not trivial (especially when I use owner drawing), so I wouldn't expect it very soon. I'd say, 'never' is very possible time. I'd rather make my combobox to highlight items according to keys you press (e.g. highlight 'Default' when you press 'D').

question, how would I go about chnaging the order of the playlists using the dropdown? Is the move up move down in the context menu supposed to move the playlist or the actual component?
See the answer for mil3s questions below. The 'Move up/down' are standard Columns UI's Layout commands and they affect actual component, not list of playlists.

A request: Would you please add support for display modes "none", "grey" and "sunken"?
I'm afraid that with standard Windows' Dropdown List it's not as easy as with e.g. Album Art or Track Info (or Quicksearch). Some code sample would be very helpful, but AFAGK (As Far As Google Knows ), I'd have to do some nasty 'tricks', and this is the thing I do not like very much. I'd also like to have this as an option (so mil3s doesn't have to worry, it would look like now for default), but I can't find way to make my ComboBox borderless... Sorry.

So please, don't request / discuss about 'none' / 'grey' / 'sunken'. If I find a way to implement it, I'll implement it.

well... having '-' playlists only to show separators surely wasn't on my wish list ...
Wasn't that your request?:
I'm wonedring... is there some custom sorting available? 'cause I want the drop-down menu to be sorted by name of playlist not by their order on playlist tabs


anyhow... just tested this functionality... and seen some kind of bug
With having the dropdown sorted by %title% and having a '-' playlist, the separator is shown in a different position
Using separators and sorting dropdown list can result in some unpredictable mess


now... something from my own wishlist  : after using the dropdown menu focus should be set on playlist (or pressing Esc key should deselect the menu and set focus on playlist)... so key down would go to the next item in playlist... not to the next playlist
Yes, that would be useful option, I'll add it.

anyway... great job so far
Thanks

Thanks mixcherry for the new version. The dividers are awesome.

A few other requests for future versions.
* A fast way to change places of playlists and dividers without the need to change the layout and add the playlist switcher.
* Scrollbar for long playlist menu. More than 14 entries adds scrollbar in Firefox and Windows folder adressbar.
* Text in center of divider. Not important but would be cool. Not sure if it's possible either.
* Optional 'Playlist'-button. ... you know what I mean. Asked for it earlier.
  • I know, I know... I have to add options to move playlists using my component. In the meantime, I'd recommend you to use Playlist Manager (from foosion's pack, I believe), just as gfngfgf mentioned.
  • For now, scrollbar is shown with minimum 30 entries (this is the default value for standard dropdown list). I'll make it configurable with next version.
  • Well, it's possible (everything is possible ), but that would require 2 more options under Preferences... And what sort of text should be displayed?... Different for each divider? Some static text? ...I don't know, maybe in foo_playlists_dropdown 2.0  Or maybe the text just after '-' would be shown (e.g. if playlist name was '-yoyoyo', the divider would be shown with text 'yoyoyo' in center of it... I'll think about it).
  • I don't remember if I answered you, but I don't think this is good idea for my little and simple component  You know, this is very individual request and I don't want to make my Preferences more messy than they are now. Same as above, maybe in 2.0...
http://foobar2000.pl/ :: unofficial polish forum

  • mil3s
  • [*][*][*][*]
foo_uie_playlists_dropdown
Reply #99
^Thanks for your replys. Take your time. Looking forward to v2.0