Coder Social home page Coder Social logo

Comments (8)

jonas-w avatar jonas-w commented on May 9, 2024 7

I found the bug and opened a PR #154 , the problem was that the screen width is exactly divisible by 7 (days per week / columns) and it checked if the element fits onto the screen by doing a "less than" comparison instead of a "less or equals" so it wrapped the last element into a new line.

from calendar.

m4teh avatar m4teh commented on May 9, 2024 3

Forced to move to Etar, which is unfortunate.
Even manual entry with specific dates places it in a completely random other date. Completely unusable on Pixel 8/pro

from calendar.

popogomo avatar popogomo commented on May 9, 2024 2

@Aga-C


name: Bug report
about: Fix calendar tap issue on Pixel 8 / 8 Pro devices
title: Touch is broken for Pixel 8 Pro
labels: bug, needs triage
assignees: ''


Checklist

  • I can reproduce the bug with the latest version.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Describe the bug

Touch doesn't work properly in the latest version of Calendar (v6.23.1) on Google Pixel 8 Pro running GrapheneOS. For example, in "Monthly and Daily view" the touch recordings are recorded diagonally, e.g. - press on 8th, it will record 7, then press on 15th, it will record 13th, then press on 22, it will record 19th, press 29th. it will record 25th. so going down diagonally from 7 to 25th, etc.

It is not a phone issue as all other apps are working as expected, only this app glitches. Other users also reported the exact same issue on Simple MobileTools Issue tracker. We believe it might be related with Pixel 8 Pro's screen resolution (1344x2992).

To Reproduce
Steps to reproduce the behavior:

  1. Open the the calendar in any view, for example, Monthly View.
  2. Tap to 5th - it will select 4th. Then tap to 16th - it will select 14th, etc. So it doesn't record the taps properly.
  3. If we press and hold the entry (for example, 5th), it will actually highlight the 5th, so it detects we press the 5th, but if we tap 5th, it will still open 4th instead.

This is happening with the out-of-the-box settings.

Expected behavior

Tap should work properly in any view, that is - if we tap to 5th, it should open/select 5th, etc.

Screenshots
Video is provided

Device info (please complete the following information):

  • Model: Pixel 8 Pro
  • OS: GrapheneOS, Android 14
  • Version: 6.23.1
287512301-ba47d11d-792c-452f-936d-b07af4ab5c6b.mp4

from calendar.

m4teh avatar m4teh commented on May 9, 2024 2

Yep same. Needs fixing for sure.

from calendar.

popogomo avatar popogomo commented on May 9, 2024 1

I found the bug and opened a PR #154 , the problem was that the screen width is exactly divisible by 7 (days per week / columns) and it checked if the element fits onto the screen by doing a "less than" comparison instead of a "less or equals" so it wrapped the last element into a new line.

Thanks a million for this!

from calendar.

Aga-C avatar Aga-C commented on May 9, 2024

Please treat this as a completely new issue and adjust your bug report to the issue template.

We don't know if old issues won't disappear, so it's better to not link to them.

EDIT: Thanks!

from calendar.

popogomo avatar popogomo commented on May 9, 2024

Folks, do you have any estimates on this by a chance? Thanks.

from calendar.

Doc-4 avatar Doc-4 commented on May 9, 2024

Can report that I also have this bug with the exact same environment.

from calendar.

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.