Window focus is utterly broken

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
ocket8888
Level 1
Level 1
Posts: 19
Joined: Tue Apr 18, 2017 2:19 am

Window focus is utterly broken

Post by ocket8888 » Thu Nov 01, 2018 9:19 am

I've been trying to get help with this issue for nearly two years now - Cinnamon just doesn't work at all. Here's my post from April 2017 (on a different board): viewtopic.php?f=59&t=243969&p=1307971#p1307971 that nobody ever actually responded to except to say "Don't use Cinnamon". Here's my GitHub issue that I'm sure will also never be addressed: https://github.com/linuxmint/Cinnamon/issues/7970 .

I'm not trying to be a jerk, but it's really frustrating that years have gone by and I haven't gotten a single suggestion - not even one that didn't work, just literally nothing except recommendations for different DEs. I've already given up and installed Windows, but I keep a small partition around in case anyone ever gets back to me on this. I really want Cinnamon to be any good, because I hate Gnome3 and I hate KDE and I want something flashier than Xfce, but it's totally unusable on anything but a virtual machine/some old laptops I used to have. This is 100% my final attempt to report this massive bug, so in case you didn't bother to follow either of those links, here's a copy/paste of the issue:

Code: Select all

 * Cinnamon version - 3.8.9 (problem existed with earlier versions)
 * Distribution - Manjaro Cinnamon 18.0.0 (Arch), but was able to reproduce problem on Linux Mint Cinnamon 18.1, 18.2 and 18.3 (same GPU, but CPU and motherboard now different)
 * Graphics hardware *and* driver used - NVIDIA Corporation GM200 [GeForce GTX 980 Ti] (rev a1), was able to reproduce problem with both noveau and proprietary NVIDIA drivers
 * 32 or 64 bit - 64 bit
 * Attach /home/<username>/.xsession-errors, or /var/log/syslog - http://www.filedropper.com/xsession-errors
 
Issue
I apologize for the vague title, but as I hope to explain it's a vague problem.
I've tried to run Cinnamon several times and it's had this problem for years: window focus is broken on several levels, and appears to be somehow separate for mouse and keyboard.
With no windows open, everything functions normally, I can open the menu, click on launchers, etc.
After opening 1 window, my ability to interact with the taskbar in any way is gone. I can still press <SUPER> to open the menu, but typing after doing so will pass keyboard input to the window e.g. if I did it right now I'd be typing in this issue entry text box instead of the menu search, though the menu would remain open until I hit <SUPER> again (<ESC> doesn't close it). Furthermore, while I'm free to use the mouse to click on things within the window, the titlebar is totally inaccessible. I can't drag or resize the window, nor close, minimize or maximize it using the top-right buttons.
Once a second window opens, it is completely untouchable with the mouse, neither the titlebar nor anything within the window can be interacted with via the mouse. I'm still able to switch "keyboard focus" to the window by using <ALT>+<TAB>, thus allowing me to type and attempt to navigate menus via <TAB>, but mostly it's unusable unless it's a terminal. Interestingly, even while the "keyboard focus" is on this second window, if I position it on top of the original window my clicks will go through it and interact with elements on the original window as though it weren't there. This doesn't bring the original window to the forefront.
If the second window is a "sub window" spawned by the application using the first window (e.g. a browser alert window), I can occasionally see interface elements flicker when I click them, almost as if a click was being "downgraded" to a hover. When this happens, my clicks do not propagate through the window and onto the parent window, but they still do absolutely nothing to the new window.


Steps to reproduce
I honestly don't know. Nobody in the forums has been able to reproduce, and this issue manifests not only in fresh installs but in the LiveCD environment, so it's not as if it's anything I've actually done. I'm convinced - for some reason I forget from long ago - that it has something to do with my monitors. One is a 4k monitor, and the other is a 1080p TV. They work fine in Windows and have operated pretty well in Gnome3 (though it also experiences much, much smaller issues - plus I hate it), but I've always had problems with Cinnamon, which I've experienced working fine with single monitor set-ups.


Expected behaviour
I mean, I'd expect windows to be able to gain and lose both mouse and keyboard focus, and for the taskbar and titlebars of windows to both work.

User avatar
JerryF
Level 11
Level 11
Posts: 3920
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Window focus is utterly broken

Post by JerryF » Thu Nov 01, 2018 12:43 pm

Can you run a live Mint USB/DVD and then in Terminal run the following command and paste the results in between [code][/code] tags?

Code: Select all

inxi -Fxz
That'll give us good information about your system.
IF your problem has been solved, please edit your ORIGINAL post and add [SOLVED] to the beginning of the Subject Line. It helps other members when browsing posts.

mellobob
Level 3
Level 3
Posts: 122
Joined: Wed Aug 14, 2013 1:20 pm

Re: Window focus is utterly broken

Post by mellobob » Thu Nov 01, 2018 1:11 pm

Complete stab in the dark here ... but have you tried swapping some hardware out/in? I'd start with the mouse, and then the keyboard. Try a different USB port for both. Also, try unplugging some other USB things. You say you think it might be the monitor setup ... so unplug the TV and see if it makes a difference, try a different monitor (non-4k), etc.

If you can isolate this, then you'll get more replies/help if you say something like "my xyz-mouse causes a problem".

ocket8888
Level 1
Level 1
Posts: 19
Joined: Tue Apr 18, 2017 2:19 am

Re: Window focus is utterly broken

Post by ocket8888 » Thu Nov 01, 2018 5:45 pm

Here's my inxi output:

Code: Select all

System:    Host: Arch-X10 Kernel: 4.14.78-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1 Console: tty 0 
           Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: ASRock model: Z370 Taichi serial: <filter> UEFI [Legacy]: American Megatrends v: P1.30 
           date: 11/30/2017 
CPU:       Topology: 6-Core model: Intel Core i7-8700K bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 12.0 MiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 88728 
           Speed: 800 MHz min/max: 800/4700 MHz Core speeds (MHz): 1: 800 2: 801 3: 800 4: 800 5: 800 6: 801 7: 800 8: 801 
           9: 802 10: 800 11: 800 12: 801 
Graphics:  Device-1: NVIDIA GM200 [GeForce GTX 980 Ti] vendor: eVga.com. driver: nvidia v: 410.73 bus ID: 01:00.0 
           Display: server: X.org 1.20.3 driver: nvidia tty: 212x58 
           Message: Advanced graphics data unavailable in console for root. 
Audio:     Device-1: Intel 200 Series PCH HD Audio vendor: ASRock driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Device-2: NVIDIA GM200 High Definition Audio vendor: eVga.com. driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           Device-3: SteelSeries ApS type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-4:4 
           Sound Server: ALSA v: k4.14.78-1-MANJARO 
Network:   Device-1: Intel Ethernet I219-V vendor: ASRock driver: e1000e v: 3.2.6-k port: f000 bus ID: 00:1f.6 
           IF: enp0s31f6 state: down mac: <filter> 
           Device-2: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi v: kernel port: e000 bus ID: 06:00.0 
           IF: wlp6s0 state: down mac: <filter> 
           Device-3: Intel I211 Gigabit Network vendor: ASRock driver: igb v: 5.4.0-k port: d000 bus ID: 07:00.0 
           IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 1.36 TiB used: 7.07 GiB (0.5%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB 
           ID-2: /dev/sdb vendor: SanDisk model: SDSSDX240GG25 size: 223.57 GiB 
           ID-3: /dev/sdc vendor: Seagate model: ST1000LM024 HN-M101MBB size: 931.51 GiB 
Partition: ID-1: / size: 75.21 GiB used: 7.07 GiB (9.4%) fs: ext4 dev: /dev/sda2 
           ID-2: swap-1 size: 15.63 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 36.0 C mobo: N/A gpu: nvidia temp: 38 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 0% 
Info:      Processes: 239 Uptime: 23m Memory: 15.60 GiB used: 1.09 GiB (7.0%) Init: systemd Compilers: gcc: 8.2.1 Shell: bash 
           v: 4.4.23 inxi: 3.0.27
and @mellobob I've tried a bunch of different keyboards and mice, to no avail. I'll try to disable each display after I post this - I have to close firefox to be able to interact with settings.

ocket8888
Level 1
Level 1
Posts: 19
Joined: Tue Apr 18, 2017 2:19 am

Re: Window focus is utterly broken

Post by ocket8888 » Thu Nov 01, 2018 5:48 pm

Nope. Does it with either the 4k monitor or the 1080p TV, as well as both

User avatar
MrEen
Level 15
Level 15
Posts: 5785
Joined: Mon Jun 12, 2017 8:39 pm

Re: Window focus is utterly broken

Post by MrEen » Thu Nov 01, 2018 6:29 pm

Another stab in the dark. Disable most visual effects? See here, 5.1 right column. No idea if the instructions will be the same on Manjaro though.

User avatar
MtnDewManiac
Level 6
Level 6
Posts: 1462
Joined: Fri Feb 22, 2013 5:18 pm
Location: United States

Re: Window focus is utterly broken

Post by MtnDewManiac » Fri Nov 02, 2018 12:30 am

I can understand your frustration. But you must surely agree that any issue that neither you nor anyone else knows how to reproduce is going to be extremely problematic to diagnose. It'll also probably be difficult for the developer to decide to devote man-hours on if/when you appear to be the only person experiencing the issue.

In general, I can only think of three possible explanations for why ONE person would experience an issue that no one else is/has:

1. Basic hardware incompatibility. Which seems to be much less of a problem than it used to be, but it still affects people now and then. It does seem somewhat unlikely that this could, again, affect only ONE person - but perhaps all the other people who own your particular set of hardware types/models are using a Microsoft OS, lol? Or a piece of faulty hardware (such as a flaky cord) might cause an issue for one person, although I am not sure that kind of thing would be relevant with this kind of issue (but I am not sure that it couldn't be, either :wink: ).

2. User error. A mis-configured setting could cause issues. Accidentally deleting/moving/renaming an important file, could, too. Or something else along those lines.

3. A bad installation of the OS in the first place. I once had an issue that couldn't be reproduced on anyone else's system (or even mine, consistently, sometimes) when I failed to compare the file checksum between the .ISO and my downloaded copy, and went on to install a flawed copy of it. Everything seemed to go fine - but I ended up with... gremlins.

Regards,
MDM
Mint 18 Xfce 4.12.

If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.

User avatar
smurphos
Level 13
Level 13
Posts: 4752
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Window focus is utterly broken

Post by smurphos » Fri Nov 02, 2018 1:35 am

MrEen wrote:
Thu Nov 01, 2018 6:29 pm
Another stab in the dark. Disable most visual effects? See here, 5.1 right column. No idea if the instructions will be the same on Manjaro though.
They are.
ocket8888 wrote:
Thu Nov 01, 2018 5:45 pm
Here's my inxi output:
Can you provide your inxi -Fxz whilst logged in as a regular user to the Cinnamon session - not from a root console.

Also can you provide the content of ~/.xsession-errors

Have you applied any BIOS updates to your current newish hardware.

Also I think you may need a newer kernel with that 8th generation intel chip. Not sure if Coffeelake support got back-ported to 4.14 in Manjaro but for mainline you need 4.15 or later for full support.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

ocket8888
Level 1
Level 1
Posts: 19
Joined: Tue Apr 18, 2017 2:19 am

Re: Window focus is utterly broken

Post by ocket8888 » Mon Nov 05, 2018 7:24 am

2. User error. A mis-configured setting could cause issues. Accidentally deleting/moving/renaming an important file, could, too. Or something else along those lines.

3. A bad installation of the OS in the first place. I once had an issue that couldn't be reproduced on anyone else's system (or even mine, consistently, sometimes) when I failed to compare the file checksum between the .ISO and my downloaded copy, and went on to install a flawed copy of it. Everything seemed to go fine - but I ended up with... gremlins.
Absolutely can't be this. This happens in the live cd.

ocket8888
Level 1
Level 1
Posts: 19
Joined: Tue Apr 18, 2017 2:19 am

Re: Window focus is utterly broken

Post by ocket8888 » Mon Nov 05, 2018 7:32 am

smurphos wrote:
Fri Nov 02, 2018 1:35 am
Can you provide your inxi -Fxz whilst logged in as a regular user to the Cinnamon session - not from a root console.
Looks the same to me, but here you go

Code: Select all

System:
  Host: Arch-X10 Kernel: 4.14.78-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 8.2.1 Desktop: Cinnamon 3.8.9 Distro: Manjaro Linux 
Machine:
  Type: Desktop Mobo: ASRock model: Z370 Taichi serial: <filter> 
  UEFI [Legacy]: American Megatrends v: P1.30 date: 11/30/2017 
CPU:
  Topology: 6-Core model: Intel Core i7-8700K bits: 64 type: MT MCP 
  arch: Kaby Lake rev: A L2 cache: 12.0 MiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 88728 
  Speed: 800 MHz min/max: 800/4700 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 801 12: 800 
Graphics:
  Device-1: NVIDIA GM200 [GeForce GTX 980 Ti] vendor: eVga.com. 
  driver: nvidia v: 410.73 bus ID: 01:00.0 
  Display: x11 server: X.Org 1.20.3 driver: nvidia tty: N/A 
  OpenGL: renderer: GeForce GTX 980 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 410.73 
  direct render: Yes 
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: ASRock 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
  Device-2: NVIDIA GM200 High Definition Audio vendor: eVga.com. 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 
  Device-3: SteelSeries ApS type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-4:4 
  Sound Server: ALSA v: k4.14.78-1-MANJARO 
Network:
  Device-1: Intel Ethernet I219-V vendor: ASRock driver: e1000e v: 3.2.6-k 
  port: f000 bus ID: 00:1f.6 
  IF: enp0s31f6 state: down mac: <filter> 
  Device-2: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi 
  v: kernel port: e000 bus ID: 06:00.0 
  IF: wlp6s0 state: down mac: <filter> 
  Device-3: Intel I211 Gigabit Network vendor: ASRock driver: igb v: 5.4.0-k 
  port: d000 bus ID: 07:00.0 
  IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 1.36 TiB used: 7.10 GiB (0.5%) 
  ID-1: /dev/sda vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB 
  ID-2: /dev/sdb vendor: SanDisk model: SDSSDX240GG25 size: 223.57 GiB 
  ID-3: /dev/sdc vendor: Seagate model: ST1000LM024 HN-M101MBB 
  size: 931.51 GiB 
Partition:
  ID-1: / size: 75.21 GiB used: 7.10 GiB (9.4%) fs: ext4 dev: /dev/sda2 
  ID-2: swap-1 size: 15.63 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3 
Sensors:
  System Temperatures: cpu: 43.0 C mobo: N/A gpu: nvidia temp: 63 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 9% 
Info:
  Processes: 269 Uptime: 1m Memory: 15.60 GiB used: 1.76 GiB (11.3%) 
  Init: systemd Compilers: gcc: 8.2.1 Shell: bash v: 4.4.23 inxi: 3.0.27 
smurphos wrote:
Fri Nov 02, 2018 1:35 am
Have you applied any BIOS updates to your current newish hardware.
no
smurphos wrote:
Fri Nov 02, 2018 1:35 am
Also I think you may need a newer kernel with that 8th generation intel chip. Not sure if Coffeelake support got back-ported to 4.14 in Manjaro but for mainline you need 4.15 or later for full support.
Dunno what that is, but I don't feel comfortable compiling my own kernel, so if pacman -Syu doesn't do it then this is my kernel, I'm afraid.

ocket8888
Level 1
Level 1
Posts: 19
Joined: Tue Apr 18, 2017 2:19 am

Re: Window focus is utterly broken

Post by ocket8888 » Mon Nov 05, 2018 7:34 am

smurphos wrote:
Fri Nov 02, 2018 1:35 am
Also can you provide the content of ~/.xsession-errors
I tried to link to it in that github post, but apparently that doesn't last.

Code: Select all

[cinnamon-settings-daemon-smartcard] Failed to start: no suitable smartcard driver could be found
cinnamon-session[872]: WARNING: t+0.21058s: Child process 959 was already dead.
[cinnamon-settings-daemon-smartcard] Failed to start: no suitable smartcard driver could be found

(csd-keyboard:951): Gdk-ERROR **: 21:25:11.885: The program 'csd-keyboard' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 413 error_code 3 request_code 18 (core protocol) minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
cinnamon-session[872]: WARNING: t+1.03593s: Child process 951 was already dead.
cinnamon-session[872]: WARNING: t+1.03715s: Application 'cinnamon-settings-daemon-keyboard.desktop' killed by signal 5
Looking in '/etc/xdg/parcellite/parcelliterc'
Looking in '/etc/xdg/parcellite/parcelliterc'
Looking in '/etc/xdg/parcellite/parcelliterc'
Flag 0x0001, status 0, EXIT 1 STAT 0
** Message: 21:25:20.260: nemo-desktop: session is cinnamon, establishing proxy
Cjs-Message: 21:25:20.262: JS LOG: About to start Cinnamon
Cjs-Message: 21:25:20.293: JS LOG: [LookingGlass/info] Cinnamon.AppSystem.get_default() started in 30 ms
Cjs-Message: 21:25:20.296: JS LOG: [LookingGlass/info] loading user theme: /usr/share/themes/Adapta-Nokto-Maia/cinnamon/cinnamon.css
Cjs-Message: 21:25:20.308: JS LOG: [LookingGlass/info] added icon directory: /usr/share/themes/Adapta-Nokto-Maia/cinnamon
Cinnamon warning: Log level 128: posix_spawn avoided (fd close requested) 
Cjs-Message: 21:25:20.371: JS LOG: [LookingGlass/info] PlacesManager: Updating devices
St-Message: 21:25:20.373: cogl npot texture sizes SUPPORTED
Cjs-Message: 21:25:20.377: JS LOG: [LookingGlass/info] loaded at Sun Nov 04 2018 21:25:20 GMT-0700 (MST)
Cjs-Message: 21:25:20.377: JS LOG: Cinnamon started at Sun Nov 04 2018 21:25:20 GMT-0700 (MST)
Cjs-Message: 21:25:20.392: JS LOG: [LookingGlass/info] ExtensionSystem started in 2 ms
Cjs-Message: 21:25:20.392: JS LOG: [LookingGlass/info] DeskletManager started in 0 ms
Cjs-Message: 21:25:20.392: JS LOG: [LookingGlass/info] SearchProviderManager started in 0 ms
openGL version 3.1 detected (GL3 Cogl Driver)
Cjs-Message: 21:25:20.441: JS LOG: [LookingGlass/info] Loaded applet separator@cinnamon.org in 22 ms
Cjs-Message: 21:25:20.442: JS LOG: [LookingGlass/info] Loaded applet separator@cinnamon.org in 2 ms
Cjs-Message: 21:25:20.442: JS LOG: [LookingGlass/info] Loaded applet separator@cinnamon.org in 0 ms
Cjs-Message: 21:25:20.464: JS LOG: [LookingGlass/info] Loaded applet expo@cinnamon.org in 22 ms
Cjs-Message: 21:25:20.464: JS LOG: [LookingGlass/info] Loaded applet separator@cinnamon.org in 0 ms
Cjs-Message: 21:25:20.469: JS LOG: [LookingGlass/info] Loaded applet show-desktop@cinnamon.org in 4 ms
Cjs-Message: 21:25:20.474: JS LOG: [LookingGlass/info] Loaded applet windows-quick-list@cinnamon.org in 6 ms
Cjs-Message: 21:25:20.480: JS LOG: [LookingGlass/info] Loaded applet inhibit@cinnamon.org in 6 ms
Cjs-Message: 21:25:20.497: JS LOG: [LookingGlass/info] Loaded applet calendar@cinnamon.org in 16 ms
Cjs-Message: 21:25:20.508: JS LOG: [LookingGlass/info] Loaded applet workspace-switcher@cinnamon.org in 12 ms
Cjs-Message: 21:25:20.513: JS LOG: [LookingGlass/info] Role locked: notifications
Cjs-Message: 21:25:20.516: JS LOG: [LookingGlass/info] Loaded applet notifications@cinnamon.org in 8 ms
Cjs-Message: 21:25:20.520: JS LOG: [LookingGlass/info] Loaded applet systray@cinnamon.org in 4 ms
Cjs-Message: 21:25:20.550: JS LOG: [LookingGlass/info] Role locked: panellauncher
Cjs-Message: 21:25:20.551: JS LOG: [LookingGlass/info] Loaded applet panel-launchers@cinnamon.org in 30 ms
Cjs-Message: 21:25:20.555: JS LOG: [LookingGlass/info] Loaded applet removable-drives@cinnamon.org in 4 ms
Cjs-Message: 21:25:20.563: JS LOG: [LookingGlass/info] Loaded applet power@cinnamon.org in 8 ms
Cjs-Message: 21:25:20.576: JS LOG: [LookingGlass/info] Loaded applet user@cinnamon.org in 14 ms
Cjs-Message: 21:25:20.584: JS LOG: [LookingGlass/info] Loaded applet window-list@cinnamon.org in 8 ms
Cjs-Message: 21:25:20.610: JS LOG: [LookingGlass/info] Loaded applet sound@cinnamon.org in 26 ms
Cjs-Message: 21:25:20.688: JS LOG: network applet: Cannot find connection for active (or connection cannot be read)
Cjs-Message: 21:25:20.690: JS LOG: [LookingGlass/info] Loaded applet network@cinnamon.org in 80 ms
Cjs-Message: 21:25:20.946: JS LOG: [LookingGlass/info] Loaded applet menu@cinnamon.org in 256 ms
Cjs-Message: 21:25:20.947: JS LOG: [LookingGlass/info] AppletManager started in 570 ms
Cjs-Message: 21:25:20.948: JS LOG: [LookingGlass/info] Cinnamon took 686 ms to start
Cjs-Message: 21:25:21.228: JS LOG: Invalid network device type, is 14
Cjs-Message: 21:25:21.228: JS LOG: network applet: Found connection for active
Cjs-Message: 21:25:21.306: JS LOG: [LookingGlass/info] Adding systray: parcellite (24x24px)
Cjs-Message: 21:25:21.306: JS LOG: [LookingGlass/info] Adding systray: pamac-tray (24x24px)
Cjs-Message: 21:25:21.307: JS LOG: [LookingGlass/info] Hiding systray: network
Cjs-Message: 21:25:22.307: JS LOG: [LookingGlass/info] Resized parcellite with normalized size (22x22px)
Cjs-Message: 21:25:22.309: JS LOG: [LookingGlass/info] Resized pamac-tray with normalized size (22x22px)

(pamac-tray:1120): Gdk-CRITICAL **: 21:25:22.355: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed

(parcellite:1121): Gdk-CRITICAL **: 21:25:22.355: IA__gdk_window_thaw_toplevel_updates_libgtk_only: assertion 'private->update_and_descendants_freeze_count > 0' failed
Cjs-Message: 21:25:25.208: JS LOG: [LookingGlass/info] Adding systray: blueberry-tray.py (24x24px)
Cjs-Message: 21:25:26.211: JS LOG: [LookingGlass/info] Resized blueberry-tray.py with normalized size (22x22px)
/usr/bin/manjaro-hello:73: DeprecationWarning: Gtk.Widget.set_margin_left is deprecated
  img.set_margin_left(2)
Cinnamon warning: Log level 16: STACK_OP_RAISE_ABOVE: sibling window 0x4600007 not in stack
Cinnamon warning: Log level 128: posix_spawn avoided (fd close requested) 
Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address (polkit-error-quark, 0)
Cjs-Message: 21:26:57.003: JS LOG: pushModal: invocation of begin_modal failed
Looking in '/etc/xdg/parcellite/parcelliterc'
Cinnamon warning: Log level 128: posix_spawn avoided (fd close requested) 
Looking in '/etc/xdg/parcellite/parcelliterc'
Looking in '/etc/xdg/parcellite/parcelliterc'

User avatar
JerryF
Level 11
Level 11
Posts: 3920
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Window focus is utterly broken

Post by JerryF » Mon Nov 05, 2018 11:13 am

Did you verify the ISO before burning it?
IF your problem has been solved, please edit your ORIGINAL post and add [SOLVED] to the beginning of the Subject Line. It helps other members when browsing posts.

ocket8888
Level 1
Level 1
Posts: 19
Joined: Tue Apr 18, 2017 2:19 am

Re: Window focus is utterly broken

Post by ocket8888 » Mon Nov 05, 2018 1:41 pm

JerryF wrote:
Mon Nov 05, 2018 11:13 am
Did you verify the ISO before burning it?
I mean, no, but what are the odds that 5 different ISOs across 2 different distributions and 2 years are all corrupt? Especially when you consider that several of them are the same ISOs I used fine on old laptops/Virtual Machines.

jaymot
Level 2
Level 2
Posts: 81
Joined: Thu Apr 12, 2018 11:22 pm

Re: Window focus is utterly broken

Post by jaymot » Mon Nov 05, 2018 8:37 pm

You say you've been having this problem for almost two years and it spans different Linux distros, but have you been using the same hardware all this time? I'm thinking it may be an issue with NVidia's (proprietary) video drivers for your card, or a compatibility issue of some sort between Linux in general (the kernel or a module?) and your card. That's what this sounds like to me, anyway. Do you have a different video card around that you could temporarily swap out for testing purposes, or could you borrow a spare one from a friend? Also do you have any non-Cinnamon Linux live CDs that you could try, i.e. KDE or MATE to see if the same thing happens with those DEs? That would tell us whether the problem is specific to Cinnamon.
Mint 19 Tara Cinnamon, Asus Zenbook UX303UB, 12GiB 1.6GHz DDR3 RAM, 1TiB HD, Intel Skylake & GeForce 940M 2GiB GPUs, Intel Core i7 6500U CPU

User avatar
MtnDewManiac
Level 6
Level 6
Posts: 1462
Joined: Fri Feb 22, 2013 5:18 pm
Location: United States

Re: Window focus is utterly broken

Post by MtnDewManiac » Mon Nov 05, 2018 8:47 pm

ocket8888 wrote:
Mon Nov 05, 2018 1:41 pm
JerryF wrote:
Mon Nov 05, 2018 11:13 am
Did you verify the ISO before burning it?
I mean, no, but what are the odds that 5 different ISOs across 2 different distributions and 2 years are all corrupt? Especially when you consider that several of them are the same ISOs I used fine on old laptops/Virtual Machines.
I guess it's like asking what the odds are that the 'chute someone else packed will turn out to be faulty. Very, very low - yet people bounce every year.

It once took me three tries to get an exact, bit-for-bit download of an .ISO. I don't know one way or the other, but I suspect error-checking in file transfers has declined since the '80s. Or maybe it's just the exponentially increased amount of data that gets transferred that makes it seem so. "One in a million chance" doesn't seem all that unlikely when transferring gigabytes at a time....

Regards,
MDM
Mint 18 Xfce 4.12.

If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.

jaymot
Level 2
Level 2
Posts: 81
Joined: Thu Apr 12, 2018 11:22 pm

Re: Window focus is utterly broken

Post by jaymot » Tue Nov 06, 2018 12:31 am

MtnDewManiac wrote:
Mon Nov 05, 2018 8:47 pm
ocket8888 wrote:
Mon Nov 05, 2018 1:41 pm
JerryF wrote:
Mon Nov 05, 2018 11:13 am
Did you verify the ISO before burning it?
I mean, no, but what are the odds that 5 different ISOs across 2 different distributions and 2 years are all corrupt? Especially when you consider that several of them are the same ISOs I used fine on old laptops/Virtual Machines.
I guess it's like asking what the odds are that the 'chute someone else packed will turn out to be faulty. Very, very low - yet people bounce every year.

It once took me three tries to get an exact, bit-for-bit download of an .ISO. I don't know one way or the other, but I suspect error-checking in file transfers has declined since the '80s. Or maybe it's just the exponentially increased amount of data that gets transferred that makes it seem so. "One in a million chance" doesn't seem all that unlikely when transferring gigabytes at a time....

Regards,
MDM
One thing that might be in common is his DVD burner, which may possibly be faulty(?), so that's another possibility. He might try burning a live CD .iso image to a USB stick instead of a DVD, boot from that and see if the problem persists. Just to eliminate another possibility in his troubleshooting. So that gives the OP three things to try in order to narrow down the cause: boot from USB instead of a burned DVD to eliminate possible disk-burning errors, boot from a non-Cinnamon Live CD to see if it only happens in Cinnamon, and swap video cards then boot from a Cinnamon Live CD to see if it's a video driver/X11 driver issue.
Mint 19 Tara Cinnamon, Asus Zenbook UX303UB, 12GiB 1.6GHz DDR3 RAM, 1TiB HD, Intel Skylake & GeForce 940M 2GiB GPUs, Intel Core i7 6500U CPU

User avatar
MtnDewManiac
Level 6
Level 6
Posts: 1462
Joined: Fri Feb 22, 2013 5:18 pm
Location: United States

Re: Window focus is utterly broken

Post by MtnDewManiac » Tue Nov 06, 2018 1:14 am

Does Cinnamon require a fully-functional accelerated 3D graphics setup to run correctly (in all aspects)? I've never really been clear on this, but if so, I'd lean towards thinking the problem stemmed from the OP's graphics setup. Such things probably differ from computer to computer - and distro version to distro version, possibly even from one distro to another of the same vintage, IDK. But that would make "several of them are the same ISOs I used fine on old laptops/Virtual Machines." seem to make more sense.

Regards,
MDM
Mint 18 Xfce 4.12.

If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.

User avatar
smurphos
Level 13
Level 13
Posts: 4752
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Window focus is utterly broken

Post by smurphos » Tue Nov 06, 2018 1:59 am

ocket8888 wrote:
Mon Nov 05, 2018 7:32 am
smurphos wrote:
Fri Nov 02, 2018 1:35 am
Can you provide your inxi -Fxz whilst logged in as a regular user to the Cinnamon session - not from a root console.
Looks the same to me, but here you go
smurphos wrote:
Fri Nov 02, 2018 1:35 am
Have you applied any BIOS updates to your current newish hardware.
no
smurphos wrote:
Fri Nov 02, 2018 1:35 am
Also I think you may need a newer kernel with that 8th generation intel chip. Not sure if Coffeelake support got back-ported to 4.14 in Manjaro but for mainline you need 4.15 or later for full support.
Dunno what that is, but I don't feel comfortable compiling my own kernel, so if pacman -Syu doesn't do it then this is my kernel, I'm afraid.
Manjaro Settings Manager provides a GUI to install the latest 4.19 kernel. Alternatively if it's to painful to try and get that open and focussed from the command line you can use these commands logged in as your user from a virtual console. Definitely worth trying this - Coffeelake is Intel's codename for your processor family and as mentioned wasn't fully supported in the linux kernel until 4.15+

sudo mhwd-kernel -i linux419 followed by a reboot.

To reverse in you'll need to boot back into an older kernel via grub and then

sudo mhwd-kernel -r linux419

Your original inxi output what missing details about the graphics driver in use. Might be worth trying different versions of the nvidia driver if Manjaro supplies them - sorry I'm not sure how that's achieved in Manjaro or switching to the nouveau driver to see if that improves things. To do that

remove video-nvidia
sudo mhwd -r pci video-nvidia

install video-linux
sudo mhwd -i pci video-linux

unblacklist nouveau (I'm not sure if Manjaro pre-installs nano as a CLI text-editor or not)
sudo nano /etc/modprobe.d/mhwd-gpu.conf comment out #blacklist nouveau.

Save and reboot into a graphical session.

BIOS updates - a quick google suggests your motherboard manufacturer has released newer BIOS images - their website lists the current as 3.30 released on 30/10/18 - https://www.asrock.com/mb/Intel/Z370%20 ... x.asp#BIOS. Worth a try as these often include bugfixes not listed in the brief changelogs.

Have you tried the Current Mint Cinnamon 19v2 iso on this machine? Did it have these issues?

And I know you hate Gnome3 but have you tried a current Gnome3 distro - maybe Ubuntu 18.10. Gnome3 and Cinnamon are both 3d accelerated and share a lot of the underlying technology e.g. muffin (Cinnamon's window manager) is a fork of mutter (Gnome's), they both rely on a JS implementation for drawing much of the shell GUI. It would be useful to know if you suffer similar issues in Gnome3 or not for troubleshooting purposes.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

ocket8888
Level 1
Level 1
Posts: 19
Joined: Tue Apr 18, 2017 2:19 am

Re: Window focus is utterly broken

Post by ocket8888 » Tue Nov 06, 2018 6:32 am

jaymot wrote:
Mon Nov 05, 2018 8:37 pm
You say you've been having this problem for almost two years and it spans different Linux distros, but have you been using the same hardware all this time? I'm thinking it may be an issue with NVidia's (proprietary) video drivers for your card, or a compatibility issue of some sort between Linux in general (the kernel or a module?) and your card. That's what this sounds like to me, anyway. Do you have a different video card around that you could temporarily swap out for testing purposes, or could you borrow a spare one from a friend? Also do you have any non-Cinnamon Linux live CDs that you could try, i.e. KDE or MATE to see if the same thing happens with those DEs? That would tell us whether the problem is specific to Cinnamon.
Yeah, like I said my Manjaro Gnome3 install worked fine, I just hated it.
jaymot wrote:
Tue Nov 06, 2018 12:31 am
One thing that might be in common is his DVD burner, which may possibly be faulty(?), so that's another possibility. He might try burning a live CD .iso image to a USB stick instead of a DVD, boot from that and see if the problem persists. Just to eliminate another possibility in his troubleshooting. So that gives the OP three things to try in order to narrow down the cause: boot from USB instead of a burned DVD to eliminate possible disk-burning errors, boot from a non-Cinnamon Live CD to see if it only happens in Cinnamon, and swap video cards then boot from a Cinnamon Live CD to see if it's a video driver/X11 driver issue.
To be clear, I'm calling it a "liveCD" because that's the environment, not because it's literally running from an optical disk. My current setup doesn't even have a DVD drive - all of these have been USB stick boots. And if it makes a difference, I've used different things to burn the ISOs, UniversalUSBInstaller on Windows, MintStick (I think it's just called "USB Image Writer" now?) etc.
Also, once again, Gnome3 doesn't have this problem. And I don't think Enlightenment did either, but that was so long ago I'm not totally sure it was this machine.
smurphos wrote:
Tue Nov 06, 2018 1:59 am

Manjaro Settings Manager provides a GUI to install the latest 4.19 kernel. Alternatively if it's to painful to try and get that open and focussed from the command line you can use these commands logged in as your user from a virtual console. Definitely worth trying this - Coffeelake is Intel's codename for your processor family and as mentioned wasn't fully supported in the linux kernel until 4.15+

sudo mhwd-kernel -i linux419 followed by a reboot.
I'll give that a try in a second
smurphos wrote:
Tue Nov 06, 2018 1:59 am
Your original inxi output what missing details about the graphics driver in use. Might be worth trying different versions of the nvidia driver if Manjaro supplies them - sorry I'm not sure how that's achieved in Manjaro or switching to the nouveau driver to see if that improves things.
The problem persists with nouveau - idk how I'd switch versions of the nvidia driver, but I suspect that's not really the issue since noveau has the same issues. Plus, when I had the Gnome3 DE installed I played a couple of games - they weren't graphics benchmarks or anything but they were fairly new releases and I was able to play them at maxed-out settings with performance that was comparable to my experience with them on Windows (One was native, the other ran through WinE). So that seems to indicate to me that the graphics card is working fine.
smurphos wrote:
Tue Nov 06, 2018 1:59 am
BIOS updates - a quick google suggests your motherboard manufacturer has released newer BIOS images - their website lists the current as 3.30 released on 30/10/18 - https://www.asrock.com/mb/Intel/Z370%20 ... x.asp#BIOS. Worth a try as these often include bugfixes not listed in the brief changelogs.
I'll give it a whirl
smurphos wrote:
Tue Nov 06, 2018 1:59 am
Have you tried the Current Mint Cinnamon 19v2 iso on this machine? Did it have these issues?
Not to my memory. I can try it.
smurphos wrote:
Tue Nov 06, 2018 1:59 am
And I know you hate Gnome3 but have you tried a current Gnome3 distro - maybe Ubuntu 18.10. Gnome3 and Cinnamon are both 3d accelerated and share a lot of the underlying technology e.g. muffin (Cinnamon's window manager) is a fork of mutter (Gnome's), they both rely on a JS implementation for drawing much of the shell GUI. It would be useful to know if you suffer similar issues in Gnome3 or not for troubleshooting purposes.


Yes, as I've said I have tried a Gnome3 install on this machine just two weeks ago and it didn't have these problems.

ocket8888
Level 1
Level 1
Posts: 19
Joined: Tue Apr 18, 2017 2:19 am

Re: Window focus is utterly broken

Post by ocket8888 » Tue Nov 06, 2018 7:51 am

smurphos wrote:
Tue Nov 06, 2018 1:59 am

Manjaro Settings Manager provides a GUI to install the latest 4.19 kernel. Alternatively if it's to painful to try and get that open and focussed from the command line you can use these commands logged in as your user from a virtual console. Definitely worth trying this - Coffeelake is Intel's codename for your processor family and as mentioned wasn't fully supported in the linux kernel until 4.15+

sudo mhwd-kernel -i linux419 followed by a reboot.
Did this - no effect. uname shows that after reboot I am, in fact, using the 4.19 kernel

Post Reply

Return to “Cinnamon”