Bug 57645 - cannot right-click in window without selecting file in detailed view
Summary: cannot right-click in window without selecting file in detailed view
Status: RESOLVED DUPLICATE of bug 68975
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 3.1.1
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-24 13:22 UTC by Pascal Niklaus
Modified: 2004-05-09 17:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch to fix popup menu in konq listview (484 bytes, patch)
2004-03-24 04:33 UTC, kdozer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Niklaus 2003-04-24 13:22:33 UTC
Version:           3.1.1 (using KDE 3.1.1)
Installed from:    compiled sources
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.20-4GB-athlon

Partly related to bug 47584

1) Open file:/home
2) view directory content in "detailed list view"

If the content of the home directory is longer than the window height, there is no place to right-click to create, e.g., a new directory

- right-clicking on the "Home" directory in the tree view doesn't offer a "Create New" option in the menu
- there's no place to right-click into the window without selecting/opening a file

The only option is to temporarily choose icon view, because there's free space to click between the icons which produces the menu
Comment 1 kdozer 2003-05-02 04:02:04 UTC
 >  - there's no place to right-click into the window without selecting/opening a file   
  
What about anywhere except the "Name" column? This is a duplicate of #47584 
   
>  The only option is to temporarily choose icon view, because there's free space to click   
>  between the icons which produces the menu  
  
Or use the Edit menu. or the toolbar...  
 
>  - right-clicking on the "Home" directory in the tree view doesn't offer a "Create New" option in 
>  the menu  
 
It does offer a "Create Directory" entry though. I guess this could be considered inconsistent 
  
Comment 2 Pascal Niklaus 2003-05-02 09:54:23 UTC
>> - there's no place to right-click into the window without selecting/opening a
file

>What about anywhere except the "Name" column? This is a duplicate of #47584

Ok, this works...

>> - right-clicking on the "Home" directory in the tree view doesn't offer a
"Create New" option in
>> the menu

>It does offer a "Create Directory" entry though. I guess this could be
considered inconsistent

No, there's no "Create Directory" entry when you right-click on "Home directory"
in the tree view... It only offers this option if you click on a subdirectory of
"home"



Comment 3 kdozer 2003-05-03 02:58:57 UTC
> No, there's no "Create Directory" entry when you right-click on "Home directory"  
> in the tree view... It only offers this option if you click on a subdirectory of  
>  "home"  
 
Ah, ok, I see now. When you say "tree view" you mean using the sidebar under the "Home" 
house tab, right? 
 
You are correct, there is no "Create DIrectory" option here, because the "Home DIrectory" entry 
is actually a .desktop file with Type=Link, not an actual directory. You can even see it's 
contents by selecting "Preview in Advanced Text Editor" 
 
I believe this can be fixed in  
	KonqSidebarTreeTopLevelItem::rightButtonPressed() 
by passing mimetype "inode/directory" for all top level items in dirtree mode. 
 
Looking at recent commits, this may already have been fixed in CVS. I'll check next time I 
update. 
 
Comment 4 Jason W 2003-11-20 01:16:53 UTC
>>> - there's no place to right-click into the window without selecting/opening a file 
 
>> What about anywhere except the "Name" column?  
 
> Ok, this works... 

This no longer works in 3.2 (3.1.93)
Right clicking anywhere, even on columns other than the name column selects a file.  (Even though the cursor doesn't change to reflect that this will happen)  This makes it impossible to right-click and paste a file, or create a new directory etc.  

I hope it's a bug and not a feature :)  Natually one can still use the toolbar, or edit menu, or ctl-v but a lot of people (well, me at least) won't enjoy undoing years of habit.
Comment 5 Kevin Yeung 2004-03-04 03:46:07 UTC
I can confirm this bug in 3.2.0 on SuSE 8.2.
Comment 6 kdozer 2004-03-24 04:33:37 UTC
Created attachment 5362 [details]
Patch to fix popup menu in konq listview

Enables the behavior where right-clicking anywhere but the "name"column in a
listview will pop up a context menu for the current folder, rather than a file,
allowing "create new..." actions etc.

patch against CVS 2004-03-23
Comment 7 Stephan Binner 2004-05-09 17:54:04 UTC

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