helloSystem / KWin

KWin.app
3 stars 2 forks source link

Missing visual cues for window snap #10

Open louies0623 opened 1 year ago

louies0623 commented 1 year ago

PC-2-screen0.webm

louies0623 commented 1 year ago

what are the feature?

louies0623 commented 1 year ago

There should be visual cues, otherwise users will think the system is broken.

PC-1-screen0.webm

probonopd commented 1 year ago

Normally there are visual clues indeed. I don't know why there are none in helloSystem; possibly we are missing something in the KWin bundle?

louies0623 commented 1 year ago

Have you fixed it recently? Because it works fine on one of my graphics cards NVIDIA GeForce GT 440, but the others don't.

Then on that graphics card it feels like the driver is not used, because the window has no shadows, and the browser does not execute.

https://github.com/helloSystem/KWin/assets/44593430/ef50e001-c24f-48de-ac86-49b0e24f2adf

And I also like the shape of its prompt box. 20230904_142345

probonopd commented 1 year ago

Something is deeply broken with that graphics card. Which card is it?

louies0623 commented 1 year ago

NVIDIA GeForce GT 440

probonopd commented 1 year ago

Moved the GPU issue to its own ticket, https://github.com/helloSystem/ISO/issues/524, it is a separate issue.

I was able to fix (and disable) the active corner animation, but we are still missing (again) the window snap animation. I don't know yet what needs to be done to fix it (again).

louies0623 commented 1 year ago

What’s confusing is that this will only display normally when the graphics card is faulty. My guess is that the theme may have overwritten it.

louies0623 commented 11 months ago

@probonopd I have an idea, just a speculation, that the visual prompt is successfully displayed because the graphics card is driven by X11, not nvidia, so the BreezeEnhanced effect is not turned on, and it displays normally. The bug is BreezeEnhanced not the kwin.

louies0623 commented 11 months ago

If this is true, please migrate the issue to BreezeEnhanced.

probonopd commented 11 months ago

Not sure whether KWin or BreezeEnhanced is at fault. Can you install kwin_x11 from pkg and run pkg_x11 --replace, then see whether the issue persists? If that fixes it, then KWin.app is at fault.

louies0623 commented 11 months ago

It worked , I tried "pkg install plasma5-kwin" and then clicked kwin.app on the system file.

louies0623 commented 11 months ago

@probonopd I found it. It was indeed a "breeze" problem. I verified again. After reinstalling the system, I installed "x11-themes_plasma5-breeze" and it solved it. KWin was not additionally installed with pkg.

louies0623 commented 11 months ago

It’s just that I don’t like white, so I’ll use blue (same of color as the selection box drawn with the mouse) if possible. 20231002_232425

probonopd commented 11 months ago

Thanks, good to know. Can you find out which file inside one of those packages is responsible for it? My bet would be on a file named something similar to translucentbackground.svgz, but it could also be a different file.

louies0623 commented 11 months ago

I'm not very good at using it, and I don't know how to find it.

louies0623 commented 11 months ago

I can't use the search file. It keeps showing up no matter how I type, and then it keeps closing after I finish typing. It's very troublesome and prevents people from modifying the search results. 20231003_210201

louies0623 commented 11 months ago

This is your reply as found on google. Its file link is“/usr/local/share/plasma/desktoptheme/default/widgets/translucentbackground.” https://github.com/helloSystem/KWin/issues/2#issue-999011881

20231004_001110

I compared it, but in Live the files after "share/plasma" were missing.

probonopd commented 10 months ago

So, can you copy the file(s) into the KWin.app and it will work?

louies0623 commented 10 months ago

Update: The previous method cannot be solved. Currently, plasma5-kwin can only be installed for normal use.