Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOLD for payment 2023-09-07] [$1000] PDF preview shows blank white area #23327

Closed
1 of 6 tasks
kavimuru opened this issue Jul 21, 2023 · 76 comments
Closed
1 of 6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Jul 21, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Open any chat
  2. Send attached PDF attached in this OP

Expected Result:

PDF preview should be shown properly

Actual Result:

PDF preview shows blank white area

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.42-6
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

RPReplay_Final1689772946.mp4
GITK0823.1.MP4

International_Money_Transfer__Send_Money_Abroad_with_Wise__ex-TransferWise_.pdf

Expensify/Expensify Issue URL:
Issue reported by: @DinalJivani
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689772959912119

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01371d83289588168c
  • Upwork Job ID: 1683599874921218048
  • Last Price Increase: 2023-08-21
  • Automatic offers:
    • ShogunFire | Contributor | 26292349
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jul 21, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 21, 2023

Triggered auto assignment to @JmillsExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Jul 21, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@melvin-bot melvin-bot bot added the Overdue label Jul 24, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 24, 2023

@JmillsExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@JmillsExpensify
Copy link

Jumping in to test this now.

@melvin-bot melvin-bot bot removed the Overdue label Jul 24, 2023
@JmillsExpensify
Copy link

I'm able to reproduce this one, so I'll triage it. Note: The white space is only visible in the preview, and I wasn't able to reproduce the same issue on native iOS.

@JmillsExpensify JmillsExpensify added the External Added to denote the issue can be worked on by a contributor label Jul 24, 2023
@melvin-bot melvin-bot bot changed the title PDF preview shows blank white area [$1000] PDF preview shows blank white area Jul 24, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 24, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01371d83289588168c

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 24, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 24, 2023

Current assignee @JmillsExpensify is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jul 24, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak (External)

@alexcherut
Copy link

I don't know what you are using for rendering, but the sample file has a page of 414 x 12454 points.
The page height is equal to 173 inch or 4.4 meters.
Pages that big will likely overflow all the buffers. perhaps, "won't fix" is the most appropriate resolution.

@melvin-bot
Copy link

melvin-bot bot commented Jul 25, 2023

📣 @alexcherut! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  2. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  3. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
    Screen Shot 2022-11-16 at 4 42 54 PM
    Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@alexcherut
Copy link

Contributor details
Your Expensify account email: alex@coscript.biz
Upwork Profile Link: https://www.upwork.com/freelancers/~01b1743757f2e29b3d

@melvin-bot
Copy link

melvin-bot bot commented Jul 25, 2023

⚠️ Missing/invalid email or upwork profile link. Please make sure you add both your Expensify email and Upwork profile link in the format specified.

@melvin-bot melvin-bot bot added the Overdue label Jul 27, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 28, 2023

@JmillsExpensify, @eVoloshchak Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@eVoloshchak
Copy link
Contributor

Pages that big will likely overflow all the buffers. perhaps, "won't fix" is the most appropriate resolution.

@alexcherut, but it's displayed correctly in preview and in other apps, there definately is a way to render this properly

@melvin-bot melvin-bot bot removed the Overdue label Jul 31, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 31, 2023

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

@melvin-bot melvin-bot bot added the Overdue label Aug 2, 2023
@JmillsExpensify
Copy link

Let's close if not reproducible again.

@melvin-bot melvin-bot bot removed the Overdue label Aug 2, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 31, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Aug 31, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 31, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.59-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-09-07. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

For reference, here are some details about the assignees on this issue:

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented Aug 31, 2023

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@eVoloshchak] The PR that introduced the bug has been identified. Link to the PR:
  • [@eVoloshchak] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@eVoloshchak] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@eVoloshchak] Determine if we should create a regression test for this bug.
  • [@eVoloshchak] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@JmillsExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@eVoloshchak
Copy link
Contributor

  • The PR that introduced the bug has been identified. Link to the PR: Not applicable, this is an issue with Safari mobile itself
  • The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N/A
  • A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: this is an edge case that is present only for extremely large PDF files, I don't think an additional discussion is needed
  • Determine if we should create a regression test for this bug.
    Is it easy to test for this bug? Yes
    Is the bug related to an important user flow? Yes
    Is it an impactful bug? No

    While the bug isn't preventing users from using the app, this is a user-facing and commonly used flow, so I think a small regression test is needed here. In addition to that, the PDF limits that were causing the bug can and will change with new devices/OS/Browser versions, so it's important we test this periodically

@eVoloshchak
Copy link
Contributor

eVoloshchak commented Sep 8, 2023

Regression Test Proposal

  1. Open any chat
  2. Click "+" -> "Add attachment"
  3. Select this PDF file
  4. Verify that PDF preview isn't blank

Do we agree 👍 or 👎

@DinalJivani
Copy link

@eVoloshchak Just here to mention I didn't received Upwork job offer automatically!

bump ^^ @eVoloshchak @JmillsExpensify

@pecanoro pecanoro added Daily KSv2 and removed Weekly KSv2 labels Sep 12, 2023
@ShogunFire
Copy link
Contributor

@JmillsExpensify Can you make the paiement thanks

@DinalJivani
Copy link

I didn't received Upwork job offer automatically!

@JmillsExpensify Can you please check if possible

@JmillsExpensify

This comment was marked as outdated.

@JmillsExpensify

This comment was marked as outdated.

@JmillsExpensify
Copy link

Agree with the regression test. I'll get that added. In the meantime, here's the payment summary:

@ShogunFire I see you have a thumbs down on the automated message that the urgency bonus doesn't apply. If you disagree, please explain why.

@JmillsExpensify
Copy link

Upwork job is here: https://www.upwork.com/jobs/~01371d83289588168c. Please apply if not automatically assigned.

@ShogunFire
Copy link
Contributor

@JmillsExpensify Ahah sorry I don't disagree, I was just not happy about it

@DinalJivani
Copy link

@JmillsExpensify
applied on Upwork job.

@JmillsExpensify
Copy link

Ok thanks all!

@DinalJivani Just sent an offer.

@ShogunFire Just issued payment.

@eVoloshchak I believe you'll create a payment request separately.

@JmillsExpensify
Copy link

Everyone paid in Upwork is processed. Keeping open for the regression test and @eVoloshchak's payment.

@melvin-bot melvin-bot bot added the Overdue label Sep 18, 2023
@pecanoro
Copy link
Contributor

Not overdue!

@melvin-bot melvin-bot bot removed the Overdue label Sep 18, 2023
@pecanoro pecanoro added Weekly KSv2 and removed Daily KSv2 labels Sep 18, 2023
@pecanoro
Copy link
Contributor

@eVoloshchak Don't forget to finish the regression so we can finish the payment and close this

@eVoloshchak
Copy link
Contributor

Huh, I thought I already requested the payment for this, but can't find it, looks like I didn't
Requested the payment right now, please double-check it isn't a duplicate

@pecanoro, the regression test proposal is here

@pecanoro
Copy link
Contributor

@JmillsExpensify All ready for you to finish any payments left and close it!

@JmillsExpensify
Copy link

Regression test is created and confirmed that there is a NewDot payment. Closing.

@JmillsExpensify
Copy link

$1,000 payment approved for @eVoloshchak based on BZ summary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants