Giter Club home page Giter Club logo

Comments (5)

kovidgoyal avatar kovidgoyal commented on May 27, 2024

Doesnt reproduce for me with those steps, post the backtrace from the
crash.

from kitty.

thal avatar thal commented on May 27, 2024

After running in a debugger, it looks like it's not actually crashing but instead exiting normally. However it does print this before it exits:

wl_surface@23: error 2: Buffer size (778x321) is not divisible by scale (2)
[359 23:48:18.371285] [glfw error 65544]: Wayland: fatal display error: Protocol error
[Thread 0x7f2a737fe6c0 (LWP 127425) exited]
[Thread 0x7f2a73fff6c0 (LWP 127424) exited]
[Thread 0x7f2a7bfff6c0 (LWP 127413) exited]
[Thread 0x7f2a88dbc6c0 (LWP 127412) exited]
[Thread 0x7f2a7a3fd6c0 (LWP 127415) exited]
[Thread 0x7f2a7abfe6c0 (LWP 127414) exited]
[Thread 0x7f2a895bd6c0 (LWP 127411) exited]
[Thread 0x7f2a89dbe6c0 (LWP 127410) exited]
[Inferior 1 (process 127409) exited normally]

from kitty.

thal avatar thal commented on May 27, 2024

Seems like the size of the window is relevant. I should have mentioned earlier that I'm dragging a sway floating window across the displays.

from kitty.

kovidgoyal avatar kovidgoyal commented on May 27, 2024

Ah, Wayland. The gift that keeps on giving. I'm afraid I don't have the
time/interest to work on this. But PRs are welcome, relevant code is in
glfw/wl_window.c you will most likely need to resize the window to the
closest multiple of the scale of both monitors in
dispatchChangesAfterConfigure. This is pretty poor design in Wayland,
since resizing windows while dragging them around is absolutely not
expected behavior.

from kitty.

kovidgoyal avatar kovidgoyal commented on May 27, 2024

And actually thinking about this some more, I cant believe the right solution is for applications to resize their windows while being dragged around. Maybe report the issue to sway and see what they suggest.

from kitty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.