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 - pmchart shows /root folder by default when we open a view
Summary: pmchart shows /root folder by default when we open a view
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pcp
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: 8.5
Assignee: Nathan Scott
QA Contact: Jan Kurik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-14 07:15 UTC by nikhil kshirsagar
Modified: 2021-11-09 21:04 UTC (History)
7 users (show)

Fixed In Version: pcp-5.3.0-4.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 17:49:39 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
screenshot (40.01 KB, image/png)
2018-08-14 07:15 UTC, nikhil kshirsagar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:4171 0 None None None 2021-11-09 17:49:56 UTC

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


Note You need to log in before you can comment on or make changes to this bug.