| Summary: | pmchart can't select current chart without invoking instance/value dialog | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mark Goodwin <mgoodwin> |
| Component: | pcp | Assignee: | Nathan Scott <nathans> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | brolley, fche, lberk, mbenitez, mgoodwin, nathans, pcp, scox |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-19 05:53:59 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: | |
|
Description
Mark Goodwin
2016-11-22 23:25:07 UTC
Interesting. My intent was to add the pop up window *in addition* to what was already being done when left clicking on a chart. I'm wondering if popping up the window as the last action taken has somehow undone the selection of the chart. The original RFE for the pop up did request use of the right mouse button, but I was unable to find support for that in the ChartPicker class. IIRC its a more generic event, Dave, supported by all widgets - (looking in ChartPicker & QwtPicker might not find it as a result)
http://doc.qt.io/qt-4.8/qmouseevent.html
The double-click event might be another option (QEvent::MouseButtonDblClick) - some platforms have single-button mice (Mac) - perhaps both double click and right click could be intercepted for this popup.
>
> double click and right click could be intercepted for this popup.
that would work. The other thing is the highlighting of the current chart seems to have been lost.
My use-case the other day was a series of charts plotting per-cpu/per-IRQ interrupt rates on a 20-CPU/2-node VMware guest system (with Legend off for obvious reasons!), and trying to figure out which interrupts were misbehaving on the guest after it was vMotion'ed from one hypervisor to another .. and to correlate this with other system level activity on both the guest and the two hypervisors. The instance/value popup was very useful here.
Another obvious use-case is charting per-process metrics - the legend and color schemes are basically useless because there are simply too many instances.
Resolved in the pcp-3.11.7 release (Dec 2016). |