View Issue Details

IDProjectCategoryView StatusLast Update
0000520OpenMPTUser Interfacepublic2014-07-30 14:08
Reporterkopper Assigned ToSaga Musix  
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionnot fixable 
Platformx86OSWindowsOS VersionXP
Product VersionOpenMPT 1.23.01.00 (upgrade first) 
Target VersionOpenMPT 1.23.04.00 / libopenmpt 0.2-beta5 (upgrade first)Fixed in VersionOpenMPT 1.23.04.00 / libopenmpt 0.2-beta5 (upgrade first) 
Summary0000520: 1.23 User interface icons on XP (?) look awkward
Description

Hi there,

since upgrading from 1.22 to 1.23, I noticed that the new icons in the UI looked quite weird - as if their alpha channel was not interpreted correctly (of course they might be correct, but if so, they are pretty ugly D:).
I think this might be caused by either my obsolete XP system or my high-end GFX card (MBNVIDIA GeForce 7600 GS).

I've added a screenshot of the mess (?).

Hope you can help with this. :/
Nothing heavy though, of course; great release by the way - keep up the good work!

Greetings, kopper

TagsNo tags attached.
Attached Files
ugly.png (46,285 bytes)   
ugly.png (46,285 bytes)   
Has the bug occurred in previous versions?No,
Tested code revision (in case you know it)

Relationships

related to 0000530 resolvedSaga Musix OpenMPT renders buttons as black on remote desktop session 

Activities

Saga Musix

Saga Musix

2014-05-06 20:11

administrator   ~0001635

What are your screen settings, in particular bit depth?

kopper

kopper

2014-05-06 22:04

reporter   ~0001641

Last edited: 2014-05-06 22:07

32 bit colour depth,
1280 x 1024 resolution,
75 Hz refresh rate.

Edit: Just changed my bit depth from 32 to 16 and back, now everything is fine - so, thanks, I guess. :D

PS: Neat icons by the way. (;

Saga Musix

Saga Musix

2014-05-06 22:18

administrator   ~0001643

Strange. Can you please run this test version of OpenMPT? It will show you a couple of message boxes at startup (they should all contain the same message). Can you please paste the content of that message box here? (you can hit Ctrl+C while a message box is open to copy its content)
http://sagagames.de/stuff/mptrack_caps.exe

kopper

kopper

2014-05-06 23:47

reporter   ~0001644

Last edited: 2014-05-07 15:50

Okay, it showed me eigth message boxes, each with the following content:


Open ModPlug Tracker

BITSPIXEL = 32
PLANES= 1
COLORRES = 24
BLTALIGNMENT = 0
SHADEBLENDCAPS = 3

OK

Edit: Strangely enough, after rebooting, the ugliness came back, and the bit depth change trick also didn't work this time.
Edit: Found a solution after some tweaking, but only for the current session (not as before, where it stayed correct) and it's quite a pain in the ass:
Changing the bit depth, opening OpenMPT in 16 bit mode, then switching back to 32 bits whith OpenMPT open fixes the icons.

Saga Musix

Saga Musix

2014-05-07 15:58

administrator   ~0001645

Last edited: 2014-05-07 16:13

Yeah, if OpenMPT detects that Windows uses a bit depth lower than 32-bit (during startup of OpenMPT), it will go back to using pre-multiplied transparency, which explains why it works in that case. However, that doesn't explain at all why alpha-blended icons fail completely for you in 32-bit mode. Have you ever encountered similar issues with other applications?

Saga Musix

Saga Musix

2014-05-07 16:21

administrator   ~0001646

I don't have high hopes that the small modification I did will fix anything, but can you nevertheless re-download the executable from above and see if the icons look any better?

kopper

kopper

2014-05-07 16:27

reporter   ~0001647

Last edited: 2014-05-07 16:29

Not that I remember, really. :|

Edit: You mean the Caps.exe? Re-downloaded, same thing.

Saga Musix

Saga Musix

2014-05-07 18:41

administrator   ~0001649

Alright, one more thing to try. Re-download the executable from above. It should display some message boxes again this time. The content should be "32 1".

kopper

kopper

2014-05-07 21:32

reporter   ~0001650

It did:


Open ModPlug Tracker

32 1

OK

But the icons were the same.

Saga Musix

Saga Musix

2014-05-08 15:00

administrator   ~0001653

Does any of these two executables work for you?
http://sagagames.de/stuff/iconfix.7z

kopper

kopper

2014-05-08 15:42

reporter   ~0001654

Last edited: 2014-05-08 21:06

Indeed; even both.

So should I just change the main EXE-File to one of those?

Saga Musix

Saga Musix

2014-05-08 21:21

administrator   ~0001657

You can do so if you like, I'll incorporate one of the fixes in the official version soon.

Saga Musix

Saga Musix

2014-05-08 21:40

administrator   ~0001659

Fixed in r4044.

Saga Musix

Saga Musix

2014-05-13 16:06

administrator   ~0001670

Seems like icons are now broken in RDP sessions with the new approach, so can you please check whether this version here still works for you? http://sagagames.de/stuff/mptrack_bitmap.exe

kopper

kopper

2014-05-16 11:15

reporter   ~0001680

Last edited: 2014-05-21 14:05

No, this version is broken again. :/

Anything new?

Saga Musix

Saga Musix

2014-06-14 18:38

administrator   ~0001701

For the current OpenMPT release, I decided to revert to the old behaviour, because the black, unusable icons over RDP were clearly a greater problem than icons that just look a bit weird, especially since I couldn't find a system to reproduce the latter issue. However, I've tried a new hack that might help you. Does this version maybe work better, or do you get icons with a pink background now? http://sagagames.de/stuff/mptrack_bitmap.exe

kopper

kopper

2014-06-14 21:55

reporter   ~0001702

Hi there,

neither fixed nor pink - the icons have a black background for me (they are usable however). :/

Saga Musix

Saga Musix

2014-06-15 15:42

administrator   ~0001703

Okay, next try... can you please re-download the file and see if the background is still black?

kopper

kopper

2014-06-15 19:24

reporter   ~0001706

No, the background seems to be fixed; however, the icons still look like the alpha channel is not completely correct (nothing heavy, minor artifacts, most notable on the macro and patterns icon).

Saga Musix

Saga Musix

2014-06-15 20:22

administrator   ~0001708

Alright... I fear that we'll have to leave it at that for now, since I still have no idea why any of this is happening on your system at all, or why the solution that apparently fixed it for you doesn't work in RDP sessions. I hope the lack of alpha channel isn't too much of a problem for you.

kopper

kopper

2014-06-16 23:00

reporter   ~0001709

No, of course not.
I like OpenMPT as much that I would maybe even use it in command prompt mode. ;)

Anyway, thanks for your effort in helping me.
Keep up the good work!

Saga Musix

Saga Musix

2014-07-30 14:08

administrator   ~0001744

I've added the last fix that gets rid of the rogue pixels to the official code a while ago. I'll mark this as resolved until I can maybe find an actual explanation and fix for this behaviour.

Issue History

Date Modified Username Field Change
2014-05-06 19:20 kopper New Issue
2014-05-06 19:20 kopper File Added: ugly.png
2014-05-06 20:11 Saga Musix Note Added: 0001635
2014-05-06 22:04 kopper Note Added: 0001641
2014-05-06 22:05 kopper Note Edited: 0001641
2014-05-06 22:07 kopper Note Edited: 0001641
2014-05-06 22:18 Saga Musix Note Added: 0001643
2014-05-06 23:47 kopper Note Added: 0001644
2014-05-06 23:48 kopper Note Edited: 0001644
2014-05-07 14:42 kopper Note Edited: 0001644
2014-05-07 15:49 kopper Note Edited: 0001644
2014-05-07 15:50 kopper Note Edited: 0001644
2014-05-07 15:58 Saga Musix Note Added: 0001645
2014-05-07 16:13 Saga Musix Note Edited: 0001645
2014-05-07 16:21 Saga Musix Note Added: 0001646
2014-05-07 16:27 kopper Note Added: 0001647
2014-05-07 16:29 kopper Note Edited: 0001647
2014-05-07 18:41 Saga Musix Note Added: 0001649
2014-05-07 21:32 kopper Note Added: 0001650
2014-05-08 15:00 Saga Musix Note Added: 0001653
2014-05-08 15:42 kopper Note Added: 0001654
2014-05-08 21:06 kopper Note Edited: 0001654
2014-05-08 21:21 Saga Musix Note Added: 0001657
2014-05-08 21:26 Saga Musix Assigned To => Saga Musix
2014-05-08 21:26 Saga Musix Status new => assigned
2014-05-08 21:40 Saga Musix Note Added: 0001659
2014-05-08 21:40 Saga Musix Status assigned => resolved
2014-05-08 21:40 Saga Musix Resolution open => fixed
2014-05-08 21:40 Saga Musix Fixed in Version => OpenMPT 1.23.04.00 / libopenmpt 0.2-beta5 (upgrade first)
2014-05-08 21:40 Saga Musix Target Version => OpenMPT 1.23.04.00 / libopenmpt 0.2-beta5 (upgrade first)
2014-05-13 16:06 Saga Musix Relationship added related to 0000530
2014-05-13 16:06 Saga Musix Note Added: 0001670
2014-05-16 11:15 kopper Note Added: 0001680
2014-05-16 11:15 kopper Status resolved => feedback
2014-05-16 11:15 kopper Resolution fixed => reopened
2014-05-18 17:06 kopper Status feedback => new
2014-05-21 14:05 kopper Note Edited: 0001680
2014-06-14 18:38 Saga Musix Note Added: 0001701
2014-06-14 21:55 kopper Note Added: 0001702
2014-06-15 15:42 Saga Musix Note Added: 0001703
2014-06-15 15:42 Saga Musix Status new => assigned
2014-06-15 19:24 kopper Note Added: 0001706
2014-06-15 20:22 Saga Musix Note Added: 0001708
2014-06-16 23:00 kopper Note Added: 0001709
2014-07-30 14:08 Saga Musix Note Added: 0001744
2014-07-30 14:08 Saga Musix Status assigned => resolved
2014-07-30 14:08 Saga Musix Resolution reopened => not fixable