-
-
Notifications
You must be signed in to change notification settings - Fork 314
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
Pages not displayed on Ubuntu 22.04 with version 3.1.0 #1271
Comments
@lissom Can you kindly share the book that you're facing issue with? I'll try to look into it. |
"Advanced Futures Trading Strategies" by Robert Carver. You are have to own the book to access the public download page. Do you have an email or something where I could privately send you a link? |
Yes, this is my mail [email protected] |
OK, you should have an email with a link. |
Hi, @lissom I am able to see the pages (Let me know, if I should delete this screenshot) What you can do is, run the app from terminal via |
OK, thanks. Here is the output from snap run foliate(com.github.johnfactotum.Foliate:34458): Gtk-WARNING **: 13:01:13.060: No IM module matching GTK_IM_MODULE=ibus found ** (com.github.johnfactotum.Foliate:34458): WARNING **: 13:01:39.960: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied ** (com.github.johnfactotum.Foliate:34458): WARNING **: 13:01:39.960: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied (process:34723): GLib-GIO-WARNING **: 13:01:40.003: GDBus.Error:org.freedesktop.portal.Error.NotAllowed: This call is not available inside the sandbox ** (process:34738): WARNING **: 13:01:40.086: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied ** (process:34738): WARNING **: 13:01:40.086: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied ** (process:34738): WARNING **: 13:01:40.087: Failed to get atspi registered event listeners: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.54" (uid=1000 pid=34738 comm="/usr/lib/x86_64-linux-gnu/webkitgtk-6.0/WebKitWebP" label="snap.foliate.foliate (enforce)") interface="org.a11y.atspi.Registry" member="GetRegisteredEvents" error name="(unset)" requested_reply="0" destination=":1.3" (uid=1000 pid=18052 comm="/usr/libexec/at-spi2-registryd --use-gnome-session" label="unconfined") |
Just installed Foliate with snap on PopOS running into the same issue. Blank pages but the index page works. Here's the logs from
|
@lissom @awalvie Both you probably doesn't have portals installed on your machine. Try with this, may be it get fixed sudo apt install xdg-desktop-portal-gnome xdg-desktop-portal-gtk |
They are already installed: |
It works with |
flatpak worked for me too
…On Mon, Mar 18, 2024 at 5:38 PM Vishesh ***@***.***> wrote:
It works with flatpak surprisingly?
—
Reply to this email directly, view it on GitHub
<#1271 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA3OFWFGFAZXV3WAGGMXGXLYY5NEXAVCNFSM6AAAAABEPAUR26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBVGA3DSNRZGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Possibly a duplicate of #1107 |
I cannot reproduce this even on kde-neon which is based on 22.04. So, the only thing that I can think of is that the books are opened from a removable device. Can you guys try by clicking on the hamburger menu and then click the Open button and then selecting the book? Are you guys getting this type of page? |
The hamburger didn't help.
I checked out issue 1107, and that does seem to be the cause. I'm sure it
was working in early Feb with an nivida card, so this is newer for me than
Nov for me. The following command does work:
WEBKIT_DISABLE_DMABUF_RENDERER=1 foliate
However, getting a single application in Gnome to change its settings has a
whole lot of bad options. I think I'm going to stick to flatpak for the
time being (if you fix the snap, I'd go back to snap, but 6 of one, half
dozen of the other).
I really appreciate your help with this! Thank you!
…On Wed, Mar 20, 2024 at 1:20 AM সৌম্যদীপ ঘোষ ***@***.***> wrote:
I cannot reproduce this even on kde-neon which is based on 22.04. So, the
only thing that I can think of is that the books are opened from a
removable device. Can you guys try by clicking on the hamburger menu and
then click the Open button and then selecting the book?
image.png (view on web)
<https://github.com/johnfactotum/foliate/assets/72045785/82df5580-89e3-4d42-86cd-02b36f51e548>
Are you guys getting this type of page?
—
Reply to this email directly, view it on GitHub
<#1271 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA3OFWDTDFY4YRA7E3SVVKDYZEMBHAVCNFSM6AAAAABEPAUR26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBYGY3TKOBXHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
BTW, as long as we're talking:
- If you had page numbers so it would track to the book's when I talk to
people about the book, that would rock (they don't need to be correct, I
can subtract 5 or w/e for when the book starts)
- Foliate is the best viewer by a mile, I've tried like 10. I use it in
double page mode, it rocks!!!!
On Wed, Mar 20, 2024 at 12:37 PM Charlie Page ***@***.***>
wrote:
… The hamburger didn't help.
I checked out issue 1107, and that does seem to be the cause. I'm sure it
was working in early Feb with an nivida card, so this is newer for me than
Nov for me. The following command does work:
WEBKIT_DISABLE_DMABUF_RENDERER=1 foliate
However, getting a single application in Gnome to change its settings has
a whole lot of bad options. I think I'm going to stick to flatpak for the
time being (if you fix the snap, I'd go back to snap, but 6 of one, half
dozen of the other).
I really appreciate your help with this! Thank you!
On Wed, Mar 20, 2024 at 1:20 AM সৌম্যদীপ ঘোষ ***@***.***>
wrote:
> I cannot reproduce this even on kde-neon which is based on 22.04. So, the
> only thing that I can think of is that the books are opened from a
> removable device. Can you guys try by clicking on the hamburger menu and
> then click the Open button and then selecting the book?
>
> image.png (view on web)
> <https://github.com/johnfactotum/foliate/assets/72045785/82df5580-89e3-4d42-86cd-02b36f51e548>
>
> Are you guys getting this type of page?
>
> —
> Reply to this email directly, view it on GitHub
> <#1271 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AA3OFWDTDFY4YRA7E3SVVKDYZEMBHAVCNFSM6AAAAABEPAUR26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBYGY3TKOBXHE>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
I'm on Pop!_OS 22.04 with Foliate 3.1.0 installed via Flatpak. I too can't see the pages, only the TOC. Here's the Terminal output:
|
I tried the snap version as well, and it too didn't work. Then I tried switching from NVIDIA graphics to hybrid graphics, and both work. So it seems this bug is related to using the NVIDIA GPU. |
I see same issue on the ubuntu 24.04:
I'm running this on thinkpad x13 (AMD Ryzen 7 PRO 6850U with Radeon Graphics). Please note, that issues started after kernel 6.6.20. With mainline kernel 6.6.20-060620 everything works fine. |
Can you try foliate from the edge channel of snap store? |
I was able to resolve issue on the ubuntu 24.04 by creating file /etc/apparmor.d/foliate with the following content and restarting apparmor after that.
|
Sure, but what's the point of using unconfined and having a snap? If that is the fix I'd rather use flatpak. |
The snap is not at all unconfined. Not in Ubuntu based distros atleast. |
Please add that this is for the deb and not for the snap, because the issue is related to snap. |
I'm sorry, I thought it is clear that I'm using deb based on my 1st comment. |
The original creator of this issue created this against snap. That's why I said to specify that this is not snap. |
Ah, sorry about that, completely missed that part :(. |
Actually the snap is confined. It just uses a profile controlled by snapd. You can see it using ps -Z. The snap profile is snap.foliate.foliate snapd has a new interface to support applications that need userns. Current applications will continue to work without the requirement for the interface. When the requirement for the new interface will be enforced I am unsure of. |
This has been merged in https://gitlab.com/apparmor/apparmor/-/merge_requests/1209, it should start working its way into Ubuntu later when the beta freeze is lifted. |
I guess in beta means the horse has left the barn, however, running unconfined is on many systems restricted. It also seems like a rendering problem? |
Will it be backported into 24.04? Otherwise, since 24.04 is LTS, a lot of users will face similar issues for several years. |
It will be in 24.04, it might even manage to land before release |
3.1.1 still doesn't work with nvidia cards unless ran as: |
Any way to set that by default and not during each launch? |
Add the line |
Describe the bug
Pages not displayed on Ubuntu 22.04 with version 3.1.0. The Index panel is working properly.
It was was working in Feb, there was an update to 3.1.0 on 2024-02-03.
Strangely only one book has reversed the index panel (the bits to click on are on the right, not the left, these are all books in English).
sudo snap list foliate --all
Name Version Rev Tracking Publisher Notes
foliate 3.1.0 1775 latest/stable johnfactotum -
There is no version to downgrade to.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Pages are displayed.
Version:
Additional context
It would be great if there were more versions available so downgrades are possible to immediately fix the issue.
The text was updated successfully, but these errors were encountered: