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 4589834 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Columns UI

Reply #3275
Your post made me take a look at foo_uie_albumart, which exhibits the same problem.  The answer is pretty simple: Make a call to EnableThemeDialogTexture() (check the Platform SDK for documentation) for each tab just after they are created.  The only issue might be compatibility with Windows 2000.  I don't have a copy to test with...
Yes that is what I do. Windows 2000 doesn't come with uxtheme.dll, so you need to load the library using either the LoadLibrary method or the delay-load method.
Thank you both! Now the Tab Control looks as expected (and I hope it doesn't crash on Win2k as I use Load Library, but I have no possibility to test it).

I would be surprised if CreateSolidBrush is the source of the rest of the slowdown. To render one screen of the Columns UI playlist, it can create maybe 200 brushes and there isn't any slowdown from that. Is it a Debug build? Otherwise you should profile each section using say the profiler macro to find the cause of the slowdown.
Thanks for your suggestions about improving performance, maybe they won't speedup the component significantly, but every little code optimization is important. Thanks to your advice, I've checked my code (once again), and it occured that you were right - CreateSolidBrush is *not* responsible for the slow-down. This is the good part. The bad part is that now I'll have to re-write large portions of the code

Columns UI

Reply #3276
As soon as I've installed columns ui, foobar starts crashing whenever I double-click a song. Despite all the reading I've done on these forums and in the wikis I'm not even remotely close to solving this problem. Is there ANY way to fix it without simply uninstalling columns ui?

Columns UI

Reply #3277
Feature request- Will there ever be support for making a new row?

Because having

Artist - Album
01. Track
02. Track2

would be just insane for minimal layouts
hi

Columns UI

Reply #3278
As soon as I've installed columns ui, foobar starts crashing whenever I double-click a song. Despite all the reading I've done on these forums and in the wikis I'm not even remotely close to solving this problem. Is there ANY way to fix it without simply uninstalling columns ui?

Post the crashlog and then I can look at it.
.

Columns UI

Reply #3279
Great component musicmusic! I hope these havent been mentioned before (had a quick scan of the last few pages), but i have a couple of feature requests. Not sure if theyd be useful to a wider audience though 

Firstly, the option to disable the active item frame would be amazing...i use fixed width fonts for my layouts, and the frame cuts across the borders, even when its set to the same colour as the selected item. Screenie:

[a href="http://imageshack.us" target="_blank"]

Thanks for any replies

Columns UI

Reply #3280
Post the crashlog and then I can look at it.

The thing is I'm not getting any crashlog. It simply freezes and gives me the standard windows "This program isn't answering"-prompt. When watching the task manager I can see that at the time of the crash the memory usage remains the same but CPU jumps up from 00 to 50. I can't find any type of log or report in any of foobar's directories.

Columns UI

Reply #3281
The thing is I'm not getting any crashlog. It simply freezes and gives me the standard windows "This program isn't answering"-prompt. When watching the task manager I can see that at the time of the crash the memory usage remains the same but CPU jumps up from 00 to 50. I can't find any type of log or report in any of foobar's directories.

Ok. What components do you have installed?
.

Columns UI

Reply #3282
I've only installed foobar2000 itself (version 0.9.1) and Columns UI (version 0.1.3 beta 1v5)

Columns UI

Reply #3283
1. Download Process Explorer
2. Freeze foobar2000
3. Open up Process Explorer
4. Right click on the foobar2000 entry, select properties
5. Go to threads.
6. Double click the first entry beginning with foobar2000
7. Highlight everything and copy it here
.

Columns UI

Reply #3284
Okay, this just plain sucks. I did what you told me to, and when I double click the first entry beginning with foobar2000 (foobar2000.exe+0x8aadd) Process Explorer ALSO freezes! Note that this only happen after I've freezen foobar. If I double click the entry before that, with foobar up and running, I get this:

ntoskrnl.exe!ExReleaseResourceLite+0x2b4
ntoskrnl.exe!IoPageRead+0x892
ntoskrnl.exe!IoGetBaseFileSystemDeviceObject+0x730
win32k.sys+0x2fa0
win32k.sys+0x1b80
win32k.sys!EngFreeUserMem+0x3d38
ntoskrnl.exe!KiDeliverApc+0xb9e
ntdll.dll!KiFastSystemCallRet
foobar2000.exe+0x27d9f
foobar2000.exe+0x287f1
foobar2000.exe+0x289c7
foobar2000.exe+0x8aa74
kernel32.dll!RegisterWaitForInputIdle+0x49

Columns UI

Reply #3285
Okay, this just plain sucks. I did what you told me to, and when I double click the first entry beginning with foobar2000 (foobar2000.exe+0x8aadd) Process Explorer ALSO freezes!
Hmm...  I've had it do  that to me too so not to worry.

Note that this only happen after I've freezen foobar. If I double click the entry before that, with foobar up and running, I get this:
Thanks, but useless  Needs to be when its frozen. The only alternative to do this is to use a proper debugger but Im not going to ask you to do that..

Otherwise, I have no idea. It can't be widespread problem since I haven't had any other reports.

I can only suggest/ask:
-Try updating to foobar2000 0.9.2
-Try a clean config
-What OS?
-Does it happen with files of all type?
-Files aren't stored on a network path?
.

Columns UI

Reply #3286
Oh well, sure is a darn shame. Thanks for trying to help anyway.

-I just updated to 0.9.2 and I'm afraid it didn't solve anything.
-Didn't affect anything.
-Windows xp
-I've tried .mp3, .wma and .ogg and none of them works.
-Nope, they're all here on the same computer and harddrive.

I should mention that I CAN play the songs. And I CAN navigate by using the next/previous-buttons. It only freezes when i double-click a song or select it and press enter.

Columns UI

Reply #3287
It only freezes when i double-click a song or select it and press enter.
That would be the paths going through foo_ui_columns. It could be cleaned up a bit (its partly quite old code), but I don't see anything that should cause that:
Code: [Select]
			else if (wp == VK_RETURN)
{
bool ctrl_down = 0!=(GetKeyState(VK_CONTROL) & KF_UP);
int focus = playlist_api->activeplaylist_get_focus_item();
unsigned active = playlist_api->get_active_playlist();
if (ctrl_down)
{
if (active != -1 && focus != -1)
playlist_api->queue_add_item_playlist(active, focus);
}
else
{
unsigned focus = playlist_api->activeplaylist_get_focus_item();
playlist_api->activeplaylist_execute_default_action(focus);
}
return 0;
}

Maybe you have some evil prog installed that's hooking the UI window? Windowsblinds, or something..
.

Columns UI

Reply #3288
My current foobar layout is flawed... I know how to fix it but i dont want to mess with my different panels. This is my current layout setup.



The flaw is just below the vis in this picture.


Is there any way i can insert a Horizontal Splitter and then move the Verticle Splitter, Playlist tabs and all the stuff contained in those into the Horizontal Splitter? (So i dont have to add the panels again and then resize them)

Columns UI

Reply #3289
I, too, would like to know if this is possible. I have often tinkered around with a layout only to discover I need to promote/demote a panel to another splitter on the tree however I can find no way to do this other than removing the panel and re-adding it onto the desired branch of the tree. This can be really annoying if you are moving multiple trackinfo panels that contain script and font settings you spent a lot of time choosing.

Other preference sections, such as the "Context Menu" allow a user to drag an entry to virtually any position on the tree, would it be possible to replicate this behavior for the ColumnsUI layout config?

 

Columns UI

Reply #3290
I can't get my multimedia keys on my keyboard to work with columns ui. They work perfectly with the default ui, but with columns ui only play works (i.e pause, stop, next & prev does nothing). I searched a bit, but couldn't find any information about this.

http://www.labtec.com/index.cfm/gear/detai...8,contentid=692

EDIT: Using fb2k 0.9.2 & columns ui  0.1.3 beta 1v5

Columns UI

Reply #3291
I can't get my multimedia keys on my keyboard to work with columns ui. They work perfectly with the default ui, but with columns ui only play works (i.e pause, stop, next & prev does nothing). I searched a bit, but couldn't find any information about this.

http://www.labtec.com/index.cfm/gear/detai...8,contentid=692

EDIT: Using fb2k 0.9.2 & columns ui  0.1.3 beta 1v5


Maybe try rebinding your keys in: Prefrences -> Keyboard Shortcuts

Columns UI

Reply #3292
I have the problem with the columns that I just noticed. In an older version, I was able to add the symbol of ♫ to tell me which song is playing. Now it displays a box. Here's a screen shot.



Columns UI

Reply #3294
It's still not working for some reason. On that website, the check and the dot work, but the musical notes do not for some reason.

Nevermind: Changing my font did it.


Columns UI

Reply #3296
The font must have the character. That's why changing the font solved your problem.


Heh, seems this would be more appropriate thread for my two-part wishlist.

#1, ability to hide splitter borders. The bordes nerf attempts to make creative skins for foobar  ( http://www.kotiposti.net/ihmemies/roina/foobar3.png )

#2, background images to different types of boxes, like albumlist, playlist etc.

Please, implement those two if possible, some day. Thanks in advance

Columns UI

Reply #3297
Hello I was wondering if anyone could help me with configuring my layout.  Took me about 3 hours to figure out how to use the damn thing but I finally got the general layout that I want

Code: [Select]
Horizontal Splitter
|- Playlist Tree Panel
|-Horizontal Splitter
|   |-Browser Panel
|   |-Browser Panel
|   |- Track Info
|
|- Playlist tabs
    |- Columns Playlist


I'm to mimic this layout HERE  but one thing remains.

How do I move the buttons to the right hand side of the playlist tabs like in the above screenshot?

Columns UI

Reply #3298
Code: [Select]
Horizontal Splitter
|- Playlist Tree
|- Vertical Splitter
.   |- Horizontal Splitter
.   |   |- Browser Panel
.   |   |- Browswer Panel
.   |   |- Track Info
.   |-  Buttons
.   |-  Browser Playlist


Should give you what you are looking for I think.

Columns UI

Reply #3299
Code: [Select]
Horizontal Splitter
|- Playlist Tree
|- Vertical Splitter
.   |- Horizontal Splitter
.   |   |- Browser Panel
.   |   |- Browswer Panel
.   |   |- Track Info
.   |-  Buttons
.   |-  Browser Playlist


Should give you what you are looking for I think.


nope, that puts the buttons above the playlist window.

Thanks to Bachi-Bouzouk who figured out

Code: [Select]
Horizontal Splitter
|- Playlist Tree Panel
|-vertical splitter
   |-Horizontal Splitter
   |   |-Browser Panel
   |   |-Browser Panel
   |   |- Track Info
   |-Horizontal Splitter
   |   |- Playlist tabs
   |   |- buttons
   |- Columns Playlist