Immediate-Mode-UI / Immediate-Mode-UI/Nuklear

X11 scrolling of images with clip region

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
11.4k
Forks
686
Avg merge
4d 1h
Merged PRs (30d)
3

Description

Hello there!
I have met some issue with scrolling of images with active clip region. It is looks like that:

Initial state:
![step-a](https://user-images.githubusercontent.com/6318132/71786878-83192400-3019-11ea-9b31-134c18b9c50c.png)

After scrolling a bit, image will overlap window menu bar.
![step-b](https://user-images.githubusercontent.com/6318132/71786883-9a581180-3019-11ea-9e5d-bdb1757ba724.png)

This effect is absent if there is no clip region defined:
![step-c](https://user-images.githubusercontent.com/6318132/71786902-c4a9cf00-3019-11ea-9406-50e9d79ebfb8.png)

Is it issue with x11 backend or nuklear internals?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the image-scrolling case with an active clip region, then compare it with scrolling without a clip region. Trace the behavior through the X11 backend and relevant Nuklear internals to determine where clipping is lost. Done means identifying the responsible layer and preventing the image from overlapping the window menu bar.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.