gedit edit window is transparent when using Ambiance and Radiance themes

Bug #1620806 reported by Paul White on 2016-09-06
356
This bug affects 22 people
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Medium
Unassigned
ubuntu-themes (Ubuntu)
Undecided
Unassigned

Bug Description

In a freshly booted and fully updated Ubuntu 16.10 the edit window of gedit is transparent using the *Classic* colour scheme. Other colour schemes seem to work as intended.

The text of loaded files shows against the desktop wallpaper but when no files are loaded gedit displays its edit window or pane as it should do.

To clarify this bug is only apparent when a file is loaded.

I don't know when this started as I don't normally used gedit to edit files. I haven't found any other application affected by this problem.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: gedit 3.20.2-2ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-9136.55-generic 4.4.16
Uname: Linux 4.4.0-9136-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Sep 6 21:01:35 2016
InstallationDate: Installed on 2016-03-11 (179 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160311)
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)

Paul White (paulw2u) wrote :
Paul White (paulw2u) on 2016-09-07
description: updated
description: updated
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, the daily iso doesn't have the issue there. Do you get the problem in a guest session as well? Could you take a screenshot showing the bug?

Changed in gedit (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Paul White (paulw2u) wrote :

Screenshot attached.

Can confirm I'm not seeing the problem in today's ISO or in a guest session.

Changed in gedit (Ubuntu):
status: Incomplete → New
Paul White (paulw2u) wrote :

gedit just updated to version 3.21.90 - problem persists.

dino99 (9d9) wrote :

Might be a Xubuntu issue; i am not getting this problem on Ubuntu with a gnome-shell session on 64 bits yakkety install

Paul White (paulw2u) wrote :

Just to clarify I am *not* running Xubuntu.

This install may well have started out as Xubuntu but it was successfully converted to Ubuntu during the Xenial cycle. gedit worked perfectly both before and after upgrading to *Ubuntu* Yakkety.

I noticed this problem yesterday so possibly caused by a conflict with a recently upgraded package?

dino99 (9d9) wrote :

Maybe then related to the theme(s) used: try switching them from the tweak tool

Paul White (paulw2u) wrote :

Interesting dino99!

I always use the default (Ambiance) theme. Changing to Radiance makes no difference. But changing to Adwaita restores the white background of gedit's edit window. Changing back to Ambiance or Radiance gives me the transparent window.

Is this a bug in light-themes or a rogue user setting as logging in as another user and the Guest session both show gedit to be working properly.

Paul White (paulw2u) on 2016-09-07
summary: - gedit edit window is transparent
+ gedit edit window is transparent when using Ambiance and Radiance
+ themes
dino99 (9d9) wrote :

Well, quite old and probably explain such trouble:
https://launchpad.net/ubuntu/+source/light-themes
Adwaita is the ubuntu default since a while.

Recent naming is 'ubuntu-themes' which provide 'light-themes' and others
https://launchpad.net/ubuntu/+source/ubuntu-themes/16.10+16.10.20160829.3-0ubuntu1

So better report against 'ubuntu-themes' nowadays

affects: light-themes (Ubuntu) → ubuntu-themes (Ubuntu)
dino99 (9d9) wrote :

Please confirm against the latest gedit (3.21.90-2ubuntu1) yakkety
-- Jeremy Bicha <email address hidden> Tue, 06 Sep 2016 12:47:24 -0400

Changed in gedit (Ubuntu):
status: New → Incomplete
Changed in ubuntu-themes (Ubuntu):
status: New → Incomplete
Paul White (paulw2u) wrote :

dino99, I already did - see comment 4

Changed in gedit (Ubuntu):
status: Incomplete → New
Changed in ubuntu-themes (Ubuntu):
status: Incomplete → New
Paul White (paulw2u) on 2016-09-07
description: updated
Paul White (paulw2u) wrote :

New install, same PC, similarly updated as before but bug no longer seen. Will therefore mark this as being "Incomplete" and come back to it if the problem is seen again.

Changed in gedit (Ubuntu):
status: New → Incomplete
Changed in ubuntu-themes (Ubuntu):
status: New → Incomplete
Maxime (dp-maxime) wrote :

I see this bug after upgrading 16.04 to 16.10 just now.

Changed in gedit (Ubuntu):
status: Incomplete → New
Paul White (paulw2u) on 2016-10-16
Changed in ubuntu-themes (Ubuntu):
status: Incomplete → New
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gedit (Ubuntu):
status: New → Confirmed
Changed in ubuntu-themes (Ubuntu):
status: New → Confirmed
Karo Launonen (wuukie) wrote :

Me too after upgrade from 16.04 to 16.10.

Matt Raines (matt-raines) wrote :

I see this immediately after upgrading from 16.04 to 16.10. It's also the case with the result area in gnome-calculator. A screenshot is attached.

information type: Public → Public Security
Fabio Marconi (fabiomarconi) wrote :

Raising importance cuz isn't only aesthetic issue but it affect usability

Changed in gedit (Ubuntu):
importance: Low → Medium
piratemurray (mez-pahlan) wrote :

Confirmed Gedit and Calc display this problem after upgrading 16.04 to 16.10. I am using 367.57 from nvidia-367 as my display driver if that is useful information?

Leon du Plessis (leondp) wrote :

I can confirm this bug on the calculator with the transparent box, this is making the gnome calculator useless. I upgraded from Ununtu 16.04 to 16.10. I have been upgrading this laptop from 14.04 and also run the standard themes, might played with themes in the past though. My laptop has a amd radeon card. But what I noticed was that if I go to Additional Drivers tab on Software and Updates my card is not showing anymore, it used to show and was on the generic driver.

Marco Cè (marco89-7) wrote :

I confirm this bug with gedit, the calculator and text boxes in gtk3-widget-factory. Changing the colour scheme in Gedit is a workaround. I have this problem with my user, on Ubuntu 16.10 upgraded from 16.04, but not logging in the guest session. So I guess the reason is some hidden setting left by 16.04

no longer affects: gedit
Chris Martin (chris-martin-cc) wrote :

I had the same problem after the 16.04 -> 16.10 upgrade
I noticed that newly created users did NOT have the problem.
So its was probably a config issue
I resolved it by removing the "~/.xinputrc" file in my home directory. which is not present in a new users home directory.
This has worked on all system I have upgraded to date

Chris Martin (chris-martin-cc) wrote :

Just a quick update..
The content of the .xinputrc file was a single line

   run_im xim

I think that this may have something to do with the problem.

.xinputrc is generated by language settings when you change the input type.
in 16.10 when I set the input type to none the new .xinputrc file contains

   run_im none

And the background is still OK in gedit & calc etc

So the problem is the content of the .xinputrc file and not the presence of the file.

piratemurray (mez-pahlan) wrote :

I followed Chris Martin's suggestion in #22 and it worked for me.

atthis.pan (atthishg) on 2017-06-04
no longer affects: gedit
dino99 (9d9) wrote :

Setting to 'incomplete' as its a borked private settings, not a bug per se.

Changed in gedit (Ubuntu):
status: Confirmed → Invalid
Changed in ubuntu-themes (Ubuntu):
status: Confirmed → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for ubuntu-themes (Ubuntu) because there has been no activity for 60 days.]

Changed in ubuntu-themes (Ubuntu):
status: Incomplete → Expired

#22 worked for me, after logout/login.

BSA (b-s-a) wrote :

Not worked for me. System was upgraded from Xenial to Bionic. Previously was unity desktop, now is gnome3.
Text editor never clears background.
I try to remove ~/.xinputrc and relogin, but nothing changed.

Daniel van Vugt (vanvugt) wrote :

This bug is closed.

Please see bug 1760818 instead, or open a new one.

To post a comment you must log in.
This report contains Public Security information  Edit
Everyone can see this security related information.

Duplicates of this bug

Other bug subscribers