dsolonenko / financisto

Financisto - open-source personal finance tracker for Android
http://financisto.com
GNU General Public License v2.0
151 stars 75 forks source link

Widgets have incorrect size (at least under OnePlus launcher) #141

Open engelhro opened 4 years ago

engelhro commented 4 years ago

1. Problems

Primary problem

Screenshot_20200211-230405_cropped

I can't create Financisto widgets with the announced sizes, as two of the three are one row higher than they should.

See screenshot: the "2×1" widget is actually considered 2×2 big and the "3×1" widget actually 3×2 tiles big (while the "4×1" widget takes 3×2 space!?), and they indeed appear on the screen with these incorrect dimensions.

Secondary problem

I can't resize the widgets once created (and make them smaller to match the desired size). The usual white frame with the resizers (dots) appears when long clicking on a widget, but I can't touch/use it as the resizer disappears immediately when trying to do so.

I'm not sure whether I've already successfully used the resize feature before with the Financisto widget(s), but this is probably not the intended behavior.

2. Own Analysis

3. Technical details

4. Other observations

I have a correctly sized 3×1 Financisto widget on one of my screens, but this is an old one – I'm not sure when it was added. It was already created under Android 10 (as the OnePlus 7 Pro was delivered with that Android version), but most probably a slightly older OxygenOS version, and for sure with an older version of the OnePlus launcher (has seen a few updates in the past months). Also the Financisto version at that point in time (second half of year 2019) for sure was an older one, probably 1.8.1.

So I have a widget which I somehow cannot recreate, and once deleted (even accidentally), I will not be able to place it on my screens again until this issue has been resolved…

Thanks for investigating and please let me know whether you need more information!