Bug 300265 - Device Viewer: keyboard navigation should update the device info on the right
Summary: Device Viewer: keyboard navigation should update the device info on the right
Status: RESOLVED INTENTIONAL
Alias: None
Product: kinfocenter
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: David Hubner
URL:
Keywords: usability
: 391143 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-18 17:42 UTC by quamis
Modified: 2022-09-27 20:38 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description quamis 2012-05-18 17:42:35 UTC
Navigating with the keyboard doesn;t update the info on the right panel.
Clicking the section with the mouse works as expected.

Reproducible: Always

Steps to Reproduce:
1. go to Device Information->device viewer
2. expand hard disk drive(s)
3. use the keyboard to navigate available partitions (another issue, these are listed as "hard disk drive", not "partitions", they should be explicitely be marked as partitions)
Actual Results:  
the info in the right panel stays the same

Expected Results:  
i'd expect the same thing to happen as the mouse navigation
Comment 1 Gregor Mi 2015-04-10 15:30:26 UTC
Still reproducible with in latest master branch.
Comment 2 Yuze Jiang 2018-02-27 05:07:55 UTC
*** Bug 391143 has been marked as a duplicate of this bug. ***
Comment 3 Harald Sitter 2020-01-17 14:02:08 UTC
Can you still reproduce this?

For me this works just fine, albeit you need to hit the enter key to actually select an entry and update the right hand pane. Which is consistent with how the other treeviews in kinfocenter work though. In fact, all standard tree views work that way I'm sure.
Comment 4 Patrick Silva 2020-01-17 17:42:30 UTC
I'm not the reporter, but this bug persists.
Furthermore, we need to do double click on the partitions to update the right panel,
what makes inconsistent with other sections that require single click like the ones under "USB devices".

Operating System: Arch Linux 
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0
Comment 5 Harald Sitter 2020-01-17 17:55:52 UTC
Well, I can't reproduce. So please provide a step by step guide including all the keys you hit.

As for the pane update on enter:
USB Devices is different it does start out completely expanded as it only shows USB data that is fully available right away. If you do that with general device data you may be waking up a device (e.g. a disk) because that data is not necessarily loaded right away. In the interest of power saving I would not change that TBH.
Comment 6 Gregor Mi 2020-01-17 23:11:54 UTC
(In reply to Harald Sitter from comment #5)
> As for the pane update on enter:
> USB Devices is different it does start out completely expanded

Being expanded or not seems to be an aspect which can be treated separately of having to press the Enter key or not to update the panel on the right side. Browsing through the device information by just using cursor keys feels more easy to me. This would make this ticket a "wishlist" item, though.
Comment 7 Harald Sitter 2020-01-22 12:24:54 UTC
Yeah, I don't dispute that it'd be more convenient. But we simply don't know the cost of a query through solid, in fact solid doesn't because of its backend nature. So, I maintain that not querying devices as you browse past is a matter of energy efficiency. Default standby times are ludicrously long, so if you happen to wake up sleeping hdd it'll take 20 or so minutes until it goes back to sleep again.
It's more or less the same reason the left hand treeview for the modules doesn't update the module view right away. Loading a module could be very cheap or not, we do not know, so the conservative choice is not loading the module until the user confirms their choice.
Comment 8 Nate Graham 2022-09-27 20:38:58 UTC
Sounds like this is intentional, then.