Bug 31846 - gnome-terminal does not work under GNOME Wayland (except for Adwaita theme)
Summary: gnome-terminal does not work under GNOME Wayland (except for Adwaita theme)
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: IN_ERRATA9
Depends on:
Blocks:
 
Reported: 2023-04-27 16:48 CEST by Len Lawrence
Modified: 2023-10-26 19:58 CEST (History)
7 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Len Lawrence 2023-04-27 16:48:26 CEST
Description of problem:
When gnome-terminal is launched it appears to be re-spawning itself at a fast rate.  Difficult to be sure but in any case this behaviour renders it unusable.
Note that "About console" describes the application as a new project so it looks like Console is a replacement for gnome-terminal in which case maybe the latter should be removed altogether and Activities->Terminal updated accordingly.

Version-Release number of selected component (if applicable):
Mageia-9-beta2-x86_64

How reproducible:
Probably always, at least in GNOME Classic Wayland and GNOME Wayland.


Steps to Reproduce:
1. Install Mageia 9 from the iso and include the GNOME desktop
2. Login to GNOME or GNOME classic
3. In GNOME choose 'terminal' from the Activities applications menu
   Observe the terminal window and a continuous flicker of new terminal frames within it.
4: Log out
5: Log in to Classic on Wayland
6: Launch Console from the Applications menu.
7: In the console attempt to launch gnome-terminal.
8: Observe the afore-mentioned flickering as a terminal appears and tries to respawn itself.

Note that step 7 was used solely to confirm that gnome-terminal is the application which is invoked in step 3.
Comment 1 Thomas Backlund 2023-04-27 16:57:38 CEST
Can you please enable updates_testing and update all packages.

I'm  running Gnome 44 on Wayland here and dont see any issues with either gnome-terminal or gnome-console
Comment 2 Martin Whitaker 2023-04-27 19:17:25 CEST
I have seen this bug too. I can reliably reproduce it by

1. Do an all-DE install from the CI ISO.
2. Log in to Plasma. Start gnome-terminal. Log out
3. Log in to GNOME. Start gnome-terminal.

or

1. Do an all-DE install from the CI ISO.
2. Log in to Plasma. Log out.
3. Log in to Cinnamon. Start gnome-terminal. Log out
4. Log in to GNOME. Start gnome-terminal.

but not by

1. Do an all-DE install from the CI ISO.
2. Log in to Cinnamon. Start gnome-terminal. Log out
3. Log in to GNOME. Start gnome-terminal.

The continuous flickering only happens when running with Wayland. With Xorg, the background becomes translucent and doesn't update properly when the window is dragged around.

It can be "fixed" by deleting ~/.config/dconf/user, but obviously that will reset all other dconf settings.

CC: (none) => mageia

Comment 3 Lewis Smith 2023-04-27 21:53:05 CEST
Trying this on a Cauldron system, all desktops, what looks like Gnome 43 (at least no sign of 44), GDM, Gnome desktop,
 $ env | grep -i wayland
 XDG_SESSION_TYPE=wayland
 XAUTHORITY=/run/user/1001/.mutter-Xwaylandauth.3BNW31
 WAYLAND_DISPLAY=wayland-0
gnome-terminal-3.46.7-2.mga9, I am not seeing any flicker.

[I could not get a Wayland session with a different display manager].

I need to try the devious paths described by Martin - tomorrow.

CC: (none) => lewyssmith

Comment 4 Martin Whitaker 2023-04-28 17:24:45 CEST
On running the GNOME Tweaks utility, in the Appearance tab I see that in the faulty condition the theme has been set to Breeze. Setting the theme to Adwaita clears the fault. Choosing any other theme brings it back.

CC: (none) => ghibomgx

Comment 5 Jens Persson 2023-04-28 18:24:10 CEST
This problem with gnome-terminal has been going on for years. You can fix it by setting the color scheme to Custom and choose your own colors in Preferences.

CC: (none) => xerxes2

Comment 7 Lewis Smith 2023-04-28 21:21:31 CEST
Trying an as-is gnome terminal after following Martin's example:
> 1. Do an all-DE install from the CI ISO. [a Cauldron system in my case]
> 2. Log in to Plasma. Log out.
> 3. Log in to Cinnamon. Start gnome-terminal. Log out
> 4. Log in to GNOME. Start gnome-terminal.
I used gnome-terminal under Plasma also. Even at the end, Gnome on Wayland, it is OK. Probably because, via  gnome-tweaks, Appearance-Theme-Applications *is* Adwaita (c4); icons are Breeze.

Comment 4 & comment 5 give easy work-arounds.

(In reply to Giuseppe Ghibò from comment #6)
> If you try these versions with the FC patchset does the problem is still
> there on any theme?
> https://copr-be.cloud.fedoraproject.org/results/ghibo/mageia9-bonus/mageia-
> cauldron-x86_64/05855151-vte/
Not sure of the relevance of this link.

> https://copr-be.cloud.fedoraproject.org/results/ghibo/mageia9-bonus/mageia-
> cauldron-x86_64/05855160-gnome-terminal/
But this one has this link:
https://copr-be.cloud.fedoraproject.org/results/ghibo/mageia9-bonus/mageia-cauldron-x86_64/05855160-gnome-terminal/gnome-terminal-3.48.1-2.mga9.x86_64.rpm
which gives access to v3.48.1-2 RPM (compare our current v3.46.7-2)
Can people who see the bug fault try installing this new version instead, and report back?

Keywords: (none) => FOR_ERRATA9
Summary: gnome-terminal does not work under GNOME Wayland => gnome-terminal does not work under GNOME Wayland (except for Adwaita theme)

Comment 8 Giuseppe Ghibò 2023-04-28 21:51:21 CEST
(In reply to Lewis Smith from comment #7)

> Comment 4 & comment 5 give easy work-arounds.
> 
> (In reply to Giuseppe Ghibò from comment #6)
> > If you try these versions with the FC patchset does the problem is still
> > there on any theme?
> > https://copr-be.cloud.fedoraproject.org/results/ghibo/mageia9-bonus/mageia-
> > cauldron-x86_64/05855151-vte/
> Not sure of the relevance of this link.

the newer vte library (with a patch) is required/mandatory for gnome-terminal-3.48.1-2.mga9.

> 
> > https://copr-be.cloud.fedoraproject.org/results/ghibo/mageia9-bonus/mageia-
> > cauldron-x86_64/05855160-gnome-terminal/
> But this one has this link:
> https://copr-be.cloud.fedoraproject.org/results/ghibo/mageia9-bonus/mageia-
> cauldron-x86_64/05855160-gnome-terminal/gnome-terminal-3.48.1-2.mga9.x86_64.
> rpm
> which gives access to v3.48.1-2 RPM (compare our current v3.46.7-2)
> Can people who see the bug fault try installing this new version instead,
> and report back?

Note that current version in core/release, after yesterday's GNOME 44 update is not gnome-terminal-3.6.7-2.mga9 but gnome-terminal-3.48.1-1.mga9.
Comment 9 Lewis Smith 2023-04-29 21:29:31 CEST
Thanks for the explanation - and the work preceding it. The only 'require' of *vte* by gnome-terminal is: libvte-2.91.so.0()(64bit)

Note the host pkg name is 'lib64vte2.91_0'; this was at 0.70.2-2, and needs to be the new 0.72.1-2: lib64vte2.91_0-0.72.1-2.mga9.x86_64.rpm

I am seeing these with: $ sudo urpmi --auto-update
  gnome-terminal                 3.48.1       1.mga9        x86_64  
  gnome-terminal-nautilus        3.48.1       1.mga9        x86_64  
...
  lib64vte-gir2.91               0.72.1       1.mga9        x86_64  
  lib64vte-gir3.91               0.72.1       1.mga9        x86_64  
  lib64vte-gtk4_2.91_0           0.72.1       1.mga9        x86_64  
  lib64vte2.91_0                 0.72.1       1.mga9        x86_64  
which look to be part of a huge Gnome44 update. I shall await the mgaapplet invitation for same!

Same request for people seeing the bug fault: when you get this update, please try gnome-terminal & report back.
Comment 10 Morgan Leijström 2023-07-07 16:01:26 CEST
Still valid?

CC: (none) => fri

Comment 11 Martin Whitaker 2023-07-07 16:07:07 CEST
(In reply to Morgan Leijström from comment #10)
> Still valid?

Yes, saw it when I was testing the rc1 ISOs.
Comment 12 Morgan Leijström 2023-07-07 17:20:30 CEST
https://wiki.mageia.org/en/Mageia_9_Errata#GNOME

Keywords: FOR_ERRATA9 => IN_ERRATA9

Comment 13 Giuseppe Ghibò 2023-07-07 17:22:10 CEST
BTW, does the version I provided in the link above with the FC patches to libvte works under Wayland?
Jose Gonzalez 2023-10-26 19:58:23 CEST

CC: (none) => boveda


Note You need to log in before you can comment on or make changes to this bug.