TBog / TBLauncher

based on https://github.com/Neamar/KISS
GNU General Public License v3.0
140 stars 18 forks source link

Widgets gone after update to 7.4 #401

Open abonhote opened 1 year ago

abonhote commented 1 year ago

Description

After updating to 7.4, my two home widgets disappeared. They seem to be registered, I can chose to remove/move/resize them, but apart from remove, nothing seems to do anything. No border appears.

I can remove the widgets, but re-adding them just adds them to the registry. They're not visible.

Context

Upgrade 7.4, widgets.

https://youtube.com/shorts/nhrkigodtFk?si=tirZoy_23O6y5mhR

Steps to Reproduce

Device info

bencew commented 1 year ago

I've figured out that opening an app from the app list in "Search", then hitting the Home button brings up my widgets. The Home button is set to "Show <> desktop". Then if I switch between "Search" and "Show <> desktop" by tapping on the screen, the widgets disappear again.

abonhote commented 1 year ago

Not an android dev, but could it be an issue related to screen resolution? Whenever I change the resolution, my widgets get lost/moved around, even with 7.3. Maybe one of the bumps contained changes in that area.

Just guessing...

abonhote commented 1 year ago

As this ticket is not marked as bug, is there something I am doing wrong?

Edit: thanks @TBog 👌🏻

JukeboxZulu commented 1 year ago

I am also having this issue, widgets can still be clicked on but are invisible. Using my home button (set to Toggle Search/Widget) does not show the widgets. While in Search, using back button (set to Show Widgets) does show widgets.

Hope this helps to debug.

TBog commented 1 year ago

Interesting. I'll try to revert any changes related to the widget screen. I'll also add more debug information and reset options for widgets so we don't accidentally place them outside of the screen.

TBog commented 1 year ago

From the video I see that <widget><size width="750" height="330" /><position left="0" top="0" screen="0" />< widget> You may have to scroll left to see the widget.

abonhote commented 1 year ago

I have disabled pages, I can't scroll.

Screenshot_20230920_072329_TinyBit launcher.jpg

In 7.3, this is my topmost widget, working perfectly:

Screenshot_20230920_072507_TinyBit launcher.png

TBog commented 1 year ago

I have disabled pages, I can't scroll.

Enable pages as a workaround

abonhote commented 1 year ago

Not really. I enabled pages and upgraded to 7.4 from 7.3. Hope this helps:

https://youtube.com/shorts/anh4TR4Cod4?si=6fzRC82modKWfVb4

The widgets are still those from my 7.3 setup.

abonhote commented 1 year ago

It's really weird. I have all buttons assigned now to the widget page, as well as my default page. Whenever I search something and return home, the widgets are gone. Hitting back brings them back. Home does nothing. Restart brings me to the empty page.

Is there some loggin about which page type is selected?

TBog commented 1 year ago

Screenshot_20230920_112721.jpg

this should be the desktop that the launcher starts with

if the widgets still don't show it's probably related to the animation added in #381

abonhote commented 1 year ago
<preference key="initial-desktop"
 value="showWidgets" />

Should be ok, right? I could attach my whole config xml if you like.

Well, here we go.

https://pastebin.com/5byhKUjw

opk12 commented 1 year ago

Same issue on Android 7.1 with TinyBit 7.4 from F-droid. (edit) The widgets are shown (also interactive and functional) if I start an app that crashes at launch, or I start a shortcut made from HTTP Request Shortcuts. I have Widget mode after launch on. Home is Toggle search / widget, but shows blank desktop. Back is Do nothing. I worked around this with an HTTP shortcut to GET 127.0.0.1 (with On Failure set to Run silently).

Saijin-Naib commented 1 year ago

I'm a new user starting from 7.4 and I also experience the widgets being transparent but still able to be clicked or otherwise interacted with.

A way to reproduce the behavior is to set home button to Widget Desktop Center, and back to Search Desktop, and use a flick gesture to Toggle Between Search and Widget.

Pressing home results in ghost widgets, clearing search menu and flicking with the toggle makes them appear.