briar issueshttps://code.briarproject.org/groups/briar/-/issues2021-11-04T11:03:44Zhttps://code.briarproject.org/briar/briar/-/issues/1493Latest message isn't always fully visible after loading conversation2021-11-04T11:03:44ZakwizgranLatest message isn't always fully visible after loading conversationWhen opening a private conversation where the latest message contains multiple images, the bottom of the latest message is sometimes below the viewport, making it necessary to scroll down manually to see the whole message. This can happe...When opening a private conversation where the latest message contains multiple images, the bottom of the latest message is sometimes below the viewport, making it necessary to scroll down manually to see the whole message. This can happen regardless of whether the latest message has any text.
Logging shows that we're eagerly loading the text of the latest message, if it has any, and automatically scrolling to the bottom after adding the text and images to each message, as expected. But for some reason this scrolling doesn't make the whole of the latest message visible.
Steps to reproduce:
* Check out the 1242-display-image-attachments-fake-data branch (commit 54082209)
* Create a test contact with no messages
* Repeatedly send a message to the contact, close and reopen the conversation (fake attachments will be added to the message when the conversation's reopened)
* Once there's more than a screenful of messages and the latest message has multiple images, repeatedly close and reopen the conversation without sending any more messages
* It may take a lot of tries to reproduce the bug
The bug seems to be a race condition. I was able to reproduce it on the Nexus 5X and the Moto G 4G.
Subtask of #1237.Android 1.4https://code.briarproject.org/briar/briar/-/issues/1520Stale scroll position is restored after opening blog post2020-11-15T19:08:03ZakwizgranStale scroll position is restored after opening blog postSteps to reproduce:
* Ensure the blog feed has at least a screenful of posts
* Scroll down a few posts
* Rotate the screen to landscape and back to portrait
* The scroll position is remembered, as expected
* Scroll down a few more posts
...Steps to reproduce:
* Ensure the blog feed has at least a screenful of posts
* Scroll down a few posts
* Rotate the screen to landscape and back to portrait
* The scroll position is remembered, as expected
* Scroll down a few more posts
* Tap on a post to open it
* Use the back button to return to the feed
* The scroll position jumps back to where it was when the screen was rotatedhttps://code.briarproject.org/briar/briar/-/issues/1541Allow users to create polls2020-11-15T18:52:19ZakwizgranAllow users to create pollsA user asked for the ability to create polls in groups, blogs and forums.
This would be pretty easy to implement at the client layer, by adding "poll" and "vote" message types, where a vote message depends on a poll message, indicates o...A user asked for the ability to create polls in groups, blogs and forums.
This would be pretty easy to implement at the client layer, by adding "poll" and "vote" message types, where a vote message depends on a poll message, indicates one of the options in the poll message, and is signed by the voter. The client would use metadata attached to the poll message to count votes and apply rules for situations like an identity voting for multiple options (whether this is valid [depends on the voting system!](https://en.wikipedia.org/wiki/Approval_voting)).
I think this feature would make the most sense for private groups. Forums don't have any limit on which identities can take part, so vote stuffing would be easy. Blogs have the same issue, and allowing subscribers to send vote messages would remove one of the nice security properties of blogs, which is that subscribers have no way to DoS a blog because only the owner can post messages.https://code.briarproject.org/briar/briar/-/issues/1542Pinned posts2020-11-15T18:51:08ZakwizgranPinned postsA user asked for the ability to pin posts in private groups and forums.
Related to #880.A user asked for the ability to pin posts in private groups and forums.
Related to #880.https://code.briarproject.org/briar/briar/-/issues/1563DozeView disappears when rotating screen after whitelisting Briar2020-11-15T18:27:59ZakwizgranDozeView disappears when rotating screen after whitelisting BriarSteps to reproduce:
* Use a device with Android 6+
* Ensure Briar isn't whitelisted for doze
* Create a new account
* In the power management setup screen, tap "Allow Connections" and accept the dialog
* Rotate the screen
* Expected: The...Steps to reproduce:
* Use a device with Android 6+
* Ensure Briar isn't whitelisted for doze
* Create a new account
* In the power management setup screen, tap "Allow Connections" and accept the dialog
* Rotate the screen
* Expected: The layout stays the same
* Actual: The "Allow Connections" button (with its check mark and help button) disappears
* Use the back button to return to the password setup screen
* Expected: The layout is the same as before
* Actual: The "Next" button changes to "Create Account"
The unexpected layout changes happen because we re-check whether we're whitelisted.
If the fragment instances are retained across rotations, perhaps the password and doze fragments could remember the whitelisting state when they were first created, and use that to control the text of the password fragment's "Next" / "Create Account" button and the visibilty of DozeView, so that they stay the same after we're whitelisted, while using the current whitelisting state to show/hide the "Allow Connections" button's check mark and enable/disable the power management fragment's "Create Account" button, which are the bits that are supposed to change when we're whitelisted.https://code.briarproject.org/briar/briar/-/issues/1581Add pending contact via ENTER or IME action2020-11-15T18:20:32ZTorsten GroteAdd pending contact via ENTER or IME actionWhen entering the nickname for a pending contact pressing enter or the Go IME action in the soft keyboard should be equivalent to pressing the button.When entering the nickname for a pending contact pressing enter or the Go IME action in the soft keyboard should be equivalent to pressing the button.https://code.briarproject.org/briar/briar/-/issues/1588New setting: Time window / Interval in which Briar goes online2022-01-04T16:11:37ZmicressorNew setting: Time window / Interval in which Briar goes onlineI want a way to set Briar so that the app connects at an interval of X for Y minutes to synchronize messages.
As a second possibility, a period where Briar connects to synchronize messages. For example between X and Y o'clock every day....I want a way to set Briar so that the app connects at an interval of X for Y minutes to synchronize messages.
As a second possibility, a period where Briar connects to synchronize messages. For example between X and Y o'clock every day.
The idea behind it is to make online time more effective due to the high battery consumption. Two users could agree to configure their Briar Apps between X and Y to go online and synchronize messages.https://code.briarproject.org/briar/briar/-/issues/1589Use consistent scroll behaviour across the app2021-12-21T23:12:35ZakwizgranUse consistent scroll behaviour across the appFollowing the discussion on #713 and other tickets listed below, let's use consistent scroll behaviour across the app.
Related to #713, #872, #1073, #1192, #1200, #1361, #1337, #1467, #1493.Following the discussion on #713 and other tickets listed below, let's use consistent scroll behaviour across the app.
Related to #713, #872, #1073, #1192, #1200, #1361, #1337, #1467, #1493.https://code.briarproject.org/briar/briar/-/issues/1608Can't scan QR code in low light2020-11-15T18:09:33ZakwizgranCan't scan QR code in low lightSome phones can't scan QR codes from screens in low light because the camera automatically adjusts the exposure, making the other phone's screen a white blur. I've seen this before on older phones but assumed it was a dying problem. But ...Some phones can't scan QR codes from screens in low light because the camera automatically adjusts the exposure, making the other phone's screen a white blur. I've seen this before on older phones but assumed it was a dying problem. But the problem also exists on the Honor 8A (Android 9), making it impossible to add contacts between the Honor 8A and the Ascend Y330 in low light. (The Y330's low res screen contributes to the problem; the Honor 8A can scan the Nexus 5's screen in the same lighting conditions, for example.)
We should see whether auto exposure can be disabled, and whether this helps.https://code.briarproject.org/briar/briar/-/issues/1619New chat category: Emergency forum.2020-11-15T18:05:14ZVladislavNew chat category: Emergency forum.What for?
In emergency situation, to be able to write message in emergency forum, that can be seen by anybody in this group, even if not in your contact list. With possibility to block user (if spammer).
Works only in WiFi-Direct, Bluet...What for?
In emergency situation, to be able to write message in emergency forum, that can be seen by anybody in this group, even if not in your contact list. With possibility to block user (if spammer).
Works only in WiFi-Direct, Bluetooth.https://code.briarproject.org/briar/briar/-/issues/1635Try to send message before its attachments2022-04-19T11:30:43ZTorsten GroteTry to send message before its attachmentsOne way to do this would be to set the timestamp of the attachments `1` greater than the timestamp of the message itself, so in the common case the message would be sent first. There's no guarantees because of retransmission etc, but usu...One way to do this would be to set the timestamp of the attachments `1` greater than the timestamp of the message itself, so in the common case the message would be sent first. There's no guarantees because of retransmission etc, but usually that would give the result we want.https://code.briarproject.org/briar/briar/-/issues/1645Briar add contacts without QR code scan by camera2020-11-15T17:32:48ZricjdjwoeownsoBriar add contacts without QR code scan by cameraHello,
I don't think it's good if you can only add contacts to a QR code scan by camera. What if the camera is broken? What then? :(
I think it's better if there are more alternatives.
I imagine so.
You can connect the Android device...Hello,
I don't think it's good if you can only add contacts to a QR code scan by camera. What if the camera is broken? What then? :(
I think it's better if there are more alternatives.
I imagine so.
You can connect the Android devices in the wifi network (local android wifi hotspot) together and ask each other for a code, then enter it and you're done. So similar if you connect devices via bluetooth via code.https://code.briarproject.org/briar/briar/-/issues/1671Adding contacts via acoustic modem2023-07-19T06:14:53ZtaggbuskeAdding contacts via acoustic modemI have noticed a lot of new users are put off by Bluetooth technically requiring location permissions. Asking for temporary access to microphone + speaker might be less paranoia-inducing.
Something like FSK running at a moderate rate co...I have noticed a lot of new users are put off by Bluetooth technically requiring location permissions. Asking for temporary access to microphone + speaker might be less paranoia-inducing.
Something like FSK running at a moderate rate could be used. There's plenty of software modems out there. Direwolf (https://github.com/wb2osz/direwolf) has really good implementations of Bell 103 and Bell 202 that could be ported to Java.
I am aware this is an esoteric solution, but I thought I should throw it out there 🙂
Related: #1645, #261, maybe #31https://code.briarproject.org/briar/briar/-/issues/1680Bug when turning the screen horizontally2020-11-15T16:53:27ZjomocuBug when turning the screen horizontallyThe chat should go down at all when I put the screen horizontally, currently turning the screen shows some messages above, and I have to manually go down to the last message.The chat should go down at all when I put the screen horizontally, currently turning the screen shows some messages above, and I have to manually go down to the last message.https://code.briarproject.org/briar/briar/-/issues/1701CameraException on Nexus 7 (front-facing camera)2020-11-15T16:37:39ZakwizgranCameraException on Nexus 7 (front-facing camera)* Android version: 7.1.2
* Phone model: Google Nexus 7
* Briar version: 1.1.6 (4d26628)
* User feedback: "Add a contact is impossible due to camera error. Another way to add contacts is essential."
Log snippet:
```
09-22 09:56:22.542 I/...* Android version: 7.1.2
* Phone model: Google Nexus 7
* Briar version: 1.1.6 (4d26628)
* User feedback: "Add a contact is impossible due to camera error. Another way to add contacts is essential."
Log snippet:
```
09-22 09:56:22.542 I/CameraView: Setting preview consumer
09-22 09:56:22.543 I/CameraView: Opening camera
09-22 09:56:22.547 I/CameraView: Using front-facing camera
09-22 09:56:22.684 I/CameraView: Screen rotation 0 degrees, camera orientation 90 degrees
09-22 09:56:22.686 I/CameraView: Focus modes: [fixed]
09-22 09:56:22.693 W/KeyAgreementFragment: org.briarproject.briar.android.keyagreement.CameraException: java.lang.RuntimeException: setParameters failed
org.briarproject.briar.android.keyagreement.CameraException: java.lang.RuntimeException: setParameters failed
at org.briarproject.briar.android.keyagreement.CameraView.setBestParameters(CameraView.java:337)
at org.briarproject.briar.android.keyagreement.CameraView.start(CameraView.java:141)
at org.briarproject.briar.android.keyagreement.KeyAgreementFragment.onStart(KeyAgreementFragment.java:149)
at android.support.v4.app.Fragment.performStart(Fragment.java:2477)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1494)
at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)
at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:802)
at android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2625)
at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2411)
at android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2366)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2273)
at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:733)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6186)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
Caused by: java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:2015)
at org.briarproject.briar.android.keyagreement.CameraView.setBestParameters(CameraView.java:334)
at org.briarproject.briar.android.keyagreement.CameraView.start(CameraView.java:141)
at org.briarproject.briar.android.keyagreement.KeyAgreementFragment.onStart(KeyAgreementFragment.java:149)
at android.support.v4.app.Fragment.performStart(Fragment.java:2477)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1494)
at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)
at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:802)
at android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2625)
at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2411)
at android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2366)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2273)
at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:733)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6186)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
```https://code.briarproject.org/briar/briar/-/issues/1710Wrong camera used for adding contacts on Iconia tablet2020-11-15T16:33:49ZakwizgranWrong camera used for adding contacts on Iconia tablet* Android version: 6.0.1
* Phone model: Android-x86 ICONIA W700P (cm_android_x86_64)
* Briar version: 1.1.6 (4d26628)
* User feedback: "Front camera reversed on any app. Please add option to switch camera. I'm unable to add contacts on t...* Android version: 6.0.1
* Phone model: Android-x86 ICONIA W700P (cm_android_x86_64)
* Briar version: 1.1.6 (4d26628)
* User feedback: "Front camera reversed on any app. Please add option to switch camera. I'm unable to add contacts on this device."
Edited log:
```
10-14 21:44:21.325 I/CameraView: Opening camera
10-14 21:44:21.325 I/CameraView: Using back-facing camera
10-14 21:44:21.339 I/CameraView: Screen rotation 0 degrees, camera orientation 0 degrees
10-14 21:44:21.339 I/CameraView: Scene modes: [auto]
10-14 21:44:21.339 I/CameraView: Focus modes: [fixed]
10-14 21:44:21.339 I/CameraView: Video stabilisation enabled: false
10-14 21:44:21.339 I/CameraView: Scene mode: auto
10-14 21:44:21.339 I/CameraView: Focus mode: fixed
10-14 21:44:21.339 I/CameraView: Flash mode: off
10-14 21:44:21.339 I/CameraView: Preview size: 1280x720
...
10-14 21:44:21.379 I/CameraView: Surface created
10-14 21:44:21.379 I/CameraView: Surface changed: 1920x944
10-14 21:44:21.379 I/CameraView: Size 160x120, stretch 1.5254238, zoom 26.041666, score 0.025173334
10-14 21:44:21.379 I/CameraView: Size 176x144, stretch 1.6640986, zoom 19.728535, score 0.030459736
10-14 21:44:21.379 I/CameraView: Size 240x160, stretch 1.3559322, zoom 13.020833, score 0.056640003
10-14 21:44:21.379 I/CameraView: Size 320x200, stretch 1.2711865, zoom 7.8125, score 0.10069333
10-14 21:44:21.379 I/CameraView: Size 320x240, stretch 1.5254238, zoom 6.5104165, score 0.10069334
10-14 21:44:21.379 I/CameraView: Size 352x288, stretch 1.6640986, zoom 4.9321337, score 0.12183894
10-14 21:44:21.379 I/CameraView: Size 432x320, stretch 1.5065913, zoom 3.616898, score 0.18351361
10-14 21:44:21.379 I/CameraView: Size 480x320, stretch 1.3559322, zoom 3.2552083, score 0.22656001
10-14 21:44:21.379 I/CameraView: Size 640x480, stretch 1.5254238, zoom 1.6276041, score 0.40277335
10-14 21:44:21.379 I/CameraView: Size 1280x720, stretch 1.1440678, zoom 1.8432, score 0.47421557
10-14 21:44:21.379 I/CameraView: Best size 1280x720
10-14 21:44:21.380 I/CameraView: Video stabilisation enabled: false
10-14 21:44:21.380 I/CameraView: Scene mode: auto
10-14 21:44:21.380 I/CameraView: Focus mode: fixed
10-14 21:44:21.380 I/CameraView: Flash mode: off
10-14 21:44:21.380 I/CameraView: Preview size: 1280x720
10-14 21:44:21.380 I/CameraView: Starting preview
```https://code.briarproject.org/briar/briar/-/issues/1726Unable to "mark" text in private messages2020-11-15T15:56:26ZbafoobarUnable to "mark" text in private messagesI want to copy text from messages. I can long-tap on text on blogs, group and forum messages, but I am unable to do that on private messages. It only marks the message as a whole to delete it. In combination with beeing unable to click o...I want to copy text from messages. I can long-tap on text on blogs, group and forum messages, but I am unable to do that on private messages. It only marks the message as a whole to delete it. In combination with beeing unable to click on links, that makes it a very annoying issue.https://code.briarproject.org/briar/briar/-/issues/1731Asynchronous sync not working2020-11-15T15:54:41ZliofmrAsynchronous sync not workingHi, I tried to test the behavior like described on this image of the official briar website :
![briar_diagram](/uploads/c88b9052c156e2043707b7e892de367e/briar_diagram.png)
But it's not working. I mean, I created a little network with 3...Hi, I tried to test the behavior like described on this image of the official briar website :
![briar_diagram](/uploads/c88b9052c156e2043707b7e892de367e/briar_diagram.png)
But it's not working. I mean, I created a little network with 3 phones not exactly like the picture but I simplified it. I will work with A, B and C phones (not the same as the picture, forgot this config). When the 3 A, B and C phones are connected to the network (wifi, bluetooth or internet 3G), it's working, everybody recieve all blog posts.
BUT, if C disconnect, and A create a blog post, then first, B will recieve it.
THEN, if I disconnect A, and connect C, the blog post is not transmitted.
The purpose is to see if B can act as a the C phone on the official picture I shared. May be I did something wrong. Please do you have an idea ? Is it a bug or non-implemented yet feature or a bug ?
Thank you for this app, if it could work like in the picture it would be the best human made app of the century !!https://code.briarproject.org/briar/briar/-/issues/1732Unable to add contact2020-11-15T15:53:14ZacherrUnable to add contactThe latest version, one the mobile phone end A and another mobile phone B, A is mobile 4 G network, B is the wifi network, both sides add each other as contact person, which prompts that A have no network connection, B are waiting for A ...The latest version, one the mobile phone end A and another mobile phone B, A is mobile 4 G network, B is the wifi network, both sides add each other as contact person, which prompts that A have no network connection, B are waiting for A to log in. They're all the same. They' re not scanned successfully using the QR code, suggesting that the latest version is not recognizedhttps://code.briarproject.org/briar/briar/-/issues/1747Use custom PIN for app lock2023-02-06T14:57:18ZakwizgranUse custom PIN for app lockA user asked to be able to set an app lock PIN that's different from the PIN they use to unlock their phone.A user asked to be able to set an app lock PIN that's different from the PIN they use to unlock their phone.