gsantner / gsantner/markor

v2.12.3: "Share into" launcher shortcut crashing

Open
#2,371 9 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
6.1k
Forks
537
Avg merge
1d 18h
Merged PRs (30d)
4

Description

### ⚠️ This issue respects the following points: ⚠️

- [X] This is a **bug**. Not a [question or feature request](https://github.com/gsantner/markor/issues/new/choose).
- [X] The topic is **not** already reported at [Issues](https://github.com/gsantner/markor/issues?q=#js-issues-search). _(I've searched it)_.
- [X] Markor **is** up to date. See [Releases](https://github.com/gsantner/markor/tags) for the latest version. Updates are available from [F-Droid](https://f-droid.org/en/packages/net.gsantner.markor/) and GitHub.
- [X] The bug is still present in the latest development version (git master). (Please [download](https://nightly.link/gsantner/markor/workflows/build-android-project/master) and try the test version of Markor, named **Marder**. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor settings are not touched. In case the issue is resolved there, you don't need to create a bug report. The change will be part of the next Markor update.)

### Description

After update from v2.12.2 to v2.12.3 "Share into" launcher become broken. I click on it, quick animation of its trying to open screen appears, and then nothing happens.

Reproduced in both Fdroid version and nightly build.

https://github.com/user-attachments/assets/10c32756-c077-497e-aa43-da47571b04a8

### Steps to reproduce

1. In Markor settings enable "Launcher" option.
2. Add "Share into" launcher to home screen.
3. Open "Share into".

AR: quick animation appears, but window not opened.
ER: open share into screen.

### Information

Android version: 14
Device: Samsung Galaxy A55
App Version: 2.12.3
Nightly App Version: net.gsantner.markor-v153-2.12.4-flavorAtest-debug.apk

### Source

F-Droid

### Format / File type

Not specific

### Additional info / Log

```log
07-29 17:54:03.487 27781 27781 I ViewRootImpl@cd11a15[MainActivity]: stopped(true) old = false
07-29 17:54:03.487 27781 27781 D ViewRootImpl@cd11a15[MainActivity]: WindowStopped on net.gsantner.markor/net.gsantner.markor.activity.MainActivity set to true
07-29 17:54:03.488 27781 27871 D OpenGLRenderer: CacheManager::trimMemory(20)
07-29 17:54:15.568 27781 27781 I DecorView: setWindowBackground: isPopOver=false color=ffeeeeee d=android.graphics.drawable.ColorDrawable@d10dcde
07-29 17:54:15.582 27781 27781 I DecorView: setWindowBackground: isPopOver=false color=ffeeeeee d=android.graphics.drawable.ColorDrawable@b498cc1
07-29 17:54:15.622 27781 27835 W cr_media: BLUETOOTH_CONNECT permission is missing.
07-29 17:54:15.626 27781 27835 W cr_media: getBluetoothAdapter() requires BLUETOOTH permission
07-29 17:54:15.626 27781 27835 W cr_media: registerBluetoothIntentsIfNeeded: Requires BLUETOOTH permission
07-29 17:54:15.632 27781 27781 W cr_AwContents: WebView.destroy() called while WebView is still attached to window.
07-29 17:54:15.641 27781 27781 W cr_AwContents: WebView.destroy() called while WebView is still attached to window.
07-29 17:54:15.646 27781 27990 D libEGL : dlopen (libGLESv2_samsung.so) success at 0xd8e45d42718d69bb
07-29 17:54:15.646 27781 27781 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda19@8eb76cd
07-29 17:54:15.649 27781 27871 D OpenGLRenderer: CacheManager::trimMemory(20)
07-29 17:54:15.650 27781 27781 I ViewRootImpl@cd11a15[MainActivity]: dispatchDetachedFromWindow
07-29 17:54:15.652 27781 27781 D InputTransport: Input channel destroyed: 'd5166dd', fd=163
07-29 17:54:15.663 27781 27781 E chromium: [ERROR:aw_browser_terminator.cc(166)] Renderer process (27823) crash detected (code -1).
07-29 17:54:15.681 27781 27871 D OpenGLRenderer: CacheManager::trimMemory(40)
07-29 17:54:15.683 27781 27871 D OpenGLRenderer: RenderThread::destroyRenderingContext()
```

And each time I try to open share into after that:

```
07-29 17:54:43.898 27781 27871 D libEGL : dlopen (libGLESv2_samsung.so) success at 0xd8e45d42718d69bb
07-29 17:54:43.930 27781 27781 I DecorView: setWindowBackground: isPopOver=false color=ffeeeeee d=android.graphics.drawable.ColorDrawable@4b01b46
07-29 17:54:43.958 27781 27781 I DecorView: setWindowBackground: isPopOver=false color=ffeeeeee d=android.graphics.drawable.ColorDrawable@7b07ed0
07-29 17:54:44.163 27781 27871 D OpenGLRenderer: CacheManager::trimMemory(40)
07-29 17:54:44.163 27781 27871 D OpenGLRenderer: RenderThread::destroyRenderingContext()
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Android launcher setting and the "Share into" shortcut flow described in the reproduction steps, then reproduce the failure on Android 14 while watching the supplied log output. Trace why the shortcut closes without opening its screen and verify that enabling the launcher option and opening "Share into" now displays the expected screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.