Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I drag file over launcher icon (running program) after which program raises and I drop the file.

Problem I have here is that although program loads the file, it does not gain focus, so I have to alt-tab to it, to gain focus and use program's actions. This ruins drag&drop purpose for me, as if I have to alt-tab then I could first alt-tab and then drag&drop, instead dragging to launcher, waiting application to raise and dropping the file, and then yet alt-tab.

I guess it's one of those Compiz issues, but maybe someone has a tip which Compiz setting can solve this problem, if possible?

share|improve this question
    
Have you tried this with 11.10 to confirm that it still occurs? (You can use a Live CD/USB for that) –  RolandiXor Jan 12 '12 at 19:01
    
No, I haven't. Maybe someone running 11.10 can confirm –  zetah Jan 12 '12 at 19:06
    
I've confirmed that it's only a problem in 11.04. –  RolandiXor Jan 12 '12 at 19:26
add comment

1 Answer 1

This seems to be a bug in 11.04. I tested in 11.10, and while the program window is not raised, the file is transferred to the application and it is raised afterwards (at least Firefox, which I tested, was raised).

share|improve this answer
    
Thanks for confirming Roland. Here is one more example in addition: I open Gedit and minimize it, then I drag file from Nautilus to Gedit icon - Gedit raises and I drop the file in it. However Gedit does not have focus, and I can't use keyboard or menu etc unless I alt-tab to it. If Gedit wasn't minimized then (I guess by default Compiz setting) Gedit window is bring to front and zoomed out, and I can drop file and Gedit has focus. So issue is only when application is minimized. –  zetah Jan 12 '12 at 20:13
    
Moreover as Gedit has .desktop file with defined mime type associations, there seems to be another possibility if application is minimized - just drop the file on launcher icon, without hovering over it to be raised - in that case focus is also gained. –  zetah Jan 12 '12 at 20:14
    
I just thought there is some Compiz setting buried in CCSM that can tweak this out –  zetah Jan 12 '12 at 20:15
    
Oh, my mistake. Unity is not designed to do that. I think you would have to make a suggestion the ayatan mailing list. –  RolandiXor Jan 12 '12 at 20:40
    
Hm, that would be strange. Why does application raise itself when I drag file over it launcher icon? –  zetah Jan 12 '12 at 20:52
show 4 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.