Git Product home page Git Product logo

skryn's People

Contributors

dparnell avatar fasihrana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

skryn's Issues

Memory Creep issues on Windows

I've tested on Windows and Ubuntu 18.04 and the memory creep only seems to be happening on Windows 10. Ubuntu is not creeping memory which leads me to believe that depency crates are to blame.

Perhaps the implementation of these crates isn't perfect or if I've missed something.

Event handling issues on macOS

I have a couple of issues on macOS:

  • Events only trigger when the cursor is over the edge of the window (when the cursor shape turns into a drag icon). This is easy to see with the calculator example.
  • Solid white window while resizing the window.

macOS does have some special consideration for rendering while resizing. In short, the rendering must be performed in the resize handler. See: rust-windowing/glutin#445

If you were to split Window.tick into two methods, one that handles tick events and one that renders, then the render method could be called from the WindowEvent::Resized handler. It looks like you tried to do that with Window.render_root. But there is a lot of additional stuff needed like building display lists, and updating the GL state for glutin. That's about 1/3 of what Window.tick does.

Window crashes immediately after opening

When starting the examples on a freshly installed windows system the window panics while rendering the first frame. The rust panic unwind did not help at all as it only contained the message NotFound without telling me what was missing.

It turned out to be the font FreeMono, as it is used as default font but is missing on a fresh install.

Implement Unit mixing for Height and Width

Scenario

Vbox has several elements and one of them needs to be fixed size. the rest need to be stretched to cover the entirety of the window.

Approach

  1. Get all the child length property (width/height must respect the respective minwidth/minheight properties)
  2. Sum all the calculated Unit::Pixel & Unit::Natural lengths, and minus that from the available bound length

The rest of the Stretchy/Extent lengths can follow the existing rules.

Dependencies

#9

Create an Element for absolutely placing children called AbsBox

Create an element called AbsBox that allows the children to be placed on x,y in element properties.

  1. Can have multiple children.
  2. All children get the same Extent object.
  3. Should allow TRBL properties.
  4. Need a way to bring a child element to foreground over other children and maintain an order that takes precedence over append order of children.

Thread panic on linux when closing a window

The thread panics with the following error.

thread 'WRRenderBackend#0' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', libcore/result.rs:945:5

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.