Blank window Google authorization

Hello everyone.

Approximately one month ago I wrote about that after snapping my JavaFX project it has the blank window of Google authorization, but issue was not solve. Interest, but in IDE all is ok. Problems begin when snap file was snapped. Unfortunately, I cannot show you source code of the application, but I can show you my .yaml file.

name: deletebg
base: core18
version: '2.10.e'
summary: Delete Background is an easy service for quickly editing your images.
icon: snap/gui/icon.png
license: 'MIT'
description: ...
  
grade: stable
confinement: strict

parts:
  deletebg:
    plugin: maven
    source: .
    source-type: local
    stage-packages:
      - openjdk-11-jre
      - openjfx
      - libopenjfx-jni

apps:
  deletebg:
    extensions:
      - gnome-3-28
    command: bin/java -jar $SNAP/jar/deletebg-2.10.e.jar
    plugs:
      - desktop-legacy
      - desktop
      - home
      - network
      - browser-support

I tried to add to my code the “System.setProperty("sun.net.http.allowRestrictedHeaders", "true");” but it wasn’t help.

One more, I tried to find the login text field and input the login. But after that I caught an error:

java.nio.BufferUnderflowException
at java.base/java.nio.Buffer.nextGetIndex(Buffer.java:651)
at java.base/java.nio.DirectByteBuffer.getInt(DirectByteBuffer.java:750)
at com.sun.webkit.graphics.GraphicsDecoder.decode(GraphicsDecoder.java:114)
at com.sun.webkit.graphics.WCRenderQueue.decode(WCRenderQueue.java:92)
at com.sun.webkit.WebPage.paint2GC(WebPage.java:729)
at com.sun.webkit.WebPage.paint(WebPage.java:696)
at com.sun.javafx.sg.prism.web.NGWebView.renderContent(NGWebView.java:95)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2072)
at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)
at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:479)
at com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:328)
at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:91)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
at java.base/java.lang.Thread.run(Thread.java:829)

You can test it installing application It names “deletebg

you should start with installing the snappy-debug snap and run the snappy-debug command in one terminal while starting your app from another terminal, that should show you any errors the app produces as well as any errors caused by the snap environment…

So, I did it. Result

you should definitely add the network-bind plug, the other cgroup related bits that try to set the memory limit seem not fatal to me …

do you see any errors from the app itself in the terminal window you started it in ?

I added the network-bind plug. It’s not solved the issue.

I get the next warnings from app itself:

(java:15455): Gtk-WARNING **: 16:30:41.216: Theme parsing error: gtk.css:1566:23: ‘font-feature-settings’ is not a valid property name

(java:15455): Gtk-WARNING **: 16:30:41.219: Theme parsing error: gtk.css:3618:25: ‘font-feature-settings’ is not a valid property name

(java:15455): Gtk-WARNING **: 16:30:41.220: Theme parsing error: gtk.css:4080:23: ‘font-feature-settings’ is not a valid property name

Do you see these errors outside of the snap as well? What gnome version are you using outside the snap?

When the application is running in the IDE I don’t see these errors.

roman@roman-HP-Pavilion-Notebook:~$ gnome-shell --version
GNOME Shell 3.36.9

@kenvandine any ideas for this?

Any ideas hot to solve this issue? Or it’s impossible solve?