briar issueshttps://code.briarproject.org/briar/briar/-/issues2021-03-11T18:11:31Zhttps://code.briarproject.org/briar/briar/-/issues/1899NPE in BluetoothSocket#connect()2021-03-11T18:11:31ZakwizgranNPE in BluetoothSocket#connect()* Android version: 9
* Phone model: Huawei ANE-LX1
* Briar version: 1.2.9 (9d96ce6)
* User feedback: "Unlocked the phone and Briar showed me this."
Stacktrace:
```
java.lang.NullPointerException: Attempt to read from field 'java.lang.St...* Android version: 9
* Phone model: Huawei ANE-LX1
* Briar version: 1.2.9 (9d96ce6)
* User feedback: "Unlocked the phone and Briar showed me this."
Stacktrace:
```
java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.android.bluetooth.btservice.AdapterService$ConnectRecord.packageName' on a null object reference
at android.os.Parcel.createException(Parcel.java:1959)
at android.os.Parcel.readException(Parcel.java:1921)
at android.os.Parcel.readException(Parcel.java:1871)
at android.bluetooth.IBluetooth$Stub$Proxy.shouldRefuseConn(IBluetooth.java:2108)
at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:400)
at org.briarproject.bramble.plugin.bluetooth.AndroidBluetoothPlugin.connectTo(AndroidBluetoothPlugin.java:206)
at org.briarproject.bramble.plugin.bluetooth.BluetoothPlugin.connect(BluetoothPlugin.java:318)
at org.briarproject.bramble.plugin.bluetooth.BluetoothPlugin.createConnection(BluetoothPlugin.java:337)
at org.briarproject.bramble.plugin.bluetooth.BluetoothPlugin.lambda$connect$1$BluetoothPlugin(BluetoothPlugin.java:290)
at org.briarproject.bramble.plugin.bluetooth.-$$Lambda$BluetoothPlugin$ll6XYbG2pnImYnbEJhWCfN150gw.run(Unknown Source:6)
at java.util.concurrent.ThreadPoolExecutor.processTask(ThreadPoolExecutor.java:1187)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:784)
```
Last lines of log:
```
08-17 23:11:37.677 I/PollerImpl: Polling plugin org.briarproject.bramble.bluetooth
08-17 23:11:37.694 I/ConnectionRegistryImpl: 2 contacts connected or better: org.briarproject.bramble.blue
tooth
08-17 23:11:37.699 I/BluetoothConnectionLimiterImpl: Can open contact connection
08-17 23:11:37.700 I/BluetoothPlugin: Connecting to A8:[scrubbed]:A9
08-17 23:11:37.702 I/BluetoothConnectionLimiterImpl: Can open contact connection
08-17 23:11:37.702 I/BluetoothPlugin: Connecting to AC:[scrubbed]:EE
08-17 23:11:37.703 I/BluetoothConnectionLimiterImpl: Can open contact connection
08-17 23:11:37.703 I/BluetoothPlugin: Connecting to 10:[scrubbed]:00
```
Looks like a bug in the Bluetooth stack that we could work around by catching the NPE and treating it as a failed connection attempt.Android 1.2https://code.briarproject.org/briar/briar/-/issues/1898OOM error at startup2023-08-24T14:06:26ZakwizgranOOM error at startupI'm opening a new ticket for this because it doesn't seem to have the same cause as #1607.
* Android version: 9
* Phone model: Motorola Moto Z4 (foles)
* Briar version: 1.2.7 (eb562f8)
* System memory: 3629 MiB total, 1421 MiB free, 291...I'm opening a new ticket for this because it doesn't seem to have the same cause as #1607.
* Android version: 9
* Phone model: Motorola Moto Z4 (foles)
* Briar version: 1.2.7 (eb562f8)
* System memory: 3629 MiB total, 1421 MiB free, 291 MiB threshold
* VM memory: 6 MiB allocated, 3 MiB free, 128 MiB maximum
Stacktrace:
```
java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack trace available
```
Log:
```
05-07 02:51:43.754 I/BriarApplicationImpl: Created
05-07 02:51:43.769 I/CryptoComponentImpl: Default SecureRandom: AndroidOpenSSL SHA1PRNG
05-07 02:51:43.889 I/CryptoComponentImpl: Installed SecureRandom: UnixPRNG SHA1PRNG
05-07 02:51:44.047 I/LifecycleManagerImpl: Registering executor TimeLoggingExecutor
05-07 02:51:44.047 I/LifecycleManagerImpl: Registering executor ThreadPoolExecutor
05-07 02:51:44.047 I/LifecycleManagerImpl: Registering executor ScheduledThreadPoolExecutor
05-07 02:51:44.047 I/LifecycleManagerImpl: Registering service AndroidNetworkManager
05-07 02:51:44.048 I/LifecycleManagerImpl: Registering service AndroidBatteryManager
05-07 02:51:44.048 I/LifecycleManagerImpl: Registering service KeyManagerImpl
05-07 02:51:44.049 I/LifecycleManagerImpl: Registering open database hook IdentityManagerImpl
05-07 02:51:44.049 I/LifecycleManagerImpl: Registering executor TimeLoggingExecutor
05-07 02:51:44.057 I/LifecycleManagerImpl: Registering service ValidationManagerImpl
05-07 02:51:44.059 I/LifecycleManagerImpl: Registering open database hook ClientVersioningManagerImpl
05-07 02:51:44.059 I/LifecycleManagerImpl: Registering service ClientVersioningManagerImpl
05-07 02:51:44.060 I/LifecycleManagerImpl: Registering open database hook TransportPropertyManagerImpl
05-07 02:51:44.061 I/LifecycleManagerImpl: Registering service PluginManagerImpl
05-07 02:51:44.061 I/LifecycleManagerImpl: Registering service RendezvousPollerImpl
05-07 02:51:44.065 I/LifecycleManagerImpl: Registering open database hook BlogManagerImpl
05-07 02:51:44.067 I/LifecycleManagerImpl: Registering open database hook FeedManagerImpl
05-07 02:51:44.072 I/LifecycleManagerImpl: Registering open database hook GroupInvitationManagerImpl
05-07 02:51:44.073 I/LifecycleManagerImpl: Registering open database hook MessagingManagerImpl
05-07 02:51:44.076 I/LifecycleManagerImpl: Registering open database hook ForumSharingManagerImpl
05-07 02:51:44.077 I/LifecycleManagerImpl: Registering open database hook BlogSharingManagerImpl
05-07 02:51:44.080 I/LifecycleManagerImpl: Registering open database hook IntroductionManagerImpl
05-07 02:51:44.081 I/LifecycleManagerImpl: Registering service AndroidNotificationManagerImpl
05-07 02:51:44.082 I/LifecycleManagerImpl: Registering service ScreenFilterMonitorImpl
05-07 02:51:44.082 I/LifecycleManagerImpl: Registering service NetworkUsageLogger
05-07 02:51:44.082 I/LifecycleManagerImpl: Registering service DozeWatchdogImpl
05-07 02:51:44.085 I/LifecycleManagerImpl: Registering service LockManagerImpl
05-07 02:51:44.086 I/LifecycleManagerImpl: Registering open database hook RecentEmojiImpl
05-07 02:51:44.209 I/BaseActivity: Starting SplashScreenActivity
05-07 02:51:44.868 I/BaseActivity: Starting NavDrawerActivity
05-07 02:51:44.915 I/AccountManagerImpl: Found database key in primary file
05-07 02:51:44.917 I/BaseActivity: Starting StartupActivity
05-07 02:51:46.391 I/BaseActivity: Stopping NavDrawerActivity
05-07 02:51:46.400 I/BaseActivity: Stopping SplashScreenActivity
05-07 02:51:56.059 I/AccountManagerImpl: Found database key in primary file
```
Looks like the app threw an OOM while showing the password screen, with only 6 MB of 128 MB allocated. :shrug:Android 1.4https://code.briarproject.org/briar/briar/-/issues/1897Groups/forums/blogs are shown as "already sharing" if initial connection to c...2023-01-20T14:33:34ZakwizgranGroups/forums/blogs are shown as "already sharing" if initial connection to contact is lostIf the initial connection to a contact is lost before client versioning messages are exchanged, any group/forum/blog we try to share with the contact will be shown as "already sharing".If the initial connection to a contact is lost before client versioning messages are exchanged, any group/forum/blog we try to share with the contact will be shown as "already sharing".Torsten GroteTorsten Grotehttps://code.briarproject.org/briar/briar/-/issues/1892[Feature Request] A new ui2022-02-25T15:04:11Zfinrelemos[Feature Request] A new uithe current ui of the app is really basic, and for the masses to switch to a new app from say whatsapp or signal they must be able to see the visual appeal cause for most of people the real features of briar (privacy and security) are no...the current ui of the app is really basic, and for the masses to switch to a new app from say whatsapp or signal they must be able to see the visual appeal cause for most of people the real features of briar (privacy and security) are not visible, a better ui would be useful to convince the masses to use briar.https://code.briarproject.org/briar/briar/-/issues/1888Blog feed takes a long time to load2021-01-07T10:39:30ZWuukoBlog feed takes a long time to loadBlog section opens in 1 minuteBlog section opens in 1 minutehttps://code.briarproject.org/briar/briar/-/issues/1886Quotation from text in the chat2021-01-07T10:13:20ZGhost UserQuotation from text in the chatHi,
i have a feature request. I wish me the possibility to quote text within a 1:1 chat. As far as i know almost every android messenger has this function and it makes chatting much easier if you write about different topics with your c...Hi,
i have a feature request. I wish me the possibility to quote text within a 1:1 chat. As far as i know almost every android messenger has this function and it makes chatting much easier if you write about different topics with your chat partner.
Thanks in advance for implementation.https://code.briarproject.org/briar/briar/-/issues/1799Allow the app to be locked as soon as it goes into the background2020-10-22T13:48:39ZakwizgranAllow the app to be locked as soon as it goes into the backgroundA user asked for the option to activate the app lock as soon as the app goes into the background.A user asked for the option to activate the app lock as soon as the app goes into the background.https://code.briarproject.org/briar/briar/-/issues/1797Forward private messages2020-10-15T10:16:15ZakwizgranForward private messagesA user asked for the ability to forward private messages. (When support for image attachments is released, I'm guessing the ability to forward individual attachments might also be useful.)A user asked for the ability to forward private messages. (When support for image attachments is released, I'm guessing the ability to forward individual attachments might also be useful.)https://code.briarproject.org/briar/briar/-/issues/1796Add option to disable animations2020-11-15T13:41:47ZakwizgranAdd option to disable animationsTwo Google Play users asked for the option to disable transition animations.Two Google Play users asked for the option to disable transition animations.https://code.briarproject.org/briar/briar/-/issues/1795Show when messages were sent and received2020-11-15T18:43:45ZakwizgranShow when messages were sent and receivedA Google Play user asked for messages to show two timestamps: the time sent (on one side of the message bubble) and the time received/acked (on the other side).A Google Play user asked for messages to show two timestamps: the time sent (on one side of the message bubble) and the time received/acked (on the other side).https://code.briarproject.org/briar/briar/-/issues/1794No internet connection on IPv6-only network2020-12-11T10:33:06ZpegazNo internet connection on IPv6-only networkHi there,
I've got a big red message at the bottom of my screen saying "no internet connection" when i try to add my first contact, just connected to data of my phone.
I known my phone provider use only ipv6, is that a possible issue?
...Hi there,
I've got a big red message at the bottom of my screen saying "no internet connection" when i try to add my first contact, just connected to data of my phone.
I known my phone provider use only ipv6, is that a possible issue?
Thanks for the job done!Android 1.2akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/1784Tor settings: Please add a sentence to explain the meaning of 'bridges' to no...2020-11-15T13:53:04ZRobert PollakTor settings: Please add a sentence to explain the meaning of 'bridges' to non-technical usersLike "Connecting via bridges is less prone to surveillance."
Also, what would be an advantage of not using bridges?Like "Connecting via bridges is less prone to surveillance."
Also, what would be an advantage of not using bridges?https://code.briarproject.org/briar/briar/-/issues/1783Switching "language & region" to English does not switch the settings language2021-05-05T16:17:22ZRobert PollakSwitching "language & region" to English does not switch the settings languageI am using version 1.2.7 from F-Droid.
When I try to switch the interface language from my system standard (which is my native language) to "English (United States), and open the settings after restart, the page title has appropriately c...I am using version 1.2.7 from F-Droid.
When I try to switch the interface language from my system standard (which is my native language) to "English (United States), and open the settings after restart, the page title has appropriately changed to the English "settings", but all the entries are still in my native language.Android 1.2SebastianSebastianhttps://code.briarproject.org/briar/briar/-/issues/1777IllegalStateException when BriarService is recreated after startup2022-07-13T14:35:00ZakwizgranIllegalStateException when BriarService is recreated after startup* Android version: 5.1.1
* Phone model: Samsung SM-J320M (j3xlteub)
* Briar version: 1.2.7 (eb562f8)
Stacktrace:
```
java.lang.IllegalStateException
at org.briarproject.bramble.network.AndroidNetworkManager.startService(AndroidN...* Android version: 5.1.1
* Phone model: Samsung SM-J320M (j3xlteub)
* Briar version: 1.2.7 (eb562f8)
Stacktrace:
```
java.lang.IllegalStateException
at org.briarproject.bramble.network.AndroidNetworkManager.startService(AndroidNetworkManager.java:71)
at org.briarproject.bramble.lifecycle.LifecycleManagerImpl.startServices(LifecycleManagerImpl.java:130)
at org.briarproject.briar.android.BriarService.lambda$onCreate$0$BriarService(BriarService.java:133)
at org.briarproject.briar.android.-$$Lambda$BriarService$Ihm6XxaER2EMRlAKzUA1GpEtxZU.run(lambda)
at java.lang.Thread.run(Thread.java:818)
```
Edited log:
```
06-04 12:25:55.414 I/TorPlugin: First circuit built
06-04 12:25:55.424 I/PollerImpl: Polling plugin org.briarproject.bramble.tor
06-04 12:25:55.428 I/TorPlugin: Connecting to sak[scrubbed]
06-04 12:26:25.431 I/TorPlugin: Could not connect to sak[scrubbed]: java.net.SocketTimeoutException
06-04 12:26:27.252 I/BaseActivity: Starting NavDrawerActivity
06-04 12:26:27.266 I/BriarService: Created
06-04 12:26:27.273 I/LifecycleManagerImpl: Opening database
06-04 12:26:27.299 I/H2Database: Reopening DB: true
06-04 12:26:27.306 I/JdbcDatabase: 2217908857 ms since last compaction
06-04 12:26:27.328 I/LifecycleManagerImpl: Starting services
```
The exception is a canary that's meant to warn us about singletons being reused in violation of their expected lifecycle.
The log shows that TorPlugin and PollerImpl were already running before BriarService was created. The database must have been open too, as the poller was able to load a contact's transport properties.
It looks like a new BriarService instance was created when one already existed, or used to exist. The BriarService instance also has a canary to check for reuse, so this must be a new instance.Android 1.4akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/1775NullPointerException: println needs a message2022-05-16T13:59:29ZakwizgranNullPointerException: println needs a message* Android version: 10
* Phone model: Google Pixel 4 (flame)
* Briar version: 1.2.7 (eb562f8)
Stacktrace:
```
java.lang.NullPointerException: println needs a message
at android.util.Log.println_native(Native Method)
at an...* Android version: 10
* Phone model: Google Pixel 4 (flame)
* Briar version: 1.2.7 (eb562f8)
Stacktrace:
```
java.lang.NullPointerException: println needs a message
at android.util.Log.println_native(Native Method)
at android.util.Log.w(Log.java:197)
at com.vanniktech.emoji.Utils.getInputMethodHeight(Utils.java:76)
at com.vanniktech.emoji.EmojiPopup.updateKeyboardState(EmojiPopup.java:142)
at com.vanniktech.emoji.EmojiPopup$1.onGlobalLayout(EmojiPopup.java:72)
at android.view.ViewTreeObserver.dispatchOnGlobalLayout(ViewTreeObserver.java:1056)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2652)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1745)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7768)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:967)
at android.view.Choreographer.doCallbacks(Choreographer.java:791)
at android.view.Choreographer.doFrame(Choreographer.java:726)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:952)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
```Android 1.4IvanaIvanahttps://code.briarproject.org/briar/briar/-/issues/1773Switch to Weblate (translation project)2020-11-15T14:15:21ZWaterswordSwitch to Weblate (translation project)Hello Briar Developer,
you should change the Briar translation project from Transifex to an open source web based localization tool (GPL-3.0).
https://weblate.org/en/
https://github.com/WeblateOrg/weblate
There are only advantages, i...Hello Briar Developer,
you should change the Briar translation project from Transifex to an open source web based localization tool (GPL-3.0).
https://weblate.org/en/
https://github.com/WeblateOrg/weblate
There are only advantages, it is free for open source applications, privacy friendly, you can host yourself, more community, is very popular among translators, it supports the open source/libre community, etc.https://code.briarproject.org/briar/briar/-/issues/1772Delete blogs and comments does not work2020-11-15T14:20:25ZN6P4CFB1BSRSLDelete blogs and comments does not work**Version**
Briar 1.2.9
**Android version**
Android 10
**Description**
It is not possible to delete self created blogs and their comments individually or completely.
**Steps to reproduce**
1. Open Briar app and type the password
2...**Version**
Briar 1.2.9
**Android version**
Android 10
**Description**
It is not possible to delete self created blogs and their comments individually or completely.
**Steps to reproduce**
1. Open Briar app and type the password
2. Blogs -> Write Blog Post -> PUBLISH -> Add a comment -> REBLOG -> tap avatar icon -> More options -> Remove Blog
3. This does not work the function "Remove Blog" is grayed out.
Note: If do not want to delete blogs, but want to delete self created comments, not possible. A multiple select delete function for comments is missing.https://code.briarproject.org/briar/briar/-/issues/1771Select multiple contacts for introduction function2020-11-15T14:21:49ZN6P4CFB1BSRSLSelect multiple contacts for introduction function**Version**
Briar 1.2.9
**Android version**
Android 10
**Description**
When users use the introduction function, only 1 contact can be selected.
2 or more contacts cannot be selected.
A multiple selection function is missing.
Th...**Version**
Briar 1.2.9
**Android version**
Android 10
**Description**
When users use the introduction function, only 1 contact can be selected.
2 or more contacts cannot be selected.
A multiple selection function is missing.
This should be supported:
- select (this means to select multiple contacts)
- select all (select all contacts with one click)https://code.briarproject.org/briar/briar/-/issues/1770Delete multiple contacts2020-11-16T10:25:31ZN6P4CFB1BSRSLDelete multiple contacts**Version**
Briar 1.2.9
**Android version**
Android 10
**Description**
There is no quick way to select and delete multiple contacts under "Contacts" view. The multiple select function is missing.
Currently each contact must be dele...**Version**
Briar 1.2.9
**Android version**
Android 10
**Description**
There is no quick way to select and delete multiple contacts under "Contacts" view. The multiple select function is missing.
Currently each contact must be deleted manually.https://code.briarproject.org/briar/briar/-/issues/1769Add non-dynamic time format2020-11-15T14:24:49ZN6P4CFB1BSRSLAdd non-dynamic time format**Version**
Briar 1.2.9
**Android version**
Android 10
**Description**
Currently, Briar only displays a dynamic time format when messages are sent and received.
It would be very good if a non-dynamic time format could be added, but...**Version**
Briar 1.2.9
**Android version**
Android 10
**Description**
Currently, Briar only displays a dynamic time format when messages are sent and received.
It would be very good if a non-dynamic time format could be added, but it uses almost the same structure as dynamic time format.
An example would be
MMM dd, yyyy, hh:mm a
Sep 3, 2020, 01:00 PM