AxelChat icon indicating copy to clipboard operation
AxelChat copied to clipboard

[bug?] Lossless Scaling (Legacy capture API) keeps bringing unscaled window on top with Ghoster + Axelchat

Open CortexReaver opened this issue 1 year ago • 6 comments

There are some weird behavior, that I don't know how to describe correctly. I am using Lossless Scaling for upscaling old games made with RPGmaker VX engine for my streams, which is working best with windowed mode (because OBS doing stretching of window automatically to the fullscreen) and "Legacy capture API" option turned on (because of no tearing). But there is no screen dimming options (around the upscaled window) in Lossless Scaling itself, so I have to use the other program called Ghoster. Next comes the most annoying part: while AxelChat is running, it either keeps undimming unscaled window and bringing it on top - "jump=1" in Ghoster, or keeps bringing the Windows taskbar on the foreground - "jump=0" in Ghoster. My setup was working perfectly fine with SheepChat previously.

For reproducing this bug you don't to find need to run actual RPG maker game, just try it on any window.

Ghoster: https://www.dcmembers.com/skrommel/download/ghoster/ Lossless Scaling: https://store.steampowered.com/app/993090/Lossless_Scaling/ (closed source, commercial software)

When Ghoster is running in tray, just right click it and chose "settings", it will open the ini file where you can change the "jump" option to see different behavior.

Lossless Scaling settings:

23-12-2024 184921

CortexReaver avatar Dec 25 '24 04:12 CortexReaver

UPD: It happens even with newer versions of Lossless Scaling, just enable "windowed mode". Other setting have no impact on this bug anymore.

CortexReaver avatar Dec 25 '24 04:12 CortexReaver

UPD: I've found a workaround - have just installed a 7-taskbar-tweaker and set "disable_topmost" to "1" in the Advanced options.

CortexReaver avatar Dec 25 '24 09:12 CortexReaver

Hello! I apologize for not answering for a long time, as I have never worked with Ghoster and Lossless Scaling and did not have time to check. Is this problem currently relevant?

3dproger avatar Feb 24 '25 06:02 3dproger

Hi! This is still relevant indeed, but I've found a workaround as I described earlier. So it is not bothering me right now during streaming, but in general it is better to be fixed. Because I either have to disable "disable_topmost" or just to deal with other winodws being on top of Windows taskbar - so yeah, it is still annoying. But I rather have this then taskbar popping every time I try to dim it.

CortexReaver avatar Feb 24 '25 06:02 CortexReaver

Hi! If it's still relevant, I've reworked the rendering code in the latest version. Maybe this will solve the problem

3dproger avatar Oct 13 '25 08:10 3dproger

Cool, I'll try it when I stream next time.

CortexReaver avatar Oct 23 '25 16:10 CortexReaver