Replies: 15 comments 4 replies
-
@tekhnee, thank you for your message. You can already set an image file as a background. PDF, you cannot yet. I agree with you that it should be possible to add a PDF as a background. Now, there are several issues about the dimensions of the tableau:
|
Beta Was this translation helpful? Give feedback.
-
@francoisschwarzentruber on my system (macOS) it is not possible to choose a PDF file when clicking on |
Beta Was this translation helpful? Give feedback.
-
@tekhnee thank you for reporting that bug on macOS. No you are exactly at the right place! I guess that is a bug with the format acceptance in the dialog box. What happens if you allow for any type of files in the dialog box? What is your browser? |
Beta Was this translation helpful? Give feedback.
-
@francoisschwarzentruber false alarm, my apologies! Presumably for security reasons, the browser blocks access to local files when the originating URI is a local |
Beta Was this translation helpful? Give feedback.
-
OK. Thank you. Do not load a heavy pdf. The code is not optimized yet! ;) |
Beta Was this translation helpful? Give feedback.
-
@francoisschwarzentruber a couple of comments on the implementation. At the outset, it looks great and adds significant power to the app. Two questions:
|
Beta Was this translation helpful? Give feedback.
-
@tekhnee. Thank you for your comments.
Do you mean completely freely? Why not, but this "pdf magnet" is big on the screen. Also, we should still be able to draw on the top of the PDF. So, moving the PDF should be done via an extra handle, or by pressing a key or whatever.
No, there are technical difficulties to move the PDF widget.
It depends. The different pages could also be separated. In PS, I explain how PDF.js, that library is convenient.
The current implementation of Tableaunoir corresponds to a classical PDF annotation software, and scrolling in the board will show the PDF pages in order. In some sense, the features "change PDF page" and "scroll on the board" are merged. All the solutions "conference mode with writing on the pdf", "conference mode with writing on the board independent from the PDF", "PDF pages already arranged behind the board" are implementable. I am bit puzzled and I want tableaunoir to be simple to use. ;) PS: with PDF.js, everything is implementable! Actually, the library PDF.js works as follows. Just allocate an HTML canvas for a page, and then you ask PDF.js to draw a specific page on that canvas. There are no memory issues, because we can discard pages that are not on the screen. |
Beta Was this translation helpful? Give feedback.
-
OK! Anyway, the PDF book, or the PDF pages always move with the board! I agree! So we have three possibilities.
I guess that importing only one specific page could be done in the PDF book option: simply go to that page! Now, remains some issues:
|
Beta Was this translation helpful? Give feedback.
-
I think there is a whiteboard project that implements the page selection feature quite well. The relevant lines are here. The elegance of the result belies the brevity of the code! |
Beta Was this translation helpful? Give feedback.
-
Thank you for all this discussion. I try to follow the KISS principle. Here is where Tableaunoir is now for the insertion of images or PDF.
Of course, we should stay open with ideas. But we could also keep it simple like that. What do you think? |
Beta Was this translation helpful? Give feedback.
-
@francoisschwarzentruber I'm (mostly) convinced. The distinction between wallpaper and document, which supersedes background images, makes perfect sense. At the moment the wallpaper is in front of the document, though (e.g. the staff paper background crosses out part of the PDF pages). Is this intentional or a bug? The full-height view is indeed sufficient for most cases, and I'll agree that resize-move controls for the document would probably add noise to the UI. In case of ultra-small images requiring magnification or zoom, one can always produce a magnified copy in advance. I'll need to test this in actual teaching, especially with detailed manuscripts and scores, to discover potential weaknesses. At the outset, though, it does look very good and is delightful to use. My first hunch was to complain for not being able to add more than one PDF at a time. Then I thought, one can always share two tableaunoir links at the same time, right? (Though of course the load on the serve would multiply.) My only objection really is that I'd still prefer inline page forward-backward buttons on mouse hover — for quickly skimming through the PDF without returning to the settings. I cannot see how this would overcomplicate things; on the contrary, having to return to the settings for a simple page turn seems to me unnecessarily complicated. It's your call, of course….. Thank you so much! |
Beta Was this translation helpful? Give feedback.
-
Thank you for your message and the general discussion. It really helps to improve Tableaunoir. Wallpaper should be behind documents (image or PDF) Full-height You can add more than one page. inline page forward-backward buttons |
Beta Was this translation helpful? Give feedback.
-
Ah! Apologies, got you — will take a look and report back if needed. [UPDATE: Works beautifully.]
I was going to suggest that these controls be visible "on hover" but forgot, momentarily, that… hovering is the essence of this whiteboard app :) So this wouldn't work. What could (?) work is a "dot" or "hamburger" button on the upper-left corner of the PDF, which would open a popup with these page controls. |
Beta Was this translation helpful? Give feedback.
-
I continue thinking about it. For the moment, let us just imagine thatthe "dot", "hamburger" button is simply the menu button, and that the last open menu tab was "Background", so you are directly in the PDF page selector. Maybe at some point, we could imagine that the full menu is not (always) full screen, but for the background tab for instance, the board itself is still visible in the menu. So the background tab will enable the user to directly interact with the background elements (for instance, change the page of a pdf or delete a pdf/image). I am not sure I am completely clear so I draw an image: What do you think? ps: this kind of graphical user interface is more difficult to develop. So we really need to be sure it is useful! |
Beta Was this translation helpful? Give feedback.
-
@francoisschwarzentruber, I think I understand what you mean — a "modal" element of some kind for the menu, perhaps in the shape of a "drawer" or pop-up dialog. This idea looks superior to mine for a number of reasons; it is more versatile and expandable, to begin with, and also provides much more space for laying out the controls. It would probably take a few iterations until it is ergonomic and truly simple to use. But it opens up a few interesting directions — a (semi-)transparent background for the modal menu, for instance, which could allow the PDF/background controls to float above the board, until they are dismissed by the user. |
Beta Was this translation helpful? Give feedback.
-
@francoisschwarzentruber I vaguely recall a proposal for embedded PDF, image, or audio/video files. The discussion elaborated on various design challenges. Unfortunately I cannot retrieve that discussion — may I ask about your thoughts on this? The lack of such a facility excludes this extraordinary software from entire disciplines — art history, music, manuscript studies, …
I realize that the dimensions of the tableau could be a major constraint — not an insurmountable one, though.
Beta Was this translation helpful? Give feedback.
All reactions