Giter VIP home page Giter VIP logo

Comments (7)

acaudwell avatar acaudwell commented on July 19, 2024

Hi. Is this with the latest version 0.52? Does it happen with the previous version?

Are you using any special video parameters with Gource?

Could you also let me know your desktop video resolution?

Thanks

from gource.

paul-uz avatar paul-uz commented on July 19, 2024

@acaudwell sorry, probably should have given more info!

I installed it fresh from Brew yesterday. Confirmed, its 0.52.

Ran it without any parameters.

My desktop resolution is 3072x1920, with a second monitor plugged in thats 3840x2160

from gource.

acaudwell avatar acaudwell commented on July 19, 2024

Ah k. I added support for high DPI displays (By setting the SDL_WINDOW_ALLOW_HIGHDPI flag) but I don't have a Mac to test. It sounds like the mouse coordinates reported to the application are not correct with that feature enabled.

I could just turn that feature off by default. Unless someone wants to try and figure out the right mouse coordinates scaling to fix it?

from gource.

paul-uz avatar paul-uz commented on July 19, 2024

@acaudwell I'd love to, if I had the slightest clue how to haha.

I noticed soe odd behaviour with this. If I resize the window any amount, the timeline bar does reappear, but the scaling of the view inside the window goes all wrong, so seems like you might be right with the high DPI scaling stuff.

from gource.

acaudwell avatar acaudwell commented on July 19, 2024

I think I've fixed the Retina display bugs on MacOS.

Would be good if you could take another look.

You can install the development version with:

brew install --HEAD gource

from gource.

paul-uz avatar paul-uz commented on July 19, 2024

@acaudwell it certainly looks better! The timeline is now appearing correctly, however, the tracking of the mouse when trying to scrub through is off. The mouse pointer appears behind the line marker, you cannot scrub to the very beginning or end (seems like "deadspace") and the actual accuracy of the mouse tracking is janky :/

from gource.

acaudwell avatar acaudwell commented on July 19, 2024

Thanks for looking.

I think its behaving about the same as it does without a high dpi display.

It's not that intuitive but the slider position reflects the percentage of the log file, rather than reflecting the date, so its not continuous. If there's a lot of entries clumped around a date (e.g. from a big commit, often the first commit) the position will advance beyond the cursor quickly. I did it this way so it can seek the history in constant time and it doesn't need to pre-process the log file.

There is also a limitation of SDL's support for the was high resolutions work on Mac OS that means the mouse position granularity is the same as if the resolution was half, though I don't think that is that noticeable here.

from gource.

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.