| Summary: | Konqueror: No GUI control exists for controlling whether to display archives as folders | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Jan Stolarek <jwstolarek> |
| Component: | tdebase | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | bugwatch, darrella, jwstolarek |
| Priority: | P5 | ||
| Version: | 3.5.13 [Trinity] | ||
| Hardware: | All | ||
| OS: | All | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Attachments: |
Konqeror's tree view
Partial patch to provide a GUI check box Patch ot provide a GUI check box for controlling the display of archived files |
||
The option does exist. :) This is Yet Another 'Hidden' Feature carry over from KDE3. To me, 'hidden' features are usability bugs: https://bugs.kde.org/show_bug.cgi?id=98070 To fix the problem, open $TDEHOME/share/config/konqsidebartng.rc with a text editor. Then at the top of the file add the following: ShowArchivesAsFolders=false Do not add the option to any groups. Just add the entry at the top of the rc file. You might need to close all konqueror instances, possibly even restart Trinity. With that work-around, I'm changing the bug report summary to address adding the GUI control. Good catch and thanks for reporting. Created attachment 883 [details]
Partial patch to provide a GUI check box
I started a patch to provide a check box to control whether konqueror displays archived files as folders. Whereas I can get the check box to show in konqueror settings, the build fails when I add lines to read from or write to the rc file. The build failure message:
tdebase/kcontrol/konq/behaviour.cpp:235: error: 'cbshowArchivesAsFolders' was not declared in this scope
tdebase/kcontrol/konq/behaviour.cpp:260: error: 'cbshowArchivesAsFolders' was not declared in this scope
The problematic lines:
235: cbshowArchivesAsFolders->setChecked( sidebarconfig.readBoolEntry( "showArchivesAsFolders", false ) );
260: sidebarconfig.writeEntry( "ShowArchivesAsFolders", cbshowArchivesAsFolders->isChecked() );
Odd. I use tree view and archived files do not appear as folders. The default is true. After editing konqsidebartng.rc to true (no such option in konqsidebartng_kicker.rc), I still don't have archived files as folders. I tested further with a fresh profile. Is there some other magic needed to get archived files to appear as folders? Oh, never mind. I was looking at the right side file pane to view the archived files as folders. The feature only works in the left side navigation sidebar. Hopefully somebody can help with the patch. Created attachment 884 [details]
Patch ot provide a GUI check box for controlling the display of archived files
The problem with the first patch is I can't read. I had a lowercase s rather than an uppercase S in the variable name. Camel case crap.
The updated patch works in Slackware 13.1 32-bit. I plan to test in Slackware 14.0 64-bit too.
The new check box control is located in Settings->Configure Konqueror->Behavior->Misc Options. In kcontrol, TDE Components->File Manager->Behavior.
Whether making the change from kcontrol or konqueror, any open instance of Konqueror needs to be closed and restarted to see the change. Trinity does not need to be restarted.
The patch can be pushed to GIT after somebody reviews or tests.
(In reply to comment #1) > To fix the problem, open $TDEHOME/share/config/konqsidebartng.rc with a text > editor. Then at the top of the file add the following: > > ShowArchivesAsFolders=false Thanks! This works :) Patch in attachment 884 [details] pushed to GIT in commit 7255491d. Resolved.
|
Created attachment 878 [details] Konqeror's tree view Konqueror displays archives as folders in the tree view in the side pane on the right. There should be an option (and I am sure there was such option in KDE3) to disable this behaviour.