Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1615742

Summary: pmchart shows /root folder by default when we open a view
Product: Red Hat Enterprise Linux 8 Reporter: nikhil kshirsagar <nkshirsa>
Component: pcpAssignee: Nathan Scott <nathans>
Status: CLOSED ERRATA QA Contact: Jan Kurik <jkurik>
Severity: low Docs Contact:
Priority: unspecified    
Version: 8.0CC: agerstmayr, jkurik, mgoodwin, mnewsome, nathans, patrickm, pcp-maint
Target Milestone: rcKeywords: Bugfix, Triaged
Target Release: 8.5Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcp-5.3.0-4.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 17:49:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot none

Description nikhil kshirsagar 2018-08-14 07:15:49 UTC
Created attachment 1475763 [details]
screenshot

Description of problem:
when we open a view in pmchart, the default folder is /root. It should be previous folder used for earlier archives loaded in the chart

Version-Release number of selected component (if applicable):
pcp-3.12.2-5.el7.x86_64



Steps to Reproduce:
1. start pmchart, click new tab
2. create a chart using any archive in /var/log/pcp/pmlogger/...
3. click open view and click on "archive" button and see the folder shown is /root not earlier one used which has all the archives


Expected results:
for convenient, older archives folder should be loaded by default, i shouldn't have to navigate again to /var/log/pcp/pmlogger/...

Comment 8 Nathan Scott 2021-05-14 01:54:43 UTC
This is fixed upstream now with the following commit:

commit f15e34b06bd25dce5fafa68eeee04f2b5a27e9a0
Author: Nathan Scott <nathans>
Date:   Fri May 14 11:10:56 2021 +1000

    pmchart: save changes to users prefered archive location
    
    Use the users QSettings configuration file to hold any new
    preference given for archive locations, and restore this at
    pmchart startup time.
    
    Similarly save and restore locations for exported images.
    
    While in here, some janitorial work has been done in terms
    of dropping paths to configuration files not used in many,
    many years now.
    
    Resolves Red Hat BZ #1615742

Comment 11 errata-xmlrpc 2021-11-09 17:49:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (pcp bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4171