Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Technical Support

Reply
Thread Tools Search this Thread Display Modes
Old 3rd November 2018, 11:43   #1
justtesting
Junior Member
 
Join Date: Nov 2018
Posts: 8
Winamp 5.8b - Forgets previous window position w/ Modern Skin

Hi, I'm having a problem with the latest 5.8 3660 beta:

When using the Modern Skin (Winamp 3 UI style) after closing the program and opening it again, the player window and playlist window won't retain the previous position. This doesn't happen with the Classic Skin, on which the previous position is restored.
This is under W10 1809 17763.107, previous Winamp 5.666 is free from this issue.
Thanks for looking into it.
justtesting is offline   Reply With Quote
Old 3rd November 2018, 13:31   #2
PeterK.
Quinto Black CT Developer
 
Join Date: Sep 2016
Posts: 589
Quote:
Originally Posted by justtesting View Post
Hi, I'm having a problem with the latest 5.8 3660 beta:

When using the Modern Skin (Winamp 3 UI style) after closing the program and opening it again, the player window and playlist window won't retain the previous position. This doesn't happen with the Classic Skin, on which the previous position is restored.
This is under W10 1809 17763.107, previous Winamp 5.666 is free from this issue.
Thanks for looking into it.

Close Winamp. Go to C:\Users\*****\AppData\Roaming\Winamp. In there you will find a file called studio.xnf. Delete it. Restart Winamp. Everything should be ok now since all sizes and desktop positions of all components are stored in this file.
PeterK. is offline   Reply With Quote
Old 4th November 2018, 00:47   #3
justtesting
Junior Member
 
Join Date: Nov 2018
Posts: 8
Thanks for your response. Unfortunately it doesn't work.

When fresh installed (no roaming Winamp folder) in the first time it starts, I place and resize the Modern Winamp skin to my usual place on bottom right over the start bar (I use an expanded playlist under the main window, resized to the same width with all remaining windows closed, no menus, like it was common on old Winamp 2 days). Then, after relaunching, only the playlist will stay where it was left previously, but the main winamp window will be at top left of the screen (album art and library will remain closed).

Then, by deleting studio.xnf, both player/pl/art/ml will have the position and sizes reset, and after I re-organize them and re-open, the main winamp window will return to top left just as before.

OTH, if remove everything, then install the old winamp 5.666 and place my windows where I want them (working properly after relaunching the program); if do an in-place upgrade to current 5.8b (selecting current skin), Winamp will start in the correct position that was left before on the studio.xnf file. But then, if I move it and close the program, It'll jump back to where it was as 5.6 left it. It seems like the program is failing to write the last position for the Modern Skin on the file, given that it's capable to read and apply values that were created before on a previous Winamp version.
justtesting is offline   Reply With Quote
Old 4th November 2018, 12:03   #4
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,622
Send a message via AIM to MrSinatra
interesting... it would be nice for winamp to have some options in prefs to delete files like this one, caches, temp files, DBs, etc, to "refresh" it or return to defaults, etc.

if not, maybe something to be added to winamp info tool or all about winamp?

PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
MrSinatra is offline   Reply With Quote
Old 4th November 2018, 12:47   #5
PeterK.
Quinto Black CT Developer
 
Join Date: Sep 2016
Posts: 589
Quote:
Originally Posted by MrSinatra View Post
interesting... it would be nice for winamp to have some options in prefs to delete files like this one, caches, temp files, DBs, etc, to "refresh" it or return to defaults, etc.

if not, maybe something to be added to winamp info tool or all about winamp?

Being honest I think it is a good idea users do not know this file. Removing this particular file is called "the last resort" when any other attempt failed. Please remember deleting this file clears ALL settings. You will lose everything from every skin you have had on your desktop since the last installation. So let us keep it a secret.

PeterK. is offline   Reply With Quote
Old 4th November 2018, 13:17   #6
justtesting
Junior Member
 
Join Date: Nov 2018
Posts: 8
I've replied yesterday with my findings about this, but it's still pending approval. Maybe the filename was filtered as link.
The short story is that deleting that file does nothing regarding the issue, only resets all windows, and the problem happens again (main window will always revert to top left). But if the file is created with the correct positions stored under 5.6, then 5.8 will read and apply them but, it'll keep being unable to modify it. This happens only with the modern skin, not classic which behaves ok.
justtesting is offline   Reply With Quote
Old 4th November 2018, 13:45   #7
PeterK.
Quinto Black CT Developer
 
Join Date: Sep 2016
Posts: 589
Quote:
Originally Posted by justtesting View Post
... 5.6, then 5.8..

First of all I would stop switching between 5.6 and 5.8, which as we all know is still beta.
Second: uninstall Winamp and remove ALL leftovers from the installation folder and from this one I showed you. Third: Grab the last official 5.666 Build 3516, install it and I am sure your odd appearances will belong to your past problems.

PeterK. is offline   Reply With Quote
Old 4th November 2018, 14:22   #8
justtesting
Junior Member
 
Join Date: Nov 2018
Posts: 8
Thanks for your help, I believe we are having a misunderstanding.
I created this thread to report a problem with the current 5.8 beta: from a fresh install (no leftovers) it doesn't save the main window position correctly with the Modern skin. It always returns to top left.

I'm a Winamp user since late 90s, so I'm familiar with it's registry and file folders. The last Winamp 5.666 3516 is free from this problem. So, to test if the latest 5.8b has a problem with the file you've pointed (at least on this system), I've done an in-place upgrade to see how it behaved with a previously created and functional position file. And by this way, it'll restore the previous position created with 5.6, but it's unable to update the file to a new changed position for the main window under that skin.

I was already back to Winamp 5.666 3516 as my daily player, since it doesn't exhibit this issue. But it was never the point of this thread.
justtesting is offline   Reply With Quote
Old 4th November 2018, 14:41   #9
PeterK.
Quinto Black CT Developer
 
Join Date: Sep 2016
Posts: 589
Quote:
Originally Posted by justtesting View Post
... I created this thread to report a problem with the current 5.8 beta ...
Well, in this case I think this would be the proper thread.
PeterK. is offline   Reply With Quote
Old 4th November 2018, 14:48   #10
justtesting
Junior Member
 
Join Date: Nov 2018
Posts: 8
Will do, thanks.
justtesting is offline   Reply With Quote
Old 1st December 2018, 11:27   #11
Chad Cloman
Junior Member
 
Join Date: Dec 2018
Posts: 6
Quote:
Originally Posted by PeterK. View Post
Close Winamp. Go to C:\Users\*****\AppData\Roaming\Winamp. In there you will find a file called studio.xnf. Delete it. Restart Winamp. Everything should be ok now since all sizes and desktop positions of all components are stored in this file.
This does not work. All it does is reset the location completely, and keep it that way.

After investigating, there appears to be a problem in WinAmp where it doesn't save the location of the main window when the Modern theme is selected. The playlist window, for example, is correctly saved, provided it's not linked to the main window. But the "Y" position of the main window is always zero in the studio.xnf file, even if I move it and exit WinAmp. So the updated value is not being saved to file.

I was able to manually edit the studio.xnf file to get the main Winamp window where I wanted it. So the problem is not in *reading* that file; rather, it's in *writing* it. And not just writing the whole thing; rather, it's in writing the information for the main window.

One thing, however, even though I've got the main window and the playlist window right where I want them, they are not attached. So when I move the main window, the playlist window stays. What configuration option in studio.xnf will attach them such that when I move one I move them all?
Chad Cloman is offline   Reply With Quote
Old 7th December 2018, 05:10   #12
Chad Cloman
Junior Member
 
Join Date: Dec 2018
Posts: 6
I can verify this occurs in 5.8 beta with the Modern skin and does not happen with the Classic skin. Deleting the studio.xnf file did not fix the problem.

Here are the entries in studio.xnf that I currently use:
code:
<entry name="rect" value="2688,-285,436,285" />
<entry name="restoredrect" value="2688,-285,436,285" />


After investigating, it appears that the code that writes the position and size information to studio.xnf has a bug. The first coordinate, the X-axis position, is written as zero. The last two parameters seem to be written correctly, but the first two (X and Y) are problematic.

Fortunately, the software is able to read the parameters correctly. So I was able to modify the file manually to get the desired screen position.

The problem I now have, however, is that the main window and playlist aren't stuck together, even though they are exactly next to each other. When I move the main window, the playlist doesn't move. Is there a studio.xnf setting that indicates the two windows are connected and should be moved together?
Chad Cloman is offline   Reply With Quote
Old 8th December 2018, 22:00   #13
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,622
Send a message via AIM to MrSinatra
Can u upload a fixed ver so we can send people here for it?

PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
MrSinatra is offline   Reply With Quote
Old 7th January 2019, 23:05   #14
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,622
Send a message via AIM to MrSinatra
Would it be possible for someone to first install 5.666, and then mark the affected files with a temporary .old extension, and then install 5.8, and then delete the affected 5.8 files, and then remove the .old extensions from the 5.666 versions, and get proper behavior that way?

If so, what are the exact files necessary to mark?

Or is this not practical due to other changes / updates in those specific files?

PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
MrSinatra is offline   Reply With Quote
Old 11th January 2019, 21:32   #15
r.e.e.d
Junior Member
 
Join Date: Oct 2002
Location: Brasil
Posts: 43
The problem seems to be the new version of modern skin, removing it and installing an older version from 5.666 the bug disappears.

I uploaded the older version that is working, until someone fix the new one.
Attached Files
File Type: zip Winamp_Modern_5666.zip (494.4 KB, 488 views)
r.e.e.d is offline   Reply With Quote
Old 11th January 2019, 22:04   #16
Chad Cloman
Junior Member
 
Join Date: Dec 2018
Posts: 6
Thank you! Works great!
Quote:
Originally Posted by r.e.e.d View Post
The problem seems to be the new version of modern skin, removing it and installing an older version from 5.666 the bug disappears.
Chad Cloman is offline   Reply With Quote
Old 11th January 2019, 23:44   #17
Chad Cloman
Junior Member
 
Join Date: Dec 2018
Posts: 6
So I've investigated a bit, and found the problem (whatever it actually is) is somehow involved with the PlaylistPro feature added between the two versions. If you don't want to use the older skin provided by r.e.e.d., you can do the following:

1. Exit WinAmp.

2. Go to the following directory:
C:\Program Files (x86)\Winamp\Skins\Winamp Modern\xml
[Note: if you've installed WinAmp somewhere else, or moved the skins directory, make the appropriate changes to the path.]

3. Use your favorite text editor to edit the following file (you may need to run the editor in administrator mode):
player.xml
4. Replace this:
code:
<include file="playlistpro.xml"/>

with this:
code:
<!-- <include file="playlistpro.xml"/> -->


5. Save the file.

6. At this point, the player window will correctly save its position data. Most of the time. If it doesn't save the position, try again. Usually repeating it once or twice will do the trick.

7. The playlist editor, however, is another thing entirely. If you lock it to the player and move the combined player/playlist, the playlist reverts to its old location once you close the playlist or exit WinAmp. To permanently move the playlist editor, you must move it by itself. It's okay to lock it to the player, but you must do that by moving the playlist, not the player.
Chad Cloman is offline   Reply With Quote
Old 15th January 2019, 22:19   #18
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,622
Send a message via AIM to MrSinatra
That is some fine detective work!

PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
MrSinatra is offline   Reply With Quote
Old 15th January 2019, 23:00   #19
Dark_Blue
Junior Member
 
Join Date: Dec 2018
Posts: 12
Great thread. This helps.
Dark_Blue is offline   Reply With Quote
Old 28th January 2019, 08:48   #20
Der_Scanner
Junior Member
 
Join Date: Jan 2019
Posts: 7
Did the change in the xml-file affect the size of modern skin?

I have to set it every launch to 300%.
I use 4k-screen and the standard startup (even at classic skin) will show microscopic size, so I have to set it every time in the preferences
Der_Scanner is offline   Reply With Quote
Old 22nd February 2019, 17:53   #21
bob_in_jersey
Junior Member
 
Join Date: Nov 2005
Location: PA
Posts: 5
Send a message via AIM to bob_in_jersey Send a message via Yahoo to bob_in_jersey
I've just had this issue today. (I was trying to resolve a Windows Experience Index being 1.0 by rerunning the evaluation, which involved removing 3rd-party players like Winamp temporarily. It didn't work.)

The .xml file fix didn't work, as the directory is protected. But the folder-replacement fix did.

B
bob_in_jersey is offline   Reply With Quote
Old 22nd February 2019, 18:38   #22
Chad Cloman
Junior Member
 
Join Date: Dec 2018
Posts: 6
Quote:
Originally Posted by bob_in_jersey View Post
The .xml file fix didn't work, as the directory is protected. But the folder-replacement fix did.
Glad it worked. For protected directories, you can either run the editor as Administrator or change the folder permissions.

One thing I really dislike about Windows are those default directory permissions for the Program Files directories. And I'm always amazed that you can delete the directory but not edit stuff within it. Sigh...
Chad Cloman is offline   Reply With Quote
Old 20th April 2019, 03:05   #23
piesquiet
Banned
 
Join Date: Apr 2019
Posts: 2
interesting... it would be nice for winamp to have some options in prefs to delete files like this one, caches, temp files, DBs, etc, to "refresh" it or return to defaults, etc.

if not, maybe something to be added to winamp info tool or all about winamp?


[Mr Sinatra, you are right, bot banned, tekst left except the quote which had a spamlink in it
~NJK]
piesquiet is offline   Reply With Quote
Old 20th April 2019, 06:21   #24
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,622
Send a message via AIM to MrSinatra
Since that's my text, previous post = bot

PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
MrSinatra is offline   Reply With Quote
Old 28th April 2019, 18:52   #25
evertroy
Junior Member
 
Join Date: Apr 2019
Posts: 1
Thanks!

Quote:
Originally Posted by Chad Cloman View Post
So I've investigated a bit, and found the problem (whatever it actually is) is somehow involved with the PlaylistPro feature added between the two versions. If you don't want to use the older skin provided by r.e.e.d., you can do the following:

1. Exit WinAmp.

2. Go to the following directory:
C:\Program Files (x86)\Winamp\Skins\Winamp Modern\xml
[Note: if you've installed WinAmp somewhere else, or moved the skins directory, make the appropriate changes to the path.]

3. Use your favorite text editor to edit the following file (you may need to run the editor in administrator mode):
player.xml
4. Replace this:
code:
<include file="playlistpro.xml"/>

with this:
code:
<!-- <include file="playlistpro.xml"/> -->


5. Save the file.

6. At this point, the player window will correctly save its position data. Most of the time. If it doesn't save the position, try again. Usually repeating it once or twice will do the trick.

7. The playlist editor, however, is another thing entirely. If you lock it to the player and move the combined player/playlist, the playlist reverts to its old location once you close the playlist or exit WinAmp. To permanently move the playlist editor, you must move it by itself. It's okay to lock it to the player, but you must do that by moving the playlist, not the player.
This worked perfectly and I had to create an account just to thank you! THANK YOU!
evertroy is offline   Reply With Quote
Old 14th July 2019, 07:03   #26
Krosofert
Junior Member
 
Join Date: Jul 2019
Posts: 1
Quote:
Originally Posted by Chad Cloman View Post
So I've investigated a bit, and found the problem (whatever it actually is) is somehow involved with the PlaylistPro feature added between the two versions. If you don't want to use the older skin provided by r.e.e.d., you can do the following:

1. Exit WinAmp.

2. Go to the following directory:
C:\Program Files (x86)\Winamp\Skins\Winamp Modern\xml
[Note: if you've installed WinAmp somewhere else, or moved the skins directory, make the appropriate changes to the path.]

3. Use your favorite text editor to edit the following file (you may need to run the editor in administrator mode):
player.xml
4. Replace this:
code:
<include file="playlistpro.xml"/>

with this:
code:
<!-- <include file="playlistpro.xml"/> -->


5. Save the file.

6. At this point, the player window will correctly save its position data. Most of the time. If it doesn't save the position, try again. Usually repeating it once or twice will do the trick.

7. The playlist editor, however, is another thing entirely. If you lock it to the player and move the combined player/playlist, the playlist reverts to its old location once you close the playlist or exit WinAmp. To permanently move the playlist editor, you must move it by itself. It's okay to lock it to the player, but you must do that by moving the playlist, not the player.
Thanks a lot man!!!
Krosofert is offline   Reply With Quote
Old 21st July 2019, 09:58   #27
kovacsszandra
Junior Member
 
Join Date: Jul 2019
Posts: 1
Amazing thread!! Solved my issue as well, thanks a lot for everyone contributing!
kovacsszandra is offline   Reply With Quote
Old 20th August 2019, 13:45   #28
aaronlee0712
Junior Member
 
Join Date: Aug 2019
Posts: 1
Quote:
Originally Posted by Chad Cloman View Post
So I've investigated a bit, and found the problem (whatever it actually is) is somehow involved with the PlaylistPro feature added between the two versions. If you don't want to use the older skin provided by r.e.e.d., you can do the following:

1. Exit WinAmp.

2. Go to the following directory:
C:\Program Files (x86)\Winamp\Skins\Winamp Modern\xml
[Note: if you've installed WinAmp somewhere else, or moved the skins directory, make the appropriate changes to the path.]

3. Use your favorite text editor to edit the following file (you may need to run the editor in administrator mode):
player.xml
4. Replace this:
code:
<include file="playlistpro.xml"/>

with this:
code:
<!-- <include file="playlistpro.xml"/> -->


5. Save the file.

6. At this point, the player window will correctly save its position data. Most of the time. If it doesn't save the position, try again. Usually repeating it once or twice will do the trick.

7. The playlist editor, however, is another thing entirely. If you lock it to the player and move the combined player/playlist, the playlist reverts to its old location once you close the playlist or exit WinAmp. To permanently move the playlist editor, you must move it by itself. It's okay to lock it to the player, but you must do that by moving the playlist, not the player.
i created the account just to thank you. By the way, for the playlist editor to 'follow' the player every time you open Winamp, right click the playlist editor > Window Settings > Dooked Toolbar > Tick Dock/Undock Windows by Dragging This works for me, hope it helps too.
aaronlee0712 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump