Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504800 - gnome3.10: any window do not really close until I restart gnome-shell graphically
Summary: gnome3.10: any window do not really close until I restart gnome-shell graphic...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-16 12:32 UTC by Agostino Sarubbo
Modified: 2015-03-28 09:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2014-03-16 12:32:25 UTC
A bit explanation of the problem:

After the gnome3.10 update, while I'm trying to close any window (chrome, file manager, shell, etc) they do not really close, so I always see those windows until I double-click 'activities'

To fix this problem is enough do: alt+f2, then 'r' and enter.

The problem is not fixed typing gnome-shell --replace via shell.

I'm running a stable environment with openrc.
Comment 1 Agostino Sarubbo gentoo-dev 2014-03-16 12:32:47 UTC
Portage 2.2.8-r1 (default/linux/amd64/13.0/no-multilib, gcc-4.7.3, glibc-2.17, 3.2.53 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.53-x86_64-Pentium-R-_Dual-Core_CPU_E5200_@_2.50GHz-with-gentoo-2.2                                                                                          
KiB Mem:     3077452 total,   2565044 free                                                                                                                                          
KiB Swap:     514076 total,    514076 free                                                                                                                                          
Timestamp of tree: Sat, 15 Mar 2014 19:00:01 +0000                                                                                                                                  
ld ld di GNU (GNU Binutils) 2.23.2                                                                                                                                                  
app-shells/bash:          4.2_p45                                                                                                                                                   
dev-java/java-config:     2.2.0                                                                                                                                                     
dev-lang/python:          2.7.5-r3                                                                                                                                                  
dev-util/cmake:           2.8.11.2                                                                                                                                                  
dev-util/pkgconfig:       0.28                                                                                                                                                      
sys-apps/baselayout:      2.2                                                                                                                                                       
sys-apps/openrc:          0.12.4                                                                                                                                                    
sys-apps/sandbox:         2.6-r1                                                                                                                                                    
sys-devel/autoconf:       2.13, 2.69                                                                                                                                                
sys-devel/automake:       1.13.4                                                                                                                                                    
sys-devel/binutils:       2.23.2                                                                                                                                                    
sys-devel/gcc:            4.7.3-r1                                                                                                                                                  
sys-devel/gcc-config:     1.7.3                                                                                                                                                     
sys-devel/libtool:        2.4.2                                                                                                                                                     
sys-devel/make:           3.82-r4                                                                                                                                                   
sys-kernel/linux-headers: 3.9 (virtual/os-headers)                                                                                                                                  
sys-libs/glibc:           2.17                                                                                                                                                      
Repositories: gentoo ago mate-overlay                                                                                                                                               
ACCEPT_KEYWORDS="amd64"                                                                                                                                                             
ACCEPT_LICENSE="*"                                                                                                                                                                  
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                                        
CFLAGS="-O2 -march=core2"                                                                                                                                                           
CHOST="x86_64-pc-linux-gnu"                                                                                                                                                         
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"                                                                                                                                
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"         
CXXFLAGS="-O2 -march=core2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/ago /var/lib/layman/mate"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apng bash-completion berkdb bzip2 cli consolekit cracklib crypt custom-cflags custom-optimization cxx dbus dconf dri ffmpeg fortran gdbm gnome gnome-online-accounts gnome-shell gstreamer gtk iconv icu java jpeg jpeg2k lame lm_sensors minizip mmx modules mp3 ncurses nls nptl nsplugin ogg opengl openmp openrc-force pam pcre png policykit readline session sna sse sse2 ssl svg symlink tcpd threads udev unicode vorbis x264 zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

gnome-base/gnome-shell-3.10.4 was built with the following:
USE="bluetooth i18n openrc-force -networkmanager" PYTHON_TARGETS="python2_7 -python2_6"
Comment 2 Agostino Sarubbo gentoo-dev 2014-03-16 17:53:38 UTC
This happens only when I set the autologin true in the gdm custom.conf
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-03-16 18:00:43 UTC
(In reply to Agostino Sarubbo from comment #2)
> This happens only when I set the autologin true in the gdm custom.conf

Wonderful, sounds like a consolekit issue.

Sanity check: did you update to dev-libs/glib-2.38.2-r1? (You will probably need to log out and restart consolekit after updating.)
Comment 4 Agostino Sarubbo gentoo-dev 2014-03-16 18:47:10 UTC
(In reply to Alexandre Rostovtsev from comment #3)
> (In reply to Agostino Sarubbo from comment #2)
> > This happens only when I set the autologin true in the gdm custom.conf
> 
> Wonderful, sounds like a consolekit issue.
> 
> Sanity check: did you update to dev-libs/glib-2.38.2-r1? (You will probably
> need to log out and restart consolekit after updating.)

Yes, since I updated, I rebooted dozens times....

Anyway if I don't enable the autologin, sometimes, the mouse does not work...
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-03-16 18:57:07 UTC
OK, to narrow this down a bit.

Does this apply to applications that use glib/gtk+ somewhere or even to things like xterm?

Does this apply only when using the window close button, or even when using an application's file->quit menu?
Comment 6 Agostino Sarubbo gentoo-dev 2014-03-16 19:01:14 UTC
(In reply to Alexandre Rostovtsev from comment #5)
> OK, to narrow this down a bit.
> 
> Does this apply to applications that use glib/gtk+ somewhere or even to
> things like xterm?
Also for things like xterm.

> Does this apply only when using the window close button, or even when using
> an application's file->quit menu?

both cases.
Comment 7 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-03-16 19:10:12 UTC
After you try to close the window, can you interact with its contents in any way (e.g. select text)? Can you move the window?

Is the process for the corresponding application still running? If yes, try to attach gdb or strace and see if it's waiting for something suspicious/

If there is no process (so the window is just a visual artefact in the composer), does it disappear when moving something else over the window, opening activities etc?
Comment 8 Agostino Sarubbo gentoo-dev 2014-03-16 19:29:00 UTC
(In reply to Alexandre Rostovtsev from comment #7)
> After you try to close the window, can you interact with its contents in any
> way (e.g. select text)? Can you move the window?
No

> Is the process for the corresponding application still running? If yes, try
> to attach gdb or strace and see if it's waiting for something suspicious/
no
 
> If there is no process (so the window is just a visual artefact in the
> composer), does it disappear when moving something else over the window,
> opening activities etc?

yes, open activities
Comment 9 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-03-16 19:48:14 UTC
Hm, ok, then it's probably some buffer not being updated in the mesa/cluter/mutter/gnome-shell stack. But I don't understand why autologin would make any difference :/
Comment 10 Pacho Ramos gentoo-dev 2014-03-16 23:06:38 UTC
(In reply to Alexandre Rostovtsev from comment #9)
> Hm, ok, then it's probably some buffer not being updated in the
> mesa/cluter/mutter/gnome-shell stack. But I don't understand why autologin
> would make any difference :/

I remember that at old 3.8.0 times I had some problems with some gnome-settings-daemon plugin being loaded in bogus order when using autologin or not, but I don't have any idea about if it could be related with this bug :S

Ago, can you try booting with systemd to discard a problem related with consolekit?
Comment 11 Pacho Ramos gentoo-dev 2015-03-28 09:29:25 UTC
Please retry with 3.14.4