Camera icon indicating copy to clipboard operation
Camera copied to clipboard

Bug: Labels are misplaced on tablets / Feature: Please add support for tablet/horizontal layout

Open ghost opened this issue 6 months ago • 3 comments

When using my Pixel Tablet in landscape orientation (as it should be) and opening the Camera app by double-clicking the power button from the lock screen, I found that the screen suddenly rotated from horizontal to vertical the moment the Camera app was turned on, and after the automatic rotation, the labels were misaligned, with the camera mode incorrectly marked as VIDEO.

Image

As shown in the screenshot above, the camera mode which should be marked as CAMERA, was marked as VIDEO.

What's more, when you actually switch to the recording mode, the video preview screen is partially rotated. In other words, at this time you can only see pictures on the screen that are completely different from the real direction. What is displayed on the screen is always 90 degrees different from the real world:

Image

What's worse is that the recorded and saved video images are also rotated 90 degrees.

This issue was raised in the hope of resolving the bug while supporting tablet layout.

Currently, even when the Camera app is opened with the screen unlocked (not opened by double-clicking the power button when the screen is locked) and then used horizontally, the text of each menu and setting option is vertical.

I hope you can add a tablet/horizontal layout to the camera app to completely solve this bug.

ghost avatar May 20 '25 03:05 ghost

Hi,

The layout for the camera app currently only supports forced vertical/portrait orientation keeping regular mobile devices in mind. Directly supporting horizontal layout might not be ideal, but we could support it for a certain constraint of screen sizes in which having support for the same would be helpful.

Will update this thread when this issue gets fixed or changes for the same is included in one of our PRs.

Thanks a lot for trying out our camera app and reporting this issue!

MHShetty avatar May 23 '25 20:05 MHShetty

Hi MHShetty, I really appreciate seeing all of the work that you put into the GrapheneOS' Camera app, including how responsive you are here on GitHub!

The layout for the camera app currently only supports forced vertical/portrait orientation keeping regular mobile devices in mind. Directly supporting horizontal layout might not be ideal, but we could support it for a certain constraint of screen sizes in which having support for the same would be helpful.

I understand where you're coming from, knowing that the application is is used across many different devices, but even so, this seems weird because the application is designed for integration with GrapheneOS, and GrapheneOS currrent officially supports a tablet - the Pixel Tablet, so at least with that case in mind, this would really improve the UI and UX for tablet users.

In my experience, another problem with the portrait-only frame is that is can be difficult to use gesture navigation to swipe between apps at the bottom of the screen, if the device is set to landscape orientation, but GOS Camera forces portrait mode. The navigation does not always work, and having native support for landscape mode would eliminate the issue entirely on tablets.

I hope you can keep this in mind or see if it's feasible to test it yourself!

kasia-de avatar May 29 '25 11:05 kasia-de

Hi @kasia125,

Thanks a lot for your kind words and appreciation!

We have an ongoing revamp of our application in the way that focuses more on improving the code and processes we use internally along with some major feature add-ons. Will include testing against tablet devices on emulator to ensure that tablets work as expected in both vertical/horizontal layouts in it along with support for seamless orientation switch without restarting the camera and letting other functionality work normally in such cases.

Thanks a lot for trying out our camera app and reporting this issue!

MHShetty avatar May 29 '25 18:05 MHShetty