0 Members and 1 Guest are viewing this topic.
If you are willing to share a debug version, it would be much appreciated!
Can I also know what windows 10 version you are using(use "winver" command)?
Video: https://skrinshoter.ru/vbpWx3anUDr
https://disk.yandex.ru/d/rkuyG5XKbUOZ5Q22H2 (19045.6456)
Another question is about plugin API call, so do I have to call `.AddRef`/`.Release` explicitly for each `IUnknown` instance created/queried?Please see this piece of code in my plugin, it is used to get menu item by ID, (please ignore C++/CLI ^ handles and grammars, they are only managed code), basically it calls `IAIMPServiceMenuManager::GetByID` under the hood, when `IAIMPMenuItem` instance obtained successfully, I wrap it to my `AimpMenuItem` managed class instance and deliver it back to managed code to be used later.At this time, I don't want the `IAIMPMenuItem` instance to be garbage collected or something, so I did not call `->Release` on it, in my option, calling `Release` on an `IUnknown` instance will destroy the instance, am I right or am I wrong? And must I call `.Release` at some point, like when application exiting? Can you try to explain to me? (This may sound stupid to you, apologize for my little knowledge about COM and delphi)
virtual DWORD __unknwncall Release(void) { DWORD reference_count = --counter; if (reference_count == 0) delete this; return reference_count; }
class MyObject: public IUnknown{ IUnknown* ptr; // a raw pointerpublic: MyObject(IUnknown* ptr): ptr(ptr) {} virtual ~MyObject() { if (ptr) ptr->Release; // release raw pointer here // 'cause object doesnt own it anymore }};
IUnknown* service = ... ... service->AddRef(); // u copy the raw pointer // to MyObject object MyObject* obj = new MyObject(service); MyObject->AddRef(); // also increase the // counter of the created object ...
virtual HRESULT Initialize(IAIMPCore* core) { core->AddRef(); // Mistake - Memory leak ... }
DarkDrawKill
First, the transparent float window is not transparent for mouse clicks.Here is a small video that illustrates the issue: https://disk.yandex.ru/i/CHWmk4a8lNkp2w I'm trying to select a song to play but fail because the mouse pointer clicks are transferred to an invisible (transparent) lyrics window.
v1.2.3Preferences for Window not workingAnd this:
Windows 10 Pro x6422H209.09.202419045.6456Russian
AMD Ryzen 3 2200G with Radeon Vega Graphics 3.50 GHz16,0 GB224 GB SSD Patriot Burst Elite 240GB, 932 GB HDD TOSHIBA HDWD110, 466 GB HDD SAMSUNG HD503HIAMD Radeon(TM) Vega 8 Graphics (2 GB)
[aimp_floating_lyrics_plugin]LyricsWindowOpened=0PlayStyle=1MultiLineScroll.InactiveLineOpacity=0FadeInOutPlayer.LetterSpacingAnimationSpeed=0TextShadowEnabled=0TextShadow=#FF000000,2,2,5TextStrokeEnabled=0TextStroke=1,#FFFFFFFFFontFamily=Segoe UI,Segoe UIFontSize=50FontColor=#FFA2FF00FontWeight=400LetterSpacing=0BackgroundColor=#A0FFFFFFLyricsWindowClickThrough=0LyricsWindowHideWhenNoLyrics=0LyricsWindowAlwaysHideTaskbar=0ShowLog=0LyricsWindowRect=457,488,1000,120
Code: [Select]Windows 10 Pro x6422H209.09.202419045.6456RussianCode: [Select]AMD Ryzen 3 2200G with Radeon Vega Graphics 3.50 GHz16,0 GB224 GB SSD Patriot Burst Elite 240GB, 932 GB HDD TOSHIBA HDWD110, 466 GB HDD SAMSUNG HD503HIAMD Radeon(TM) Vega 8 Graphics (2 GB)Code: [Select][aimp_floating_lyrics_plugin]LyricsWindowOpened=0PlayStyle=1MultiLineScroll.InactiveLineOpacity=0FadeInOutPlayer.LetterSpacingAnimationSpeed=0TextShadowEnabled=0TextShadow=#FF000000,2,2,5TextStrokeEnabled=0TextStroke=1,#FFFFFFFFFontFamily=Segoe UI,Segoe UIFontSize=50FontColor=#FFA2FF00FontWeight=400LetterSpacing=0BackgroundColor=#A0FFFFFFLyricsWindowClickThrough=0LyricsWindowHideWhenNoLyrics=0LyricsWindowAlwaysHideTaskbar=0ShowLog=0LyricsWindowRect=457,488,1000,120AIMP and plugin clean installation doesn't help
Does edge browser work normally on your system? After you enable/disable hardware acceleration, does edge browser also work normally?
Also, you can try upgrading your graphic card driver to latest stable version.
YesI will not update drivers or reinstall Windows.
No need to re-install windows or upgrade driver now.Quick yes-no questions:After a clean installation and enable floating lyrics window: 1. Is floating window's background half-transparent white? 2. Try playing a song with lyrics, is text color white by default? I'll try uploading a new debug release tomorrow if you are willing to test, thank you for your time I must apologize for those issues happens on your system, I'm downloading your os image now, hopefully I can re-produce your issue in virtual environment.
1. Fully transparent2. Black