Bug 378155 - Dolphin unresponsive to clicks after opening a file in dual monitor
Summary: Dolphin unresponsive to clicks after opening a file in dual monitor
Status: RESOLVED DUPLICATE of bug 363548
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.3
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-27 12:45 UTC by Horacio Sanson
Modified: 2017-04-04 08:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Horacio Sanson 2017-03-27 12:45:23 UTC
For some reason dolphin stops responding to clicks after opening any file. 

To reproduce:

  - Important: This only happens when I have an external monitor connected to my laptop with the laptop screen as main screen.
  - Open Dolphin
  - Click any file (e.g. docx, pdf, txt)
  - Close the app that started when clicking.
  - Try to click another file or any button in dolphin and it won't register.
  - Closing dolphin using the close button in the window title bar works.
  - Restarting dolphin fixes the issue until I open another file by clicking.
  - Happens on all views in dolphin.
  - It does not happen on my desktop that has single monitor.

There seem to be similar reports about this issue:

  - https://forum.kde.org/viewtopic.php?f=224&t=136990
  - https://forum.manjaro.org/t/dolphin-cannot-click-folders-files-after-a-while/10201/5
Comment 1 Horacio Sanson 2017-03-28 00:34:34 UTC
Just found an interesting behavior with this issue. Dolphin becomes unresponsive to clicks only when it is in the external screen.

I can still drag the dolphin window between my main (laptop) screen and my external monitor. If I drag dolphin and put it in the main laptop screen I can click on any icons/places and everything works as normal.

Once I drag the dolphin window to the external monitor screen I can no longer click on any icons or places.
Comment 2 Elvis Angelaccio 2017-03-29 21:25:02 UTC
I cannot reproduce on my laptop + external monitor setup.

If you can reproduce it reliably, please post a gdb backtrace after the freeze happens:

- gdb dolphin
- make it freeze
- ctrl+c in gdb prompt
- type 'backtrace' and copy here the output you get.
Comment 3 Horacio Sanson 2017-04-03 02:59:49 UTC
Here is the backtrace. I must make clear that Dolphin is not freezing. I can click the window and move it around, resize it, click the menus and all that works fine. The file and directory icons/list in the files and the places panels are the ones I cannot click or highlight. It is like the mouse over/click event is not being registered in those places.

To take the backtrace:

  - Installed dolphin-dbgsym package via apt-get
  - Started dolphin with "gdb dolphin"
  - Executed start/continue inside gdb.
  - In dolphin opened a PDF file by clicking on it.
  - Verified that I can no longer click on any other file.
  - Ctrl-c inside dbg
  - Executed backtrace (shown below).

[~]> gdb dolphin
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from dolphin...Reading symbols from /usr/lib/debug/.build-id/be/77756e7b53dc825e81156fab3da004640499c9.debug...done.
done.
(gdb) start
Temporary breakpoint 1 at 0x4006b0: file /workspace/build/obj-x86_64-linux-gnu/src/dolphin_dummy.cpp, line 3.
Starting program: /usr/bin/dolphin
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Temporary breakpoint 1, main (argc=1, argv=0x7fffffffd048)
    at /workspace/build/obj-x86_64-linux-gnu/src/dolphin_dummy.cpp:3
3       /workspace/build/obj-x86_64-linux-gnu/src/dolphin_dummy.cpp: No such file or directory.
(gdb) continue
Continuing.
[New Thread 0x7fffe210a700 (LWP 25069)]
[New Thread 0x7fffdbfff700 (LWP 25070)]
Fontconfig warning: "/home/ryujin/.config/fontconfig/conf.d/69-language-selector-ja-jp.conf", line 172: Having multiple values in <test> isn't supported and may not work as expected
[New Thread 0x7fffd2b85700 (LWP 25095)]
Cannot creat accessible child interface for object:  PlacesView(0xc7a650)  index:  15
^C
Thread 1 "dolphin" received signal SIGINT, Interrupt.
0x00007ffff7832b5d in poll () at ../sysdeps/unix/syscall-template.S:84
84      ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) backtrace
#0  0x00007ffff7832b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffec54838c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec54849c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff25c373f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff256e0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff25766cc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff7b5dde6 in kdemain (argc=1, argv=<optimized out>) at /workspace/build/src/main.cpp:150
#7  0x00007ffff7758830 in __libc_start_main (main=0x4006b0 <main(int, char**)>, argc=1,
    argv=0x7fffffffd048, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
    stack_end=0x7fffffffd038) at ../csu/libc-start.c:291
#8  0x00000000004006e9 in _start ()
Comment 4 Elvis Angelaccio 2017-04-03 13:18:39 UTC
Thanks, indeed the backtrace confirms that there is no freeze, just an idle process waiting for input events.
Comment 5 Elvis Angelaccio 2017-04-03 21:50:16 UTC
Ah right, this sounds like a duplicate of bug 363548. Is your external monitor high dpi?
Comment 6 Horacio Sanson 2017-04-04 08:45:25 UTC
Indeed this is a duplicate. Both my laptop screen and my external monitor are 2560x1440 resolution.

I also found out that the clicks stop working only on the left side of the dolphin window as other people commented on the duplicate issue.
Comment 7 Elvis Angelaccio 2017-04-04 08:47:12 UTC
Thanks for confirming.

*** This bug has been marked as a duplicate of bug 363548 ***