Git Product home page Git Product logo

feht2's People

Contributors

penma avatar

Stargazers

 avatar

Watchers

 avatar  avatar

feht2's Issues

pointer warparound

Like in Feh. Unfortunately that code is full of magic numbers and so it has to be figured out how to do it right.

Is also lacking any handling of warp limits. API exists but is not implemented on either side. Warp limits will not prevent emission of events, they will only prevent pointer warping - keyboard input will scroll as well and should not allow excess scrolling either.

Luckily most of this happens in common/input and so this issue is relatively self-contained.

proper font handling

Font path and font name are hardcoded.

Long-term goal: configure font(path)(s) in config file.

Mid-term goals:

  • Automatically populate font path with something useful for the system (ideally, X11 font path... must find out more about this)
  • Try several fonts, one of which is likely to be installed

reimplement thumbnail scaling to exactly the right size

0976491 changed behaviour to just save the next-largest power of two and downscale that as needed at render time. However, even on fast boxes, this ad-hoc rendering does, while not making in unacceptably slow, make it look less smooth.

There are two possibilities:

  1. Store the right size in addition to the next power of two.
  2. As before, store only the right size. This will make regeneration a bit slower, but that can be sped up by using the ondisk thumbnail cache if a suitable size is available. (It doesn't matter if we open the original or the thumbnail if all we want is a smaller thumbnail.)

improve user interface for thumbnail zooming

Current system is maybe obvious to a developer but not to a user. Change this to something better.

Ideas:

  • Displaying white frames temporarily to emphasize what the new layout will really be looking like.
  • Fix aspect ratio, map drag distance to scale factor and change the ratio in a different way.

thumbnail generation priorities

Useless to have user wait for thumbnails that he doesn't want to see. Have priorities.

  1. Thumbnails that are currently visible in the window. Maybe a few ones ahead too, so when scrolling down thumbnails are already done.
  2. Invisible ones. Just linearly from beginning.

For each of the two sets:

  1. Missing thumbnails
  2. Thumbnails that are present but smaller than requested
  3. Thumbnails that are larger than requested.

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.