New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tray Icon & Title Missing #1442
Comments
In #1414, we changed the name of the xournalpp desktop and icon files to For reference, here are the files that need to be renamed (replace
Edit: you also need to edit the You may also need to run the |
I completed a fresh installation from scratch as done before with a DE that has never had Xournal++ installed, and I do indeed see these specific file names updated in the installation output as shown below. Additionally, I verified that the files in each location were renamed and this also was true; however, the issue still persists.
I also ran When Xournal++ is first started, the tray icon and title both appear with the rotating circling to indicate it's loading, but once it finishes loading and is ready, the resulting image appears as screenshotted in the initial post. |
If you have an old desktop file lying around, it might be confusing the DE into using the wrong icon path (at least from what I've tested); please also see my edit to my previous comment. I'll try testing on a machine with no Xournal++ installation tomorrow if deleting the old desktop files doesn't fix the issue. |
I think I have fixed it actually! Thanks to your help, I went into my |
The file name is intended as this is a naming convention used by Gnome and KDE. However, the same issue appears when running NextcloudClient. Might be a Gnome issue. |
This at least fixed the missing icon on dashboard. |
A bit off topic, but I've been looking into this as well. I use the AppImage, and despite the files being installed correctly by our integration code: > xdg-mime query default application/x-xopp
appimagekit_43c5a5d0157a403ad0fe630d1bdd4b80-Xournal++.desktop I'm still trying to find out why Xfce doesn't make use of this. Anyway, I'd like to suggest adding some proprietary magic bytes. If you look at the file header, there's some blank bytes that might be used: > hexdump -Cv some.xopp | head -n1
00000000 1f 8b 08 00 00 00 00 00 00 03 bc bd 6b 53 1d bb |............kS..| There's the standard magic bytes for gzip, 0x1f, 0x8b, 0x08. As you can see, there's a lot of null bytes where you might embed a custom string that will clearly mark files as Xournal++ files: > echo -ne 'xopp' | dd of=test.xopp bs=1 count=4 seek=4 conv=notrunc
4+0 records in
4+0 records out
4 bytes copied, 0.000208423 s, 19.2 kB/s
> hexdump -Cv test.xopp | head -n1
00000000 1f 8b 08 00 78 6f 70 70 00 03 bc bd 6b 53 1d bb |....xopp....kS..| Works fine, and is much more robust than just file extension guessing. And it's really easy to note this down in your MIME definition. |
hm. looks like a severe bug. This is what it looks for me: I have used this to test: The patch in #1442 (comment) looks entirely wrong. Replying to #1442 (comment) |
I should have added that this is based on flathub/com.github.xournalpp.xournalpp@dd8bb37 which in turn builds 7a728c6 which hopefully has all the suspected changes incorporated. |
Has anyone tried to |
@TheAssassin The appdata file on
#1452 updates the appdata file and should fix the validation problem. I'll need to test a further to see if the PR can also fix this issue. |
FWIW: The validation for flathub works fine:
A locally installed version is also fine with the file as is:
For completeness, this is the file I am validating:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Okay this discussion went way off-topic...
|
This only happens on GNOME/Wayland. Icon shows fine on GNOME/Xorg, KDE, etc. (As the Nextcloud client application had the same issue I tested it with all WMs as well and it shows the same behavior.) |
Do you know the cause? And does the workaround here ( Edit: can confirm that the issue occurs on GNOME/Wayland and not with GNOME/Xorg. Tested on Debian testing with GNOME shell 3.30. |
This has been fixed in Nextcloud now nextcloud/desktop#1449 |
pkgsrc changes: - depend on audio/portaudio instead of audio/portaudio-devel - add patches for smooth curves and device manager (from wip/xournalpp-git) = Changelog == 1.0.15 **Attention**: Please see the 1.0.14 patch notes before installing this version. * Fixed an issue where copying and pasting strokes would crash the program. == 1.0.14 **Attention:** users who installed with `make install` will need to follow special instructions to update. See the "Breaking change" below. We now officially support packaging Xournal++ using CMake. This allows users to generate DEB and tar packages. See `readme/linux.md` for more details. * **Breaking change**: the desktop and icon files were renamed from `xournalpp` to `com.github.xournalpp.xournalpp` to be more in line with the AppStream specification. This change should only affect users that install with `make install`; these users must run `make uninstall` with a cloned version of _Xournal++ 1.0.12_ first. We recommend migrating to another installation format, such as Flatpak, AppImage, or tarball. Refer to [this issue](xournalpp/xournalpp#1442 (comment)) for more details on how to uninstall if `make uninstall` is unavailable. Refer to `readme/LinuxBuild.md` for build instructions. * Text field * (New input system) double/triple text selection in text fields * Fixed issue with cursor not showing on mouse movement after typing into text field * Fixed text not rendering correctly when used with highlighter and non-white backgrounds * Latex tool * Now warns users if latex dependencies are missing * Newly created objects are now placed in the center of the screen or page * Image tool * Images are now selected by default on insertion * Fixed memory leak * Fixed an issue where pasted images were zoomed in and ignoring DPI settings * Quality-of-life changes * Improved copy-paste behavior * Improved audio recording quality and stability * Enable Enter/Shift+Enter to advance search bar * Enabled left and right arrow keys to change pages in presentation mode * Xournal++ icon is now rendered in thumbnails of Xournal++ files * Renamed "Thin" thickness to "Fine"; Added "Very Fine" and "Very Thick" thicknesses * Added a right-click context menu to the page preview sidebar * (Experimental) Floating toolbox * Can be enabled in preferences by mapping mouse/stylus buttons to Floating Toolbox * To use it, create a new custom toolbar in `View > Toolbars > Manage`. Switch to the new toolbar, then choose `View > Toolbars > Customize`. Drag the desired tools into the floating toolbox (currently, tools may only be placed on exactly one of toolbar or the floating toolbox, but not both) * This feature is still a work-in-progress and may contain bugs * Input * Improved input detection * Added option to (forcefully) assign input classes to devices * Fixed Select Object sometimes failing to select overlapping objects * (New input system) Fixed pressure sensitivity only changing after program restart * Preferences window * Redesigned layout of the preferences windows * Renamed and enhanced tap select/quick select options * Major bug fixes * Fixed some performance issues causing pages to flash * Fixed an issue where discarding changes to current file and then selecting "Cancel" in the file open dialog caused subsequent saves to fail * Fixed an issue where pressing "Cancel" in the export dialog could cause the application to crash * Fixed a bug introduced in 1.0.12 where "Open File" could crash the application on some systems * Refactoring and other non-user visible changes * Other misc features and bugfixes * Added appdata file * Added ability to customize UI styles using CSS * Added option to disable scrollbar fade * Allow `*.pdf.xopp` filenames. Any file whose name follows the format `$filename.pdf.xopp` will be exported as `$filename.pdf`. * Added ability for installation to be relocatable * Updated translations * Updated dependency information for DEB packages * Improved file size by reducing stroke coordinate precision * Fixed an issue where last eraser thickness settings were not being remembered * Fixed pen strokes not appearing after searching * Fixed user-defined toolbar shrinking in size after customizing * Fixed scrollbar issues caused by window resizes * (Windows) Fixed the User Guide webpage not opening (the `Help > Help` menu option)
Affects versions :
Describe the bug
Starting a new instance of Xournal++ works as intended; however, in the GNOME taskbar, the tray icon and name is missing. The results are shown in the screenshots below.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The tray icon is expected to be on the left of the title. The title should be 'Xournal++' and not 'xournalpp'.
Screenshots of Problem
Additional context
Xournal++ does show up in the Activities bar, so it must be just a tray icon issue of finding the title and image. Also, please disregard the date of the second screenshot - this was done on a snapshot of a VM. It was indeed built on Aug 23, 2019.
If this is a duplicate issue, please let me know. I can take this down if it has been patched, but not pushed.
The text was updated successfully, but these errors were encountered: