Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Columns UI (Read 4589551 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

Columns UI

Reply #3000

Actually, Im pretty sure the last thing I said in regard to making the globals available to other components was "I'll do it".  Since I am a man of my word, I'll add it to beta 1.

musicmusic, i can't find that mentioned in the changelog, could you add it, please?
It is in the changelog - its included under "other minor changes"

I added the relevant definintions and API to retreive global string and implement the set/get_global functions to the SDK. But I did forgot to add a callback for when the string changes.

i see - so if i understand this correctly, panel's author has to explicitly do something to allow use of $get_global() in its formatting, right?

i thought it would work right away for most places of foobar (using these hooks in foobar 0.9).

could you maybe provide example what has to be done for track info panel to support this?

anyway, i really appreciate all the love and stuff you put in columns_ui, i would have never thought it would get that good .

Columns UI

Reply #3001
I'll fix it for next build, but you can change your screen colour depth to 32bpp to fix it too.

ooops    ...it's not my pc
But even with 32bit the ColumnsUI-buttons are far beyond the standard-buttons... not a matter of taste 

Columns UI

Reply #3002
@Squeller: People were asking for a maximum of flexibility and now they got it at the appropriate price of an increase of complexity. I don't know a better way as manually dragging panels in the UI itself would become a mess (it already was in the sidebar imho and I'm very happy about it being axed finally).

Columns UI

Reply #3003
Now that we can have multiple individual track info panels and the layouts can get very complex:
I'm feeling bad. May someone agree please please please, that layout designing for columns ui has became a rather intellectual task?!

Yea, it can be a bit of a challange, but it's not that hard once you begin to understand how the splitters work.

Columns UI

Reply #3004
don't worry 

Columns UI

Reply #3005
i see - so if i understand this correctly, panel's author has to explicitly do something to allow use of $get_global() in its formatting, right?
Yes

i thought it would work right away for most places of foobar (using these hooks in foobar 0.9).
No, I don't believe it would be possible using the global hooks.

could you maybe provide example what has to be done for track info panel to support this?
Well, something like this:
Code: [Select]
columns_ui::global_variables_list vars;
try
{
pfc::string8 str_global;
columns_ui::static_control_ptr()->get_string(columns_ui::string_global_variables, str_global);
service_ptr_t<titleformat_object> to_globals;
if (static_api_ptr_t<titleformat_compiler>()->compile(to_globals, str_global.get_ptr()))
api->format_func(...,&columns_ui::titleformat_hook_global_variables<true,false>(vars), to_globals, ...);
}
catch (const pfc::exception &)
{
//Coumns UI dead
}
api->format_func(...,&columns_ui::titleformat_hook_global_variables<false,true>(vars), to_script,...)
I didn't try and compile it, so its probably bugged. And you'd use whatever format_title function you are already using I guess.

I'll fix it for next build, but you can change your screen colour depth to 32bpp to fix it too.
ooops    ...it's not my pc
But even with 32bit the ColumnsUI-buttons are far beyond the standard-buttons... not a matter of taste 
Ok
The bug should be fixed in v4 too.
.

Columns UI

Reply #3006
wow you work fast music music  awesome work indeed..

Columns UI

Reply #3007
@Squeller: People were asking for a maximum of flexibility and now they got it at the appropriate price of an increase of complexity. I don't know a better way as manually dragging panels in the UI itself would become a mess (it already was in the sidebar imho and I'm very happy about it being axed finally).

I understand this. I think I understood the layout page, but I've got a problem handling it.

Current problem:

I have a layout like this:

Code: [Select]
Horizontal splitter
     Vertical splitter
          Playlist switcher
          Track info
     Playlist tabs
          Playlist


Now I may want to have an additional track info panel on top or bottom of it all. I think I need this:

Code: [Select]
Vertical splitter
     track info (top)
     Horizontal splitter
          Vertical splitter
               Playlist switcher
               Track info
          Playlist tabs
               Playlist
     track info (bottom)


So how can I easily add a vertical splitter and make the previous stuff a child off it?

And a question: The playlist (as a child of the playlist tabs) is not configurable. Why? I could put the playlist tabs on the same lavel as the playlist, but then the tabs look horrible, they have a thick line at the bottom.

I'm suffering from crashes. Any time I start the task manager (sysinternals process explorer) foobar crashes @columns ui. Anyone else? Win2k sp4 ur1.2

@musicmusic. I'm pretty sure this is support intensive. It may be helpful if there was a way to copy the layout to clipboard (as text).

Columns UI

Reply #3008
You need to reprogram your layout in order to add that supplementary track info panel.

Also, upgrade to the latest columnsUI.  You probably have build 1.

Columns UI

Reply #3009
Hey musicmusic, please add tabbed panel stack natively. it very useful for many people, please made their happy.
all in your hands.

Columns UI

Reply #3010
Quote
Wine is meant to emulate Windows. So if it doesn't happen on Windows, you are right I won't be very interested.
...
2. If you ran Wine in a Terminal you would have seen it is caused by RealChildWindowFromPoint not being implemented in Wine.


Firstable, to be clear - wine is not an emulator. It works as a complete API rewrite, i.e. more less it's like you are running foobar on some other unique version of Windows, rather that under an emulator. Secondly - as I said, it's not the wine bug itself, i.e. wine quits clearly without eny errors. It's the foobar that reports bug. I am always running wine from console to see its messages and/or errors. Again, there are no wine errors at all when foobar crashes.
I though you will be interested in fixing this bug anyway, since a bug is a bug, at least in my opinion.

Quote
3. Audio latency - Well Wine is an emulator.

But how comes under default UI I won't experience any latency? That's why I assume this is somehow ui_columns fault.

Quote
1. Crash when mouse over playlist switcher panel I "fixed" on my side already. But it doesn't excuse Wine.

As I said, it's not wine that crashes, it's foobar. I know your point that this bug won't appear under stock windows, but again, it's the ui_columns that crashes, not wine. I know that your plugin is not meant to work under wine, but why not fixing the bug? It could be that this bug could be causing some other bugs that _would_ happen to crash foobar under Windows, too. I _also_ know that it could just be wine that is triggering this bug in ui_columns, though ui_columns should handle this bug exception somehow and not crash badly

Please, mind that I don't want anybody to treat this as a flame war. I want this to be just a pure technical discussion. Consider, that I just want to use this plugin here, too. Some of the bugs that were causing foobar 0.9 unusable under wine were fixed in the latter's recent release, and thus I'd like to make foobar working as the 0.8.3 was. We all want to use foobar, don't we?

Columns UI

Reply #3011
So how can I easily add a vertical splitter and make the previous stuff a child off it?

Not very easily at the moment. But the ability to copy and paste nodes will make it quite easy to do.

And a question: The playlist (as a child of the playlist tabs) is not configurable. Why?

I guess you're referring to the options on the right side of the page. What exactly do you need them for in this situation?

I'm suffering from crashes. Any time I start the task manager (sysinternals process explorer) foobar crashes @columns ui. Anyone else? Win2k sp4 ur1.2
"Not here". But can you post crash log please. Thanks
.

Columns UI

Reply #3012
Is there any way the option to add a "toggle zone" to the left would be possible with adding a zone at the top?  That way, I could hide my menus and my search zones, easily.

Columns UI

Reply #3013
Quote
Wine is meant to emulate Windows. So if it doesn't happen on Windows, you are right I won't be very interested.
...
2. If you ran Wine in a Terminal you would have seen it is caused by RealChildWindowFromPoint not being implemented in Wine.


Firstable, to be clear - wine is not an emulator.
Well I consider it an emulator. From wikipedia: "A software emulator allows computer programs to run on a platform (computer architecture and/or operating system) other than the one for which they were originally written." You may disagree, I don't think its particulary important anyway.

It works as a complete API rewrite, i.e. more less it's like you are running foobar on some other unique version of Windows, rather that under an emulator.
Right.

Secondly - as I said, it's not the wine bug itself, i.e. wine quits clearly without eny errors. It's the foobar that reports bug.
There are plenty of ways it could crash in my code and be Wine's fault. "It doesn't prove anything."

I am always running wine from console to see its messages and/or errors. Again, there are no wine errors at all when foobar crashes.
I though you will be interested in fixing this bug anyway, since a bug is a bug, at least in my opinion.

Well I am telling you 100% second crash is from unimplemented RealChildWindowFromPoint. If you look at the second crash you can see some odd exception code. Do you know what that exception code is? I don't. My guess: Wine specific. And when I run Wine from terminal I get the second crash too. Accompanied by a message in the terminal saying something about "unimplemented user32!RealChildWindowFromPoint called ... aborting ... passing to debugger". So there you go.

Quote
3. Audio latency - Well Wine is an emulator.

But how comes under default UI I won't experience any latency? That's why I assume this is somehow ui_columns fault.

By the same logic: It doesn't happen under Windows, so its Wine's fault.
If I had to guess, I would say its maybe caused by the visualisation. The Columns UI one runs at a higher framerate. And the rendering code is probably quite different and maybe turns out slow on Wine. Plus default UI stops updating when minimised.

Quote
1. Crash when mouse over playlist switcher panel I "fixed" on my side already. But it doesn't excuse Wine.

As I said, it's not wine that crashes, it's foobar. I know your point that this bug won't appear under stock windows, but again, it's the ui_columns that crashes, not wine.

Yes, but I explained that above.

I just found a message and patch about the specific problem here in Wine:
http://www.winehq.org/pipermail/wine-patch...ary/023772.html

[edit]Here is some reference for the other problem: message, reply
.

Columns UI

Reply #3014
musicmusic/ is it possible to custmoize the menu toolbar? by that i mean not dsiplaying the help menu for example?

Columns UI

Reply #3015
I know that your plugin is not meant to work under wine, but why not fixing the bug?

For the second crash: I am hardly not going to use a function because it is not implemented on Wine!
For the first: I said I did "fix" it!

It could be that this bug could be causing some other bugs that _would_ happen to crash foobar under Windows, too.
Clearly not in this case.

I _also_ know that it could just be wine that is triggering this bug in ui_columns, though ui_columns should handle this bug exception somehow and not crash badly
Please stop calling it a bug in Columns UI! I have added safety check to prevent it from crashing in playlist switcher case. You will notice now ToolTips may not work in the playlist switcher panel under Wine.

musicmusic/ is it possible to custmoize the menu toolbar? by that i mean not dsiplaying the help menu for example?
Nope, not ATM.

Quote
' date='Apr 29 2006, 03:51 PM' post='387563']
Is there any way the option to add a "toggle zone" to the left would be possible with adding a zone at the top?  That way, I could hide my menus and my search zones, easily.

Yes, I was considering making it do that for panels in vertical splitters. I'll probably do it for beta 2.
.

Columns UI

Reply #3016
[/quote][quote name='Stuart60611' post='387430' date='Apr 29 2006, 04:08 AM']
I am having a strange problem with the new the beta and masstaging via buttons.  I have several masstagger scripts for rating which work fine and are bound to hot keys.  Now I am able to bind these scripts to a series of buttons because the scripts appear in context menu of the new button configuration, but the buttons do not active the scripts when pressed.[/quote]\
[/quote]They seem to work here. Have you checked you selected the correct "Item Group" ?
[/quote]\

I am sure that I am selecting the correct masstaging script which works when bound to a hotkey but does not work when activated by pressing a button to which the script is bound.

Columns UI

Reply #3017
musicmusic, using the latest beta (0.1.3b4) I can't really use the context menu options "Move up" and "Move down" in the layout editor - the results are quite unpredictable. I tried it on a subtree on the second level, with three different items, and I ended up with 2 duplicated items and a 3rd different one ordered quite randomly after trying to move them up and down. I can provide a screenshot if you can't reproduce the bug
This thing still rocks, BTW
Thanks, Mark
Life is Real...
(But not in audio :) )

Columns UI

Reply #3018
Quote

I am having a strange problem with the new the beta and masstaging via buttons.  I have several masstagger scripts for rating which work fine and are bound to hot keys.  Now I am able to bind these scripts to a series of buttons because the scripts appear in context menu of the new button configuration, but the buttons do not active the scripts when pressed.

They seem to work here. Have you checked you selected the correct "Item Group" ?


I am sure that I am selecting the correct masstaging script which works when bound to a hotkey but does not work when activated by pressing a button to which the script is bound.
Hi, actually that doesn't answer the question I asked.

musicmusic, using the latest beta (0.1.3b4) I can't really use the context menu options "Move up" and "Move down" in the layout editor - the results are quite unpredictable. I tried it on a subtree on the second level, with three different items, and I ended up with 2 duplicated items and a 3rd different one ordered quite randomly after trying to move them up and down. I can provide a screenshot if you can't reproduce the bug
This thing still rocks, BTW
Thanks, Mark
Thanks for the report, reproduced, looking into it
.

Columns UI

Reply #3019

is there a way to save my layout into .fcs profiles? (or to export them somehow)
I just started to play around with ColumnsUI and i keep screwing things up, so it would be useful
No, not yet. You could create a new preset to mess around in if you like, however.


when do you intend to add this?

and on another note: much obliged for your work on Columns UI/albumlist panel.. it's made my collection of classical music so much more organized
(and yes, also thanks to peter&team for the prog itself )

Columns UI

Reply #3020

Quote

I am having a strange problem with the new the beta and masstaging via buttons.  I have several masstagger scripts for rating which work fine and are bound to hot keys.  Now I am able to bind these scripts to a series of buttons because the scripts appear in context menu of the new button configuration, but the buttons do not active the scripts when pressed.

They seem to work here. Have you checked you selected the correct "Item Group" ?


I am sure that I am selecting the correct masstaging script which works when bound to a hotkey but does not work when activated by pressing a button to which the script is bound.
Hi, actually that doesn't answer the question I asked.


My bad.  I did not have the correct item group selected.  Works perfect.  Thanks a lot for puting this in the new version.

Columns UI

Reply #3021
musicmusic, using the latest beta (0.1.3b4) I can't really use the context menu options "Move up" and "Move down" in the layout editor - the results are quite unpredictable. I tried it on a subtree on the second level, with three different items, and I ended up with 2 duplicated items and a 3rd different one ordered quite randomly after trying to move them up and down. I can provide a screenshot if you can't reproduce the bug
This thing still rocks, BTW
Thanks, Mark
Thanks again for the report. It should be fixed in v5 I just uploaded. But give it a good trashing to make sure



is there a way to save my layout into .fcs profiles? (or to export them somehow)
I just started to play around with ColumnsUI and i keep screwing things up, so it would be useful
No, not yet. You could create a new preset to mess around in if you like, however.


when do you intend to add this?

Don't know, when I get time I guess
.

Columns UI

Reply #3022
Hello !
I just updated with new ColomnUI version, 0.1.3.beta v5, Trackinfo 0.8 and Album Art 0.164A. Everything is working fine, except just a stange error message when I'm closing Foobar. It's telling me : metadb_handle leaks: 2 objects.
What does it mean, and how could I remove this message ?
Thanks.

Columns UI

Reply #3023
Perhaps I have been using to many autoplaylists recently, but I only now noticed that reordering tracks via keyboard or mouse in the Columns playlist is not undoable. I hope the omission of the relevant playlist_manager::playlist_undo_backup() calls is just an oversight and not due to a deep-felt aversion against the undo functionality.

Columns UI

Reply #3024
metadb_handle leaks: 2 objects.
What does it mean, and how could I remove this message ?


change 0.7(track info)  work fine