https://bugs.winehq.org/show_bug.cgi?id=52078
Bug ID: 52078 Summary: MusicBee: exception when attempting to drag tabs Product: Wine Version: 6.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sangv@protonmail.com Distribution: ---
Created attachment 71090 --> https://bugs.winehq.org/attachment.cgi?id=71090 The exception MusicBee gives + the console output, in a tarball
When attempting to move the tabs located near the top of the window (the ones labelled "Music", "Now Playing", "Playlists", etc by default) MusicBee will throw an exception. This happens on both my existing MusicBee wineprefix as well as a fresh one, and on MusicBee versions 3.2.6804 and 3.4.7805. In addition to happening in Wine version 6.21, the issue remains in 6.22. Both versions of Wine were compiled from source. I'm using winetricks verbs `windowscodecs dotnet45 mfc42 xmllite gdiplus d3dx9 vcrun2008 wmp10`. My OS is EndeavourOS with kernel 5.15.2-zen1-1-zen. (I don't know how much of this information is really needed but I thought it was all worth a mention just in case?)
Attached I have both the error MusicBee provides, as well as terminal output with debug channels warn+all as no information was printed in the terminal without it.
https://bugs.winehq.org/show_bug.cgi?id=52078
--- Comment #1 from ngoomie sangv@protonmail.com --- Sorry, I made a minor mistake in listing off my winetricks verbs, I use dotnet46, not 45.
https://bugs.winehq.org/show_bug.cgi?id=52078
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.mediafire.com/f | |ile/a2bnughg9i2sv4u/MusicBe | |eSetup_3_4_Update1.zip Summary|MusicBee: exception when |MusicBee: exception when |attempting to drag tabs |attempting to drag tabs ( | |(QueryInterface for the | |interface with IID | |'{83E07D0D-0C5F-4163-BF1A-6 | |0B274051E40}' gives | |Exception E_NOINTERFACE)) Keywords| |dotnet, download Ever confirmed|0 |1 CC| |xerox.xerox2000x@gmail.com Component|-unknown |shell32 Status|UNCONFIRMED |NEW
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- Confirming.
Seems to be related to
0144:fixme:shell:IDropTargetHelper_fnQueryInterface -- Interface: E_NOINTERFACE
as far as I can see
MusicBee v3.4.7805.33439D (Win6.3), 21 Nov 2021 11:42:
System.TypeInitializationException: The type initializer for '#=zm1Nc8CspI0re' threw an exception. ---> System.InvalidCastException: Unable to cast COM object of type '#=zQavV1WCDowuw' to interface type '#=zVl9UZuQ5Doj2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{83E07D0D-0C5F-4163-BF1A-60B274051E40}' failed due to the following error: Exception from HRESULT: 0x80004002 (E_NOINTERFACE).
sha1sum MusicBeeSetup_3_4.exe 12d821daab941f3ec886f792629939afb08fb34a MusicBeeSetup_3_4.exe
(Note: tested with winetricks dotnet48 installed)
https://bugs.winehq.org/show_bug.cgi?id=52078
--- Comment #3 from ngoomie sangv@protonmail.com --- Problem persists in Wine 6.23.
https://bugs.winehq.org/show_bug.cgi?id=52078
--- Comment #4 from Victini v_winebugs@outlook.com --- Happens on Wine Staging 7.7 on Arch Linux, too. Same configuration except with dotnet48 instead of dotnet46. I get a System.NotImplementedException when dragging tabs on MusicBee, as well.
It's worth pointing out that this doesn't just affect the tabs in MusicBee. Most things that can be dragged on MusicBee will result in the same E_NOINTERFACE/System.NotImplementedExceptions, such as images in the Album Covers and Artists views, and track names when an album in those views is selected.
What may be related to this is an issue I've had with playlists in track views. On MusicBee, you are able to drag the tracks, to change the order they're in or drag them onto other playlists. Whenever I try to drag them, I get a lot of DragSourceHelper2_SetFlags stubs:
0104:fixme:shell:DragSourceHelper2_SetFlags (1071F858)->(00000001): stub 0104:fixme:shell:DragSourceHelper2_InitializeFromBitmap (1071F858)->(00A6E4C0, 08FEDFB4): stub
I'm happy to provide the entire log here or file it as a new bug, but considering it's an issue with dragging in general, I figured, might as well post it here.
https://bugs.winehq.org/show_bug.cgi?id=52078
Tarcísio Ladeia de Oliveira wyrquill@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wyrquill@gmail.com
--- Comment #5 from Tarcísio Ladeia de Oliveira wyrquill@gmail.com --- Created attachment 73580 --> https://bugs.winehq.org/attachment.cgi?id=73580 Unstub drag and drop helpers
I have attached a patch for Wine Staging. I've tested it with MusicBee, and it seems to be enough to enable features such as reordering playlists and dragging tabs. The functions and interfaces involved are also supposed to display an image while dragging happens, but I have not implemented that yet. Still, it should already be working much better.
I'm already working on submitting this upstream [1], but as Wine is nearing code freeze, I though it would be a good idea to at least try to get this into Staging so drag and drop can work better.
[1] https://gitlab.winehq.org/wine/wine/-/merge_requests/1371
https://bugs.winehq.org/show_bug.cgi?id=52078
Tarcísio Ladeia de Oliveira wyrquill@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pgofman@codeweavers.com
--- Comment #6 from Tarcísio Ladeia de Oliveira wyrquill@gmail.com --- CC'ing Paul Gofman
I attached a patch for Wine Staging to fix this issue.
(I guess I should have CC'ed directly when submitting the attachment, but I couldn't find a way to do it)
https://bugs.winehq.org/show_bug.cgi?id=52078
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |58ee8c1107ede82b748d5ce66f0 | |3058a650be238 CC| |infyquest@gmail.com Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #7 from Vijay Kamuju infyquest@gmail.com --- A fix is now committed for this. Marking as closed.
https://gitlab.winehq.org/wine/wine/-/commit/58ee8c1107ede82b748d5ce66f03058...
https://bugs.winehq.org/show_bug.cgi?id=52078
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.21.
https://bugs.winehq.org/show_bug.cgi?id=52078
Victini v_winebugs@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |v_winebugs@outlook.com
--- Comment #9 from Victini v_winebugs@outlook.com --- I still seem to be getting this in WINE Staging 9.22 unfortunately, but with System.NotImplemented exceptions in MusicBee (CachyOS, uses base Arch's multilib repo) - might sound like a dumb question but is this fixed in the non-staging version of 9.22? Arch is still on 9.20 so I'm unable to test.