You are not logged in.

#1 2016-04-19 06:45:35

Xanomead
Member
Registered: 2015-05-31
Posts: 29

Cinnamon - Right click menu pops up in wrong position

I have just recently reinstalled Arch and installed Cinnamon, everything is working well except that when I right click on the desktop or in nemo, the menu appears on a different part of the screen. Right clicking in chromium is fine on the other hand, the menu appears next to the mouse cursor.

I had thought that perhaps it was due to the fact that my PC is directly connected to my AV Receiver which is connected to the TV. The receiver is set to video passthrough, though the cinnamon display tool identifies the display as Onk 60". So it is getting the name from the Onkyo receiver, but the TV size is correct.

The fact that the right click menu appears in the correct place in chromium though makes me think this is a cinnamon bug, rather than confusion due to the pc -> receiver -> tv setup.

Offline

#2 2016-04-19 15:09:33

knille
Member
Registered: 2014-02-24
Posts: 28

Re: Cinnamon - Right click menu pops up in wrong position

it might be a problem of muffin, the window manager of cinnamon:

https://github.com/linuxmint/muffin/issues/224

it is also reported to cinnamon:

https://github.com/linuxmint/Cinnamon/issues/5202

the origin is the update to gtk 3.20. let's hope it's fixed soon.

Offline

#3 2016-04-19 20:45:46

archingforward
Member
Registered: 2015-12-08
Posts: 12

Re: Cinnamon - Right click menu pops up in wrong position

I'm battling this myself. Mostly in Firefox.

Example 1:
http://i.imgur.com/eyMk5uL.png

Example 2:
http://i.imgur.com/fudwU1g.png

Example 3:
http://i.imgur.com/G1guTi2.png

Oh I'm sure you already know what the bug looks like. Hoping for a patch also.

Last edited by jasonwryan (2016-04-21 03:21:02)

Offline

#4 2016-04-21 03:14:48

QuimaxW
Member
From: Papua New Guinea
Registered: 2006-12-03
Posts: 228
Website

Re: Cinnamon - Right click menu pops up in wrong position

I've noticed this behavior in nemo and firefox myself. Nemo, I guess I'll live with for now...

I ended up installing icecat (in the aur) which doesn't show the issue at all.


"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot

Offline

#5 2016-04-21 03:22:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Cinnamon - Right click menu pops up in wrong position

archingforward:  read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_code

There is already a patch in the Mint github repo for this bug: you can either grab it there or wait for the maintainer here to apply it and push a new version...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2016-04-23 01:56:38

olliemath
Member
From: Lancaster, UK
Registered: 2014-12-16
Posts: 13

Re: Cinnamon - Right click menu pops up in wrong position

Made a PKGBUILD to apply the patch in the github threads - fixes it for me. Would upload to AUR except that it's just a bug fix on an official package - hopefully useful here (simply switching to the muffin-git already present in AUR presented other issues for me).

PKDBUILD

# Based on the original muffin PKGBUILD - with patch for GTK3.20

pkgname=muffin
pkgver=2.8.5
pkgrel=2
pkgdesc="Cinnamon window manager based on Mutter"
arch=('i686' 'x86_64')
url="https://github.com/linuxmint/muffin"
license=('GPL')
depends=('clutter' 'gobject-introspection-runtime' 'cinnamon-desktop' 'libcanberra' 'libsm'
         'startup-notification' 'zenity' 'dconf')
makedepends=('intltool' 'gnome-doc-utils' 'gnome-common' 'gobject-introspection' 'gtk-doc') 
options=('!emptydirs')
install=$pkgname.install
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/muffin/archive/$pkgver.tar.gz" "https://github.com/linuxmint/muffin/commit/65fd5fe41436ccfa74ea37b886f96adee6f258c1.patch")
sha256sums=('0ae19de74111f222b44f7bf8d159437a83c6ae2e7ce70b327c0296365d69aba4' '228aa59317b7495abe8099e6b3ce01e037f3f045274ec4de93aad79fe4d3d6a0')

prepare() {
  cd ${pkgname}-${pkgver}
  patch -p1 <../65fd5fe41436ccfa74ea37b886f96adee6f258c1.patch
}

build() {
  cd ${pkgname}-${pkgver}

  PYTHON=python2 ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/muffin --localstatedir=/var --disable-static --disable-schemas-compile --enable-compile-warnings=minimum

  #https://bugzilla.gnome.org/show_bug.cgi?id=656231
  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool

  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="$pkgdir/" install

  # Remove unused stuff
  make -C src DESTDIR="$pkgdir" uninstall-binPROGRAMS uninstall-desktopfilesDATA
  make -C src/tools DESTDIR="$pkgdir" uninstall
  make -C src/compositor/plugins DESTDIR="$pkgdir" uninstall
  make -C doc/man DESTDIR="$pkgdir" uninstall
}

# vim:set ts=2 sw=2 et:

muffin.install

post_install() {
  glib-compile-schemas usr/share/glib-2.0/schemas
}

post_upgrade() {
  post_install
}
post_remove() {
  post_install
}

Last edited by olliemath (2016-04-23 10:22:15)

Offline

Board footer

Powered by FluxBB