Guess there's no way to withdraw a comment. This is an old bug present in perhaps every X toolkit and window manager. Fixing it requires fixing both of those and perhaps the applications, depending on how the toolkit is fixed. There is at present either not the knowledge or not the will to make the necessary changes, in part because keeping support for anything other than click-to-focus is tricky.
I've seen that Bill Spitzak is working on making sure Wayland gets drag and drop right from the start, so maybe some future X-less Nautilus will work right on Wayland. From the look of it, Wayland was headed for "freezing in" the bad assumptions people have made on X before Bill showed up; at least X is only made to seem awful in this regard because people misuse it. GNOME's BTS doesn't allow for bugs that are due to multiple components and their interaction, so it's necessary to have multiple reports. Bugs there against against one component which is part of the problem have been marked as duplicates of other bugs which are part of the problem. This means there's no tracking of the issues particular to the components, and defeats the purpose of a bug tracking system. Launchpad does allow for bugs which affect multiple components, so this could be merged with bug #803872 . But that bug was already changed from affecting nautilus to affecting compiz. It affects both . . . and Gtk+. (It can't be fixed in Nautilus until Gtk+ is fixed, unless Nautilus does some really hacky stuff or changes toolkit.) But it's been over 8 years since I presented a solution. The aforementioned work in Wayland can replicate the solution because Wayland doesn't have X's political baggage. I'm tired of this. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/811921 Title: Clicking on icons in Nautilus changes focus Status in One Hundred Paper Cuts: New Status in “nautilus” package in Ubuntu: Invalid Bug description: Button-click on icon(in some window manager) brings focus to window contains that item, obstacles drag-n-drop: Reproduction steps: 1. Open some Multi-media player, ex. totem. 2. Open some directory contains multi-media files in Nautilus 3. Maximize Nautilus 3. resize totem to quarter of your screen, position it to top-right corner. 4. Make sure Totem is above nautilus, and totem doesn't cover your multi-media files. 5. Try to Drag-n-Drop some file from Nautilus to Totem. 6. You'll notice that: On Click, Nautilus gets focus and totem loses it, thus obstacles drag-n-drop. Suggested Fix: 1. Window manager should get focus if user clicked on area of the window, except for items(icons). 2. Button_Clicking on icons in window manager, should not change focus state. To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/811921/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp