stiglers-eponym / beamerpresenter Goto Github PK
View Code? Open in Web Editor NEWModular multi-screen pdf presentation viewer
License: Other
Modular multi-screen pdf presentation viewer
License: Other
Use case: after clicking on a specific slide in the thumbnails tab, it is impossible to pass beamer overlays with a presentation remote.
I'm using the current version and since a few weeks, pressing the left/page-down key only makes the frame on presentation/beamer window switch, the note slides stays the same. This happens with and without separate notes pdf.
If I change the window configuration the "stuck" note slide updates to the correct one.
Using i3wm, X11, archlinux and today's BeamerPresenter build.
Good afternoon,
I would like to configure a pen color as a key by editing the beamerpresenter.conf file,
based on the available configurations present in the file by defaut, it is not clear to me how to define a key for example to set a pen with a particular color (lets say green). Is it possible to get an example?
thank you very much in advance
King regards
Alfredo
Thank you so much for this software -- it has been perfect for me as I moved classes online this fall.
I have one problem: The pen tool is invisible until I start drawing (pushing mouse button or touching pen to tablet). Is this some misconfiguration on my end or a bug?
I'm on Kubuntu 20.04 and BeamerPresenter 0.1.3-294.b0431f3 built from github
What arrives at ControlScreen::keyPressEvent is the correct key (e.g. Qt::Key_Left
), but with modifier QFlags<Qt::KeyboardModifier>(KeypadModifier)
.
Good Morning,
I am following the instructions provided to install BeamerPresenter in Ubuntu 18, installed the required packages and after typing 'make' I am getting the following error:
src/draw/pathoverlay.cpp:594:10: error: ‘TabletTrackingChange’ is not a member of ‘QEvent’
case QEvent::TabletTrackingChange:
Any idea on how to solve it?
thanks in advance for the support,
regards
Alfredo
Trying to compile with INCLUDE_POPPLER
results in following error message:
src/preferences.cpp: In member function ‘void Preferences::setRenderer(const QString&)’:
src/preferences.cpp:511:5: error: expected primary-expression before ‘else’
511 | else if (new_renderer == "poppler + external")
| ^~~~
make: *** [Makefile:1003: preferences.o] Error 1
This seems to be caused by the following lines, which result in an else else
:
BeamerPresenter/src/preferences.cpp
Lines 491 to 500 in fd898bc
BeamerPresenter/src/preferences.cpp
Lines 510 to 518 in fd898bc
Removing the else
in line 511 should fix this.
Hi! I have tried to modify the pen color acting on the .conf file as follows but the pen is still green.
Draw tools
You can use different syntax to define draw tools:
Red pen with default size 3
keys/Shift+r = pen red
Black pen with size 3 explicitly specified
keys/Shift+k = pen black
Blue pen with color and size explicitly specified
keys/Shift+b = pen color=blue size=3
Yellow highlighter
keys/Shift+h = highlighter color=#c0ffff00 size=30
On Ubuntu 20.04, using Wacom tablet, I cannot do anything other than draw in black using the tablet. Using mouse, I get all the other tools, but with the tablet I only get "draw in thin black line" no matter what tool I select.
Consider the following pdf:
\documentclass{beamer}
\usetheme{metropolis}
\begin{document}
\begin{frame}{before}
\end{frame}
\section{section}
\begin{frame}{after}
\end{frame}
\end{document}
(attached:
main.pdf
)
when making the presentation normally with arrows, all three slides are shown, but the section is not displayed in the preview of next slides:
in the thumbnails tab, the first slide is not displayed:
Clicking on the thumbnail of the section slide actually displays the before slide.
Reproduced with /nix/store/9jfxkfy1sm3yzdfic4px8pz2w6qb16gp-beamerpresenter-0.2.3-1/bin/beamerpresenter from current nixos-unstable.
Good morning,
is it possible to configure a button in the toolset to clear all the drawings in the slide?
Thanks in advance for the support,
Alfredo
Hi. Thanks for this fantastic presenter. I use it constantly in my lectures.
Unfortunately, I get segmentation faults at random moments in time when drawing on the slides (my students got already used to it).
I think the problem is multi-touch, e.g. when my palm touches the screen while writing with the pen, or when touching the screen at two different points with my fingers (even without using the pen).
Please let me know if I can help anything with debugging this further!
Beamerpresenter allows the users to indicate what the speaker is talking about using the pen tool; the speaker can use the pen tool to draw arrows etc. (and in theory, all kinds of shapes).
For the same reason, if the speaker wants to highlight a certain amount of space, as an example, a whole line in a code example. It can be pretty challenging to create, let's say, a square by hand. Thus, it would be nice if the speaker could draw some commonly used shapes, such as squares, circles, arrows, etc.
Hi,
first of all, thank you for the awesome program!
I have downloaded and compiled BeamerPresenter, according to the documentation.
The version string of BeamerPresenter is the following:
BeamerPresenter 0.2.3 poppler=20.09.0 Qt=5.15.2
I am using debian bullseye 11.
All other applications work well with touch, e.g. I have also installed xounalpp, and it works fine, however, in BeamerPresenter, I can move the mouse, but after selecting the pen tool and pressing the stylus in the screen nothing happens.
I can delete drawn objects if I move the stylus while clicking on one of its buttons.
Here is a list of the touch devices:
$ xsetwacom --list devices
Wacom Pen and multitouch sensor Finger touch id: 9 type: TOUCH
Wacom Pen and multitouch sensor Pen stylus id: 10 type: STYLUS
Wacom Pen and multitouch sensor Pen eraser id: 16 type: ERASER
(BTW, I have compiled BeamerPresenter in MacOS Ventura, and the same thing happens... but that is probably another issue?)
Thank you for any help to get the pen working!
Would it be possible to have a binary for Windows? This would help if we have to present on hardware other than our own.
First of all, thanks for providing this tool, it's great!
I was wondering whether there are any plans to support loading notes automatically when using beamer's \setbeameroption{show notes on second screen=right}
option. See for instance
this example.
The type signature of a function in the library seems to have changed.
Build failure noticed on NixOS/master.
beamerpresenter 0.2.3
mupdf 1.23.0
/build/source/src/rendering/mupdfdocument.cpp: In member function 'virtual const QSizeF MuPdfDocument::pageSize(int) const':
/build/source/src/rendering/mupdfdocument.cpp:306:30: error: too few arguments to function 'fz_rect pdf_bound_page(fz_context*, pdf_page*, fz_box_type)'
306 | bbox = pdf_bound_page(ctx, pages[page]);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /nix/store/1fykpw3vv4c19qlxi6m2zr1qzh207dp8-mupdf-1.23.0-dev/include/mupdf/pdf.h:38,
from /build/source/src/rendering/mupdfdocument.h:16,
from /build/source/src/rendering/mupdfdocument.cpp:22:
/nix/store/1fykpw3vv4c19qlxi6m2zr1qzh207dp8-mupdf-1.23.0-dev/include/mupdf/pdf/page.h:101:9: note: declared here
101 | fz_rect pdf_bound_page(fz_context *ctx, pdf_page *page, fz_box_type box);
| ^~~~~~~~~~~~~~
/build/source/src/rendering/mupdfdocument.cpp: In member function 'void MuPdfDocument::prepareRendering(fz_context**, fz_rect*, fz_display_list**, int, qreal) const':
/build/source/src/rendering/mupdfdocument.cpp:503:27: error: too few arguments to function 'fz_rect pdf_bound_page(fz_context*, pdf_page*, fz_box_type)'
503 | *bbox = pdf_bound_page(ctx, pages[pagenumber]);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1fykpw3vv4c19qlxi6m2zr1qzh207dp8-mupdf-1.23.0-dev/include/mupdf/pdf/page.h:101:9: note: declared here
101 | fz_rect pdf_bound_page(fz_context *ctx, pdf_page *page, fz_box_type box);
| ^~~~~~~~~~~~~~
/build/source/src/rendering/mupdfdocument.cpp: In member function 'virtual bool MuPdfDocument::flexiblePageSizes()':
/build/source/src/rendering/mupdfdocument.cpp:758:44: error: too few arguments to function 'fz_rect pdf_bound_page(fz_context*, pdf_page*, fz_box_type)'
758 | const fz_rect ref_bbox = pdf_bound_page(ctx, pages[0]);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/nix/store/1fykpw3vv4c19qlxi6m2zr1qzh207dp8-mupdf-1.23.0-dev/include/mupdf/pdf/page.h:101:9: note: declared here
101 | fz_rect pdf_bound_page(fz_context *ctx, pdf_page *page, fz_box_type box);
| ^~~~~~~~~~~~~~
/build/source/src/rendering/mupdfdocument.cpp:762:30: error: too few arguments to function 'fz_rect pdf_bound_page(fz_context*, pdf_page*, fz_box_type)'
762 | bbox = pdf_bound_page(ctx, page);
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/nix/store/1fykpw3vv4c19qlxi6m2zr1qzh207dp8-mupdf-1.23.0-dev/include/mupdf/pdf/page.h:101:9: note: declared here
101 | fz_rect pdf_bound_page(fz_context *ctx, pdf_page *page, fz_box_type box);
| ^~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/beamerpresenter.dir/build.make:832: src/CMakeFiles/beamerpresenter.dir/rendering/mupdfdocument.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:279: src/CMakeFiles/beamerpresenter.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
error: builder for '/nix/store/3kkaw93dmxwcbckiv8v71j0yi7cz6brf-beamerpresenter-0.2.3-1.drv' failed with exit code 2
I'm using beamerpresenter on Arch installed using AUR. However, I can not see the tools icons anymore in recent update. This might be due to my system packages (undocumented dependency) as I remove some KDE plasma packages (See attached).
I've all qt5-svg
and qt5-multimedia
packages installed.
My apologies, I've not had that happen before!
Hi, I get the following error under macOS 10.14 while compiling:
In file included from src/screens/../slide/drawslide.h:27:
src/screens/../slide/../draw/pathoverlay.h:91:25: error: no matching constructor for
initialization of 'FullDrawTool'
FullDrawTool tool = {NoTool, Qt::black, 0.};
The compiler is Clang++ (I split the output in lines):
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-c -pipe -stdlib=libc++ -O2 -std=gnu++11 -arch x86_64
-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
-mmacosx-version-min=10.13 -Wall -Wextra -fPIC -DQT_DEPRECATED_WARNINGS
-DAPP_VERSION=\"0.1.1-267.203c955\"
-DCHECK_QPA_PLATFORM
-DICON_PATH=\"/usr/share/icons/hicolor/scalable/apps/\"
-DEMBEDDED_APPLICATIONS_ENABLED -DQT_NO_DEBUG_OUTPUT
-DQT_NO_DEBUG -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB
-I.
-I/usr/include/poppler/qt5
-I/usr/local/Cellar/poppler/0.83.0/include
-I/usr/local/Cellar/qt/5.14.0/lib/QtMultimediaWidgets.framework/Headers
-I/usr/local/Cellar/qt/5.14.0/lib/QtMultimedia.framework/Headers
-I/usr/local/Cellar/qt/5.14.0/lib/QtWidgets.framework/Headers
-I/usr/local/Cellar/qt/5.14.0/lib/QtGui.framework/Headers
-I/usr/local/Cellar/qt/5.14.0/lib/QtNetwork.framework/Headers
-I/usr/local/Cellar/qt/5.14.0/lib/QtXml.framework/Headers
-I/usr/local/Cellar/qt/5.14.0/lib/QtCore.framework/Headers
-I.
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Headers
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AGL.framework/Headers
-I.
-I/usr/local/Cellar/qt/5.14.0/mkspecs/macx-clang
-F/usr/local/Cellar/qt/5.14.0/lib
-o main.o
src/main.cpp
It seems to me that the compiler is too old. Could you please say what C++ standard should be satisfied?
Ubuntu 20.10, Qt 5.14.2
When trying to share one of the windows from BeamerPresenter via discord, the browser didn't offer any of BeamerPresenter's windows. The windows from all other applications could be selected. This problem occurred in both Chromium and Firefox.
As a quick fix, I wrapped the top-level widgets in QMainWindows. This did solve the issue.
BeamerPresenter/src/master.cpp
Lines 94 to 96 in 4c23274
was replaced by:
QWidget* const widget = createWidget(obj, NULL);
auto* const main_window = new QMainWindow();
main_window->setWindowTitle("BeamerPresenter");
main_window->setCentralWidget(widget);
if (widget)
windows.append(main_window);
I have problems building the project. Running qmake
gives me qmake: could not exec '/opt/qt512/bin/qmake': No such file or directory
. I tried to use /usr/lib/x86_64-linux-gnu/qt5/bin/qmake
instead, but I get a long list of errors and notes starting with:
g++ -c -pipe -O2 -std=gnu++1y -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/poppler/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimediaWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o previewslide.o src/previewslide.cpp
src/previewslide.cpp: In member function ‘virtual void PreviewSlide::renderPage(int, const QPixmap*)’:
src/previewslide.cpp:135:44: error: ‘class Poppler::Page’ has no member named ‘index’
updateCache(&pixmap, page->index());
^~~~~
What can I do to resolve this problem? I don't have any Qt5 experience and little knowledge in building source code myself. Any hints would be very much appreciated!
Godd morning. In first place thank you for this useful software.
I would like to know if it is possible to have three instances (screens) of the presentation? One for the audience, a second one for drawwing with a tablet and a third one with the notes? Obviously all of the synchronized.
Thank you very much in advance for the support
Best regards
Alfredo
First of all thanks for this awesome tool. It helps alot esp after the new addition of drawing.
I sometimes, the presenter get crash with this error when I open my slide pdf:
error: cannot create appearance stream for Movie annotations
warning: cannot create appearance stream
error: cannot create appearance stream for Movie annotations
warning: cannot create appearance stream
warning: found duplicate fz_image in the store
warning: found duplicate fz_image in the store
warning: found duplicate fz_image in the store
warning: found duplicate fz_image in the store
warning: found duplicate fz_image in the store
warning: ... repeated 6 times...
warning: ... repeated 3 times...
warning: ... repeated 3 times...
warning: found duplicate fz_image in the store
warning: found duplicate fz_image in the store
warning: found duplicate fz_image in the store
warning: found duplicate fz_image in the store
warning: found duplicate fz_image in the store
warning: found duplicate fz_image in the store
740.494 WARNING unknown:0 - QGraphicsScene::addItem: item has already been added to this scene
740.504 WARNING unknown:0 - QGraphicsScene::addItem: item has already been added to this scene
I'm on Arch and the version is BeamerPresenter 0.2.0 mupdf=1.18.0 Qt=5.15.2
. I also have tried beamerpresenter --renderer poppler slides.pdf
with same log.
The application remains stuck at slide 1. Pressing Page Up/Page Down/mouse click has no effect. Home and End keys work (show the first and the last slides, respectively). I am running on Ubuntu 22. I have tried installing the deb files (beamerpresenter-poppler-qt5-jammy-x86_64.deb, beamerpresenter-mupdf-qt5-jammy-x86_64.deb and beamerpresenter-mupdf-qt6-jammy-x86_64.deb) and building from source (enabling MuPdf and Poppler one at a time) so far. None of these work.
Error messages:
0.001 INFO unknown:0 - Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
0.023 WARNING unknown:0 - QSocketNotifier: Can only be used with threads started with QThread
Exporting QT_QPA_PLATFORM before running also has no effect.
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.