Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shadows don't work with PekWM #13

Open
gitguy1988 opened this issue Nov 19, 2024 · 6 comments
Open

Shadows don't work with PekWM #13

gitguy1988 opened this issue Nov 19, 2024 · 6 comments

Comments

@gitguy1988
Copy link

Describe the bug
Shadows are not visible around windows or menus drawn by the pekwm
To Reproduce
Start pekwm window manager
Start fastcompmgr -c

Desktop (please complete the following information):

  • Distribution: Arch Linux

  • Graphics:
    Device-1: Intel Meteor Lake-P [Intel Arc Graphics] driver: i915 v: kernel
    Device-2: NVIDIA AD107GLM [RTX 2000 Ada Generation Laptop GPU]
    driver: nvidia v: 565.57.01
    Display: x11 server: X.Org v: 21.1.14 with: Xwayland v: 24.1.4 driver: X:
    loaded: modesetting,nvidia gpu: i915 resolution: 1920x1200~60Hz
    API: EGL v: 1.5 drivers: iris,nvidia,swrast
    platforms: gbm,x11,surfaceless,device
    API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 565.57.01
    renderer: NVIDIA RTX 2000 Ada Generation Laptop GPU/PCIe/SSE2

  • Version: fastcompmgr 0.4

Additional context

  • does the bug happen without compositor? no
  • does the bug happen using xcompmgr/compton/picom? no
    pekwm_screenshot-20241119T135442-1920x1200

PekWM Version is 0.3.0

I have tried fastcompmgr on raspberrypi os with pekwm as well, and no shadows there either. Opacity seems to work fine.

Shadows DO appear around windows generated from the parent window (preferences dialogs, find dialogs, context menus etc), but none of the root windows nor the window manager menu have shadows.

@tycho-kirchner
Copy link
Owner

Thanks your the report. Until my pekwm issue is resolved, I suggest you try my proposed fix, to set params.attr.override_redirect = False; in src/PDecor.cc::PDecor::createParentWindow. Please report any potential side-effects.

Thanks, Tycho

@gitguy1988
Copy link
Author

Thank you for the helpful suggestion. Your workaround fixed all the shadow issues with no apparent side effects so far.

@tycho-kirchner
Copy link
Owner

Thanks for the update. I'm happy to inform you that pekwm was updated and apparently fastcompmgr now correctly renders its shadows on normal windows.

@biopsin
Copy link

biopsin commented Dec 11, 2024

Unfortunately no change; tested against pekwm-0.3.1 and fastcompmgr-0.5.1 also want to add same shadow issue exist with cwm-7.4 running fastcompmgr with suggested runsettings. Not much to discover in logging tty either..

@tycho-kirchner
Copy link
Owner

Unfortunately no change; tested against pekwm-0.3.1 and fastcompmgr-0.5.1

pekwm release 0.3.1 does not include the fix. You have to clone the repo and build from source 😉. See also here.

@tycho-kirchner
Copy link
Owner

tycho-kirchner commented Dec 11, 2024

same shadow issue exist with cwm-7.4

I cannot reproduce. On my Debian 12 with self-compiled cwm 7.4 I see no issues with shadows. What exactly is the problem?

241211_175200

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants