With a custom build from the current version of Impress Remote's master branch (as of commit 7f080471b684c9a0d5b10ba870a803bf7f38df0e), the slides' contents are not shown in the Android app, but they are always blank/white. This is the case both in the view where only a single slide and the corresponding speaker notes are shown and in the grid view. The speaker notes for the slide are shown correctly. Switching slides etc. works as expected and the slides are also shown correctly on the PC that is being remote-controlled, just not in the Android app. Steps to reproduce: 1) Start slide show on PC 2) Start Impress remote on Android device 3) Select computer to connect to Actual Result: * The slide show starts on the computer (as expected) * The notes are shown on the smartphone. Above the "NOTES" section, there is a blank area. Expected result: Instead of the "white area" above the "NOTES" section, the slide content is being shown. I have this problem both, when running over Wifi or Bluetooth. I have tested this with a Samsung Galaxy S2 running LineageOS (based on Android 7.1.2) and different AVDs (Android Virtual Devices) in the emulator, running Android 5.1, 6.0, and 7.1.1. The LibreOffice version on the PC is 5.4.1.2.0 on Debian testing from the Debian repository.
Created attachment 136430 [details] Patch that demonstrates a workaround I have analysed the problem a bit and found a workaround that works for me (s. attached patch). The slide content is held in a Bitmap that is set for an ImageView. For some reason, that Bitmap is always drawn in white instead of the actual content. Setting the Bitmap as background image and setting a transparent image in front of it makes the slide content being shown as expected on my devices. Of course, it would be great if somebody could fix the underlying problem instead...
Created attachment 136431 [details] Patch that demonstrates a workaround In fact, one line of the first patch is totally unneeded. I'm adding a new version with that line removed to avoid confusion because of unrelated things.
Just for clarity: The patch as it is right now is not really meant for inclusion, but mostly to demonstrate the problem.
(In reply to Michael Weghorn from comment #3) > Just for clarity: The patch as it is right now is not really meant for > inclusion, but mostly to demonstrate the problem. Hello Michael, Any change you can create a patch for inclusion fixing the issue ?
(In reply to Xisco Faulí from comment #4) > Hello Michael, > Any change you can create a patch for inclusion fixing the issue ? Hi Xisco, thanks for asking. Unfortunately I neither know the underlying root cause of the problem nor have I time to look closer into this at the moment, so cannot work on a clean solution now. It would be great if somebody else - maybe more experienced with Impress Remote - could have a look. If no clean solution is possible at the moment, it might still be an option to integrate my workaround to at least get a working version for now, in case the problem is a general one and the alternative is to have a non-working Impress Remote - but this is up to somebody else to decide...
When I build the app from the current source I have the same problem. Thanks for the workaround!
I believe we may need to scale the image to fit the screen. Can you check LogCat on your device whilst the issue is occuring? I’ll bet there are memory exceptions... I guess we get the width and height of the widget’s ImageView via getMeasuredWidth() and getMeasuredHeight() and then rescale the bitmap, after which we set the bitmap.
Created attachment 140594 [details] Logcat output when running in AVD I'm attaching the logcat output I get when running current master from Android Studio in an Android Virtual device (AVD). I opened a presentation in Impress and switched a few slides further using Impress Remote on the AVD. I personally don't see anything obvious in the output, but hope it may help. In case I can do anything to provide a more meaningful log, please let me know how.
*** Bug 116169 has been marked as a duplicate of this bug. ***
I can confirm. Impress remote 2.3; Android 5; wifi and bluetooth connection.
I can confirm with Android 7, LM 19 and LibreOffice 6.0
Confirmer LO 6.0.5.1 android and Just dowloaded impress remote Unusable
Confirmed with libreoffice 6.0.3.2 and Android 8.1.0
*** Bug 118483 has been marked as a duplicate of this bug. ***
*** Bug 119778 has been marked as a duplicate of this bug. ***
Is their any update to this critical bug. With out the preview it pretty useless.
Версия: 6.1.4.2 (x64) ID сборки: 9d0f32d1f0b509096fd65e0d4bec26ddd1938fd3 Потоков ЦП: 4; ОС:Windows 6.1; Отрисовка ИП: по умолчанию; Локаль: ru-RU (ru_RU); Calc: CL Android 7.1.2. Same problem.
*** Bug 127990 has been marked as a duplicate of this bug. ***
hmm. Seems we don't have bugzilla notifications for the impress_remote repository.. → should be fixed with 8cf92d0b4eebad5dcc74ebb249f6c2d92733ee83 / version 2.4.0/v21 from playstore (note to future self: search for bugs before coming up with a fix, Michael's work would have put me to the right direction much quicker...)
(In reply to Christian Lohmaier from comment #19) > hmm. Seems we don't have bugzilla notifications for the impress_remote > repository.. > → should be fixed with 8cf92d0b4eebad5dcc74ebb249f6c2d92733ee83 / version > 2.4.0/v21 from playstore > > (note to future self: search for bugs before coming up with a fix, Michael's > work would have put me to the right direction much quicker...) Wonderful news! Hooray!