On Wed Jul 3 00:03:30 2024 +0000, Alfred Agrell wrote:
The message shows up if I start some random program in Wine that just wants to show the label somewhere (like GetOpenFileName), or if the program just wants other information (for example https://github.com/mirror/make/blob/d66a65ad5a0e31b287f53930b0f09e31801f1613...). Having to add WINEDEBUG to every program with a file dialog sounds tedious, so I would quite appreciate changing it somehow. But you're right, that volume_label_warn variable wasn't the best idea I've had. I can drop the message completely if you'd prefer that, but mac doesn't run dbus, so I suspect the warning still has a few usecases.
If you ask me, I'd prefer to not touch the message (until it is fixed in a way so that the serial and label are always available like on Windows) or turn it into FIXME. I think WINEDEBUG=-all is the right and only answer for unwanted debug message output. Our, I don't know, WINEDEBUG=-all by default but it would be a global change not specific to this place. Some things might be printed excessively of course but in general notifying on some missing stuff which is harmless in the most of cases is a common Wine practice, currently WINEDEBUG=-all and / or redirecting stderr is the proper answer.