LawnchairLauncher / lawnchair

No clever tagline needed.
https://lawnchair.app
Other
8.92k stars 1.18k forks source link

At a glance cropped for Smartspacer #4096

Open sarojpanda44 opened 5 months ago

sarojpanda44 commented 5 months ago

Describe the bug

I'm using Smartspacer as At a glance provider and the Smartspacer is cropped on each side. In version #314 the margin crop was minor (ignorable) but in version #450 it's too much cropped.

Difference is the Pixel launcher home screen grid is 5x5 and in Lawnchair the home screen grid is 5x6.

It is fixed if I change the grid to 5x5 but I prefer to have more rows and want the At a glance not to be impacted regardless of the grid size.

Screenshot_20240226-135638

Steps to reproduce

Steps to reproduce the behavior:

  1. Install and configure Smartspacer.

  2. In the Home screen option change the layout grid to 5x5

  3. In the Lawnchair experimental features enable "At a glance provider selection"

  4. Go to At a glance and enable "Show on Home Screen”

  5. Below that click the option and change the provider to Smartspacer.

  6. Check the At a glance content.

  7. Go back to Lawnchair home screen option and change layout grid to 5x6.

  8. Come back to the home screen and verify the Smartspacer contents.

Expected behavior

Irrespective of changing the home screen grid size, the Smartspacer At a glance contents on the sides should not be cropped. It doesn't crop contents for default Lawnchair At a glance.

Device information

Additional context

No response

st0neh commented 5 months ago

The at a glance should really be separate from the grid setting. If you set the grid setting too high the at a glance is TINY lol.

fg817sw751478 commented 3 months ago

Not fixed in Lawnchair 14 Beta 1.

NiXTheDev commented 3 months ago

This became way worse in Lawnchair 14 beta 2 Screenshot_20240403-172245.png

(Beta 1 screenshot for example:) Screenshot_20240403-163008_Lawnchair.png

everypizza1 commented 3 months ago

Latest Smartspacer update does not help.

fg817sw751478 commented 3 months ago

Latest Smartspacer update does not help.

It's most likely related to Lawnchair's padding, not Smartspacer. Lawnchair 12 has it all fine.

slogar25 commented 3 months ago

Fixed on grids up to 6x7 on debug version #729 6x8 grid still cropped off screen

sarojpanda44 commented 3 months ago

Not sure which phone you are using. But it's not working for me on my Pixel 7 Pro on Dev #729. Screenshot_20240411-094156

slogar25 commented 3 months ago

Not sure which phone you are using. But it's not working for me on my Pixel 7 Pro on Dev #729. Screenshot_20240411-094156

Im on Pixel 8 Pro. Working on 6x7 grid Screenshot_20240411-100817

sarojpanda44 commented 3 months ago

I was playing around with more settings and did some restarts. Somehow is fixed note for me. Guess is fixed. Just need a fresh configuration. Screenshot_20240413-201007

sarojpanda44 commented 3 months ago

So now I know. I reduced the Dock Bottom padding from 100 to 80 and it fixed the Smartspacer padding issue. It is working for you because you are not using Dock

ujwal246 commented 3 months ago

Not sure which phone you are using. But it's not working for me on my Pixel 7 Pro on Dev #729. Screenshot_20240411-094156

(Offtopic) What app you used for pixel clock font widget?

sarojpanda44 commented 3 months ago

It's kwgt widget. Write me on Telegram @sarojpanda44 for the kwgt export.

MrDodojo commented 3 months ago

3x3 grid Unihertz jelly (star) Screenshot_20240428-135851 Screenshot_20240428-140105 Only happens to the smartspacer one. Does get fixed when changing minimum width to 360 instead of 320, but then the rest of the phone becomes unusable.

CoelacanthusHex commented 2 months ago

Only 5x6 grid works on my device..。