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

[fix/pdf-thumbnailview-position] PDF thumbnail view position on the iPad #905

Merged
merged 5 commits into from
Mar 1, 2021

Conversation

hosy
Copy link
Collaborator

@hosy hosy commented Feb 23, 2021

Description

This PR changes the position of the PDF thumbnail view on the iPad from the bottom to the right position.

Related Issue

Motivation and Context

There are some reasons why the right position makes more sense:

  • more visible (PDF) content, if the thumbnail view is on the right side
  • if the thumbnail view is on the bottom, sometimes scrolling gesture activate the iOS app switcher

How Has This Been Tested?

  • open a PDF on the iPad
  • thumbnail view should appear in landscape and portrait mode on the right side
  • open a PDF on the iPhone
  • thumbnail view should appear in landscape mode on the right, in portrait mode on the bottom

Screenshots (if appropriate):

Old version Updated version
Simulator Screen Shot - iPad Pro (11-inch) (2nd generation) - 2021-02-22 at 11 04 11 Simulator Screen Shot - iPad Pro (11-inch) (2nd generation) - 2021-02-22 at 11 08 23

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • Added changelog files for the fixed issues in folder changelog/unreleased

QA

- added orientation changed notification to recreate the constrains, when the device was rotated
@hosy hosy self-assigned this Feb 23, 2021
@hosy hosy added this to the 11.5.2-Current milestone Feb 23, 2021
@hosy hosy requested a review from mneuwert February 23, 2021 10:21
@jesmrec
Copy link
Contributor

jesmrec commented Mar 1, 2021

(1)

This PR changes the position of the PDF thumbnail view on the iPad from the bottom to the right position.

then it should only affect iPad.

I have check in iPhone, and i detected a weird behaviour in portrait mode: the position of the thumbnail list changes from bottom to right at the time you move the device (not necessary to change orientation):

VID_20210301_095612.mp4

@michaelstingl michaelstingl modified the milestones: 11.5.2-Fix, 11.6.0-Next Mar 1, 2021
@hosy
Copy link
Collaborator Author

hosy commented Mar 1, 2021

@jesmrec finding (1) is fixed and you can have a look again. Thank you!

@jesmrec
Copy link
Contributor

jesmrec commented Mar 1, 2021

unfortunately, i still reproduce (1) with commit 24bdf7c

@hosy
Copy link
Collaborator Author

hosy commented Mar 1, 2021

@jesmrec hopefully with the latest commit it is solved.

@jesmrec
Copy link
Contributor

jesmrec commented Mar 1, 2021

Not it is correctly fixed.

Approved on my side.

@jesmrec jesmrec added the Approved by QA Approved by QA label Mar 1, 2021
@hosy hosy merged commit 3e1c025 into milestone/11.5.2 Mar 1, 2021
@delete-merged-branch delete-merged-branch bot deleted the fix/pdf-thumbnailview-position branch March 1, 2021 14:14
@jesmrec jesmrec mentioned this pull request Mar 2, 2021
31 tasks
hosy added a commit that referenced this pull request Mar 3, 2021
* Preparing new version: changed version and build number to 11.5.2 and 188

* Add Themeable support to the Acknowledgements (#900)

* [feature/flat-mdm-settings] Support for MDM setting hierarchies with flat keys (#904)

* - automatic termination + relaunch by notification on MDM changes push
- fix indentation

* - react to setting changes pushed via MDM differently, in a two-step process
	- first notify the user about the changes
	- if the user taps the notification, schedule a relaunch notification and then quit
	- if the user taps the relaunch notification, the app is launched
- request authorization to post notifications if needed

* [fix/pdf-thumbnailview-position] PDF thumbnail view position on the iPad (#905)

* Fixing the thumbnail view position on the iPad in portrait view
- added orientation changed notification to recreate the constrains, when the device was rotated

* added changelog issue

* Calens changelog updated

* fixed QA finding (jumpy thumbnail view on iPhone)

* isPortrait mode is not working and removed it with size class

Co-authored-by: hosy <[email protected]>

* [fix/collapsible-progress-bar-position-flex] Collapse Progress Bar in Detail View (#911)

* Accessing hyper links in PDF view (#913)

* Updated release notes for version 11.5.2

* Calens changelog updated

* [feature/owncloud-online-screentshots] Create Screenshots for Branded Builds with Fastlane (#912)

* updated In-App release notes with marketing fix

* moved calens changelog files into release folder

* Calens changelog updated

* updated SDK to latest master commit

Co-authored-by: Felix Schwarz <[email protected]>
Co-authored-by: hosy <[email protected]>
Co-authored-by: Michael Neuwert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved by QA Approved by QA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants