Bug 44481 - Make values in grid selectable
Make values in grid selectable
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.2
All Linux
: P5 enhancement (vote)
: UCS 4.2-1-errata
Assigned To: Johannes Keiser
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-27 12:25 CEST by Erik Damrose
Modified: 2017-07-26 14:39 CEST (History)
4 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Ticket number:
Bug group (optional): Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Damrose univentionstaff 2017-04-27 12:25:31 CEST
This is not possible with the 4.2 grid anymore

+++ This bug was initially created as a clone of Bug #33546 +++
UCS technical training

To configure DHCP for a Windows VM, it was necessary to get the MAC address of the interface of the Windows VM. While the VM is running, only the line in the interface grid of UVMM-UMC can be selected, but not the text showing the address individually. We had to restore to writing the MAC address to a piece of paper and typing it in again in the DHCP host entry.

When the VM is not running, at least the detail page for the interface can be opened, which has an edit-text-field, from where the text can be copied.

It would be nice if that would work in the grid-view as well.

(Even better would be a mechanism to create a VM description and the corresponding computer entry in sync (configurable, as in our laiva environment that isn't wanted))
Comment 1 Florian Best univentionstaff 2017-07-20 14:04:44 CEST
We should make all values select(&copy)able in all grids. This is easy by just adding the CSS property "user-select: text" to all grid cells (e.g. .umc .umcGrid .dgrid-cell).
This is possible since the new dgird.

It doesn't have side effects on select-item-on-click, right-click-context-menu and the default-action.
Comment 2 Johannes Keiser univentionstaff 2017-07-20 14:41:03 CEST
r 81283
univention-web (1.0.42-22) 
* Bug #44481: text content of grid cells is now selectable

YAML: r 81284

I also made text in dojoxGridCells (like in the MultiSelect widget)
selectable.
Comment 3 Johannes Keiser univentionstaff 2017-07-20 15:04:39 CEST
r 81292
univention-virtual-machine-manager-daemon (6.0.4-5) 
* Bug #44481: remove onclick-selection of the mac address. The possibility
to select grid content generally is added in univention-web package

YAML: r 81293
Comment 4 Florian Best univentionstaff 2017-07-21 11:05:26 CEST
The buttons in grids (e.g. UVMM) look broken now.
Comment 5 Johannes Keiser univentionstaff 2017-07-21 12:05:17 CEST
r 81303
univention-web (1.0.42-23) 
* Bug #44481: remove padding from grid cells
Comment 6 Florian Best univentionstaff 2017-07-21 15:42:19 CEST
OK: entries can be selected
OK: MultiObjectSelect (old grid)
OK: default action
OK: context menu
OK: item selection (doesn't work in MultiObjectSelect grids)
OK: YAML (adjusted in r81310)