error juding nautilus window by XDG_CURRENT_DESKTOP

Bug #1566950 reported by Wei Tsui
This bug report is a duplicate of:  Bug #1554878: fix up usage of XDG_CURRENT_DESKTOP. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

the value of the XDG_CURRENT_DESKTOP of the following is:

Generic GNOME 3 Session: GNOME
Generic GNOME 3 Flashback Session: GNOME-Flashback

Unity Session: Unity
Ubuntu's GNOME 3 Flashback Session: GNOME-Flashback:Unity

so the condition line of "nautilus-3.18.4.is.3.14.3/src/nautilus-window.c" (Line 1557) should be:

  if (desktop && !strstr (desktop, "Unity"))

not: if (desktop && strstr (desktop, "GNOME"))

Fixing this bug will make nautilus window under "Ubuntu Gnome-Session-Flashback" work well like it under Unity Session, otherwise, window border of nautilus cannot resize!

------

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: nautilus 1:3.18.4.is.3.14.3-0ubuntu4
ProcVersionSignature: Ubuntu 4.4.0-16.32-generic 4.4.6
Uname: Linux 4.4.0-16-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME-Flashback:Unity
Date: Wed Apr 6 23:39:56 2016
GsettingsChanges:
 b'org.gnome.nautilus.window-state' b'geometry' b"'890x550+514+261'"
 b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 'type', 'date_modified', 'date_accessed', 'owner', 'group', 'permissions', 'mime_type', 'where']"
JournalErrors:
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_nautilus:
 file-roller 3.16.4-1ubuntu3
 gnome-terminal 3.18.3-1ubuntu1

Revision history for this message
Wei Tsui (ghostplant) wrote :
description: updated
description: updated
Changed in nautilus (Ubuntu):
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in nautilus (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.