Launcher icon indicating copy to clipboard operation
Launcher copied to clipboard

Cannot install widget

Open rudolfmu opened this issue 11 months ago • 25 comments

Checklist

  • [X] I can reproduce the bug with the latest version given here.
  • [X] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • [X] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • [X] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • [X] This issue contains only one bug.
  • [X] I have read and understood the contribution guidelines.

Affected app version

1.0.1

Affected Android/Custom ROM version

Android 14

Affected device model

Moto G54 5G, Kernel 5.10.205-android12-9-00035-g264434cb4c98-ab12029476 #1 Fri Jun 28 13:59:06 UTC 2024

How did you install the app?

Google Play Store

Steps to reproduce the bug

Tried to install Fossify Calendar widget with current date on Home Screen.

Expected behavior

Sucess.

Actual behavior

Nothing happens.

Screenshots/Screen recordings

None

Additional information

Widget works with last version of Simple Mobile Tools Launcher 5.1.1. Some other Widgets install, some don't. As far as I can tell, those which display something do not install.

rudolfmu avatar Jan 03 '25 12:01 rudolfmu

When you drop the widget, do you see the widget configuration page?

naveensingh avatar Jan 03 '25 12:01 naveensingh

 As far as I can tell, those which display something do not install.

Can you explain what do you mean? Generally, all widgets are displaying something.

Aga-C avatar Jan 03 '25 13:01 Aga-C

I have the same issue on my square screen Unihertz Titan phone. Screenshot_20250104-132606

hooddy avatar Jan 04 '25 10:01 hooddy

@hooddy Try to change row and column counts in Settings/Home screen.

Aga-C avatar Jan 04 '25 10:01 Aga-C

@hooddy Try to change row and column counts in Settings/Home screen.

Well its works but with some (lotta) glitches. I can not resize it then on screenshot and font looks like that. On quickstep all works fineScreenshot_20250104-135005.png

hooddy avatar Jan 04 '25 10:01 hooddy

Ok ill be satisfied with 4 row to add Calendar. With 5 row homescreen looks awful.

hooddy avatar Jan 04 '25 10:01 hooddy

When you drop the widget, do you see the widget configuration page?

No, as I said nothing happens. Procedure aborts back to homescreen.

rudolfmu avatar Jan 06 '25 11:01 rudolfmu

As far as I can tell, those which display something do not install.

Can you explain what do you mean? Generally, all widgets are displaying something.

Your calendar widget displays the date. My battery widget displays percent. They don't install. My screen brightnes widget switches between last brightness and maximum. It does not display any info or value. It just reacts to press. It installs.

rudolfmu avatar Jan 06 '25 11:01 rudolfmu

@hooddy Try to change row and column counts in Settings/Home screen.

I changed the rows from 6 to 5. Fosdify Calander widget did not install. But, my brightnes widget went invisible. Short press of its position did nothing, long press gave me the result expected when the widget is there, eg change size or remove. Not the respone of an empty space, which would be widgets/backgrounds/settings.

rudolfmu avatar Jan 06 '25 11:01 rudolfmu

@hooddy Try to change row and column counts in Settings/Home screen.

I changed the rows from 6 to 5. Fosdify Calander widget did not install. But, my brightnes widget went invisible. Short press of its position did nothing, long press gave me the result expected when the widget is there, eg change size or remove. Not the respone of an empty space, which would be widgets/backgrounds/settings.

Works this way. But lotta free space in bottom. And resize is glitches.Screenshot_20250106-151927.png

Screenshot_20250106-151935.png

hooddy avatar Jan 06 '25 12:01 hooddy

Thank you! You showed a widget that displays data, so my assumption from above does not apply. I want the 1x1 widget that displays the day of month, which doesn't install on my device.

rudolfmu avatar Jan 07 '25 13:01 rudolfmu

I am having problems with all widgets from Fossify, and also with Nextcloud Deck widget, but other widgets seem to work, like from Cirrus app, K-9 Mail, etc...

Szwendacz99 avatar Feb 01 '25 12:02 Szwendacz99

@Szwendacz99 What device model and OS version are you using?

Aga-C avatar Feb 01 '25 12:02 Aga-C

Phone: MyPhone N23 Plus

MS2401x:/ $ getprop ro.build.version.sdk
34
MS2401x:/ $ getprop ro.product.model
myPhone N23 Plus
MS2401x:/ $ getprop ro.product.manufacturer
mPTech
MS2401x:/ $ getprop ro.product.name
myPhone_N23_Plus_EEA
MS2401x:/ $ getprop ro.product.cpu.abi
arm64-v8a

Szwendacz99 avatar Feb 01 '25 12:02 Szwendacz99

I might add, that I kinda purged(disabled) lots of system apps using adb, but I don't feel like that could affect widgets.

Szwendacz99 avatar Feb 01 '25 12:02 Szwendacz99

I can reproduce this on a Motorola and a Samsung device, definitely an app issue.

naveensingh avatar Feb 01 '25 12:02 naveensingh

I used 1.0.1 version of app (FDroid). At first Widget (Fossify Clock) works. Played around with colums and row - app crashed. I reinstalled it and I did't get (any) Widgets working again.

starbrights avatar Feb 09 '25 15:02 starbrights

What if Xiomi Phone Can't Make Your App Default

normis234 avatar Mar 22 '25 17:03 normis234

What happens when you long press on the home screen and tap "Set as default"?

Please consider creating a bug report for it.

naveensingh avatar Mar 22 '25 17:03 naveensingh

if you select your application as default, it will crash and the system will insist on leaving the system launcher

normis234 avatar Mar 22 '25 18:03 normis234

It must be #6 then.

naveensingh avatar Mar 22 '25 18:03 naveensingh

Same issue happening for me. On fairphone 5 running android 14. Some widgets work and some do not. My clock app worked initially and then I resized the screen to see if it would allow any widgets to work but then it made all my widgets reload and I had to remove and put back. Now clock no longer works. :(

zeeohee0 avatar Jun 06 '25 06:06 zeeohee0

Launcher/Phone Specifications

Previous Phone

  • Fossify Launcher Version: 1.1.1
  • Android Version: 12
  • Device Model: Samsung Galaxy S10 - SM-G973F/DS
  • Store: F-Droid

New Phone

  • Fossify Launcher Version: 1.1.2
    • Also tried: 1.0.1, 1.1.0 and 1.1.1
  • Android Version: 14
  • Device Model: Motorola Thinkphone - XT2309-2
  • Store: GitHub via Obtainium
    • I have tried the releases from F-Droid

Information

I'm switching across to my new phone and have ran into the widgets not working as well. The widgets work as intended on my previous phone, but do not on the new one. I was able to add a widget from Breezy initially then after removing it for a different one widgets for most applications stopped working. Adjusting the column and rows size does nothing.

When adding a widget from most applications they do not get added, the border for where to place it appears when holding but once released the widget doesn't get placed or the settings show to configure it if needed.

[New Phone] Working and not working widgets for applications:

Table
Working Not Working
Aniyomi - 2/2 Breezy - 11/13
App Manager - 4/4 Fossify Calculator - 1/1
Breezy - 2/13 Fossify Calendar - 3/3
Home Assistant - 1/7 Fossify Clock - 2/2
Markor - 1/2 FairEmail - 3/3
PayPal - 1/1 Fossify Gallery - 1/1
Retro Music - 7/7 Home Assistant - 6/7
Revolut - 1/2 Markor - 1/2
System UI - 1/1 Open Camera - 1/1
QUIK - 2/2
Revolut - 1/2
Settings - 1/1
Vivaldi - 1/1
Fossify Voice Recorder
  • Working
    • Breezy - 2/13
      • Material You - Current
      • Material You - Forecast
    • Home Assistant - 1/7
      • Assist shortcut - Brings up the settings to configure it.
    • Markor - 1/2
      • The 2nd one listed, looks like it's To-Do/QuickNote.
    • Revolut - 1/2
      • Stocks
    • System UI - 1/1
      • Conversation

Is there a way to see the logs/debug version of Fossify Launcher to use to provide/see more information on what's going on?

Kagukara avatar Jun 06 '25 15:06 Kagukara

Taking a look at logcat by doing the following for Fossify Launcher:

adb shell pidof org.fossify.home
adb logcat | grep --line-buffered 4941

When placing a widget that doesn't work, the terminal is spammed with:

06-07 00:29:12.808  4941  4941 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'

When placing a widget that works there is no output shown in the terminal.

EDIT: When placing the Fossify Calendar widget (monthly) it outputs in logcat:

06-08 15:08:51.471  1802  2602 D ActivityManager: unfreezing ProcessRecord{bbf171b 6700:org.fossify.calendar/u0a351}, reason = unfreezeTemporarily, adj = 975, adjType = cch-empty, adjSource = null
06-08 15:08:51.471  1802  2602 D ActivityManager: sync unfroze 6700 org.fossify.calendar for 3
06-08 15:09:01.523  1802  2950 D ActivityManager: freezing 6700 org.fossify.calendar, reason = oom_cached

Fossify Launcher is still spamming the output of logcat with OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented' when the widget is meant to be placed.

EDIT 2: Looks like it's being blocked:

06-08 15:16:28.135  1802  3192 I AppWidgetServiceImpl: Bound widget 43 to provider ProviderId{user:0, app:10351, cmp:ComponentInfo{org.fossify.calendar/org.fossify.calendar.helpers.MyWidgetMonthlyProvider}}
06-08 15:16:28.136  1802  3150 E ActivityTaskManager: Without BAL hardening this activity start would be allowed! [callingPackage: android; callingUid: 1000; appSwitchState: 2; callingUidHasAnyVisibleWindow: false; callingUidProcState: PERSISTENT; isCallingUidPersistentSystemProcess: true; balAllowedByPiSender: BackgroundStartPrivileges[allowsBackgroundActivityStarts=false, allowsBackgroundForegroundServiceStarts=true, originatingToken=null]; realCallingPackage: org.fossify.home; realCallingUid: 10389; realCallingUidHasAnyVisibleWindow: true; realCallingUidProcState: TOP; isRealCallingUidPersistentSystemProcess: false; originatingPendingIntent: PendingIntentRecord{ce9e8c5 android startActivity}; backgroundStartPrivileges: BackgroundStartPrivileges[allowsBackgroundActivityStarts=false, allowsBackgroundForegroundServiceStarts=false, originatingToken=null]; intent: Intent { act=android.appwidget.action.APPWIDGET_CONFIGURE cmp=org.fossify.calendar/.activities.WidgetMonthlyConfigureActivity (has extras) }; callerApp: null; inVisibleTask: false]
06-08 15:16:28.136  1802  3150 W ActivityTaskManager: Background activity launch blocked [callingPackage: android; callingUid: 1000; appSwitchState: 2; callingUidHasAnyVisibleWindow: false; callingUidProcState: PERSISTENT; isCallingUidPersistentSystemProcess: true; balAllowedByPiSender: BackgroundStartPrivileges[allowsBackgroundActivityStarts=false, allowsBackgroundForegroundServiceStarts=true, originatingToken=null]; realCallingPackage: org.fossify.home; realCallingUid: 10389; realCallingUidHasAnyVisibleWindow: true; realCallingUidProcState: TOP; isRealCallingUidPersistentSystemProcess: false; originatingPendingIntent: PendingIntentRecord{ce9e8c5 android startActivity}; backgroundStartPrivileges: BackgroundStartPrivileges[allowsBackgroundActivityStarts=false, allowsBackgroundForegroundServiceStarts=false, originatingToken=null]; intent: Intent { act=android.appwidget.action.APPWIDGET_CONFIGURE cmp=org.fossify.calendar/.activities.WidgetMonthlyConfigureActivity (has extras) }; callerApp: null; inVisibleTask: false]
06-08 15:16:28.138  1802  3150 I ActivityTaskManager: START u0 {act=android.appwidget.action.APPWIDGET_CONFIGURE cmp=org.fossify.calendar/.activities.WidgetMonthlyConfigureActivity (has extras)} with LAUNCH_MULTIPLE from uid 1000 (realCallingUid=10389) (PendingIntentRecord) (BAL_BLOCK) result code=102

Kagukara avatar Jun 06 '25 23:06 Kagukara

I faced with it again on my new phone. And only with fossify apps widgets. They cant be installed at all in any way.

hooddy avatar Sep 02 '25 23:09 hooddy