How to create X11 window from GTK widget in FireBreath plugin? - linux

everyone!
I need to create browser plugin on FireBreath.
I'm trying to create child X11 window from GTK widget, but plugin crashes in firefox and works in chromium, but not displays...
I've created test desktop GTK application and went the same way: created child X11 window from GTK widget. And it works normal.
What can it be?
Thanks!

Related

Give a Qt application a name which shows up in alt-tab window switch list

I have a PyQt5 application. I call QApplication.setApplicationName("my-name") and this appears as the default window title, but when I alt-tab through my programs (on Ubuntu 18.04 standard configuration) the application name is "Unknown"
What's missing? How do I make the application name appear here? (An icon would also be nice, but the name is most important.)
Cross-platform if possible.

Qt Designer crashes using QWebEngineView

Qt Designer (5.11.2) crashes on selecting the QWebEngineView-Widget.
I am creating a dialogform for including it in QGIS 3 as .ui file. In the form I want to display a website by using the QWebEngineView.
Sadly I am not able to drag the widget inside the dialog window, because Qt Designer crashes instantly on clicking the QWebEngineView button. The issue appears with Qt Designer provided with QGIS 3.3.0 as well as QGIS 3.2.3.
In the Windows Event Viewer I get the errorcode 0xC0000022.
Is someone stuggling with the same issue and has any ideas for solving it?
I do have the same issue without any use i know about qgis,
Only qtdesigner, that instantly crashes when clicking qtwebs..Ico
Looking everywhere for it, i don't find anything clear.
Bad installs
Missing files
Conflits between envs...
I do have:
Ubuntu 20.04
Python 3.9.9 with classic idle
Qt 5.12.2
Pyqt5 as installed with apt-get
(Even qtwebengine, cause i couldn't install or compile simple in any other without a strong internet connection)

eglfs - multiple windows

Working on a embedded linux device with touch screen. Compiled Qt with eglfs support and using tslib for the touch screen. All good up until here. Now, I need to add a virtual keyboard. I've this keyboard as platforminputcontextplugin which works very well on my development linux machine. How can this be done on the embedded device? eglfs is forcing the top window (main window) to full screen and the keyboard is struck behind this window.
What are the options available to me? we need eglfs as it supports OpenGL ES which in turn used by Qt Quick (QML).

Minimizing application with qt

I created (in Qt5 under Linux) a small QMainWindow app.
I noticed that when I'm clicking on the minimizing button, I cannot see my app anymore. In other term, I cannot see it in the bar !?
I tried with docky, cairo-dock and native Mint bar and... nothing work !)
Any idea ?
Is this running it in the debug mode inside of Qt Creator? Maybe you have to deploy it and run it outside of Qt Creator for it to get its own button on the dock/taskbar.
If not, you might have a bug that should be reported to qt.

Debugging GLFW display settings

In my project, I would like to use GLFW for the window supporting. It works fine on my laptop and office PC, but my home desktop does not let me open a window (All of them Ubuntu 12.04). I tried with GLUT also, which at least gives me an error message, but all I was able to find out was that the settings of the window were not supported by the X-Server (something with glXChooseFBConfig).
However, I was able to open a window using SDL. Now I'm very curious as to why SDL can open an OpenGL window, but GLUT and GLFW can't. How can I debug these graphics settings in a Haskell program? Is that even possible to figure out or do I have to simply accept it?
I have a bunch of game on this desktop and never had any trouble with OpenGL. What is different here?

Resources