| Summary: | KDialog doesn't show in Chrome and Vivaldi browser | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Heimen Stoffels <vistausss> |
| Component: | other (any) | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | NEW --- | ||
| Severity: | normal | CC: | bugwatch, roma251078, vistausss |
| Priority: | P5 | ||
| Version: | R14.0.x [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
|
Description
Heimen Stoffels
2019-09-05 06:40:34 CDT
Maybe I did not understand what. Why should KDialog work in Chrome? Google Chrome uses the gtk+3 dialog, it belongs to the gtk+3 library. Maybe this error only appears in TDE? In Plasma 5, Vivaldi uses the KDE dialog, so why would it use the GTK one on TDE if KDialog is also available on TDE? But even if so: Vivaldi doesn't show any dialog under TDE, so there's still a bug somewhere. Perhaps a bug. If the same thing is repeated, for example, in openbox, then, most likely, the point is in the settings. I cannot repeat this bug on my Gentoo. Perhaps after launching Plasma 5, some settings were added. According to personal observations, TDE is poorly compatible with Plasma. I was just wondering. I installed Plasma 5 before I installed TDE. But even so: I see no reason why dialogs don't work in Vivaldi and Chrome on TDE but they work in all other apps on TDE. Is there no way to debug this? What is your OS? I myself can not get kdialog to work with Vivaldi. pid received by the command: sleep 2s; xdotool getwindowpid $ (xdotool getwindowfocus) shows that the dialogue belongs to Vivaldi. This means that the GTK dialog is used. I cannot repeat this even with installed plasma. I don't know what to tell you: Vivaldi uses the KDE dialogs on Plasma for me. But I don't care what kind of dialogs it's supposed to use on TDE, I just want working dialogs in Vivaldi on TDE, that's all. My OS is Arch Linux. Sorry, should've included that in the OP. In fact, Manjaro even says that Vivaldi is supposed to use KDialog on Plasma by installing kdialog (which I did): "By default, Vivaldi will use the GTK file dialogs. If you are using plasma and would prefer native dialogs, you can install the package kdialog using your favorite package manager or with the command: pamac install kdialog" Source: https://wiki.manjaro.org/index.php?title=Vivaldi_Browser#Using_the_Native_File_Dialogs_on_KDE.2Fplasma And Arch suggests the same: https://wiki.archlinux.org/index.php/Vivaldi So I really don't understand why you think Vivaldi doesn't use KDialog on Plasma. I managed to reproduce this bug. What does this command output? $ env|grep -i XDG This is the output: vistaus@ThinkArch ~> env|grep -i XDG XDG_CONFIG_DIRS=/opt/trinity/etc/xdg:/etc/xdg XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/opt/trinity/share:/usr/local/share:/usr/share XDG_RUNTIME_DIR=/run/user/1001 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP= XDG_SESSION_ID=15 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session14 XDG_SESSION_TYPE=x11 XDG_VTNR=1 vistaus@ThinkArch ~> The reason is in the variable XDG_CURRENT_DESKTOP. As far as I understand, this variable does not belong to TDE. Maybe it’s the display manager. Try adding a line to the ~/.xprofile file: unset XDG_CURRENT_DESKTOP If this file is missing, you must create it. The gtk dialog in vivaldi will open. That should work. Thanks! That worked! But it still doesn't use TDE's KDialog while it does use KDialog on Plasma, so this bug is still relevant. There is not option in TDE Kdedialog: --attach=$winid Therefore, using it is not realistic in vivaldi. What do you mean? I mean, kdialog in TDE and kdialog in Plasma use different parameters. Because of this, Kdialog from TDE fails and does not start in Vivaldi. Okay, understood. But there ought to be a way to make it work. If not, then this bug should at least remain open so that this can be implemented some time. I'm not against. But I'm not a TDE developer. Good luck! |