Bug report #11337

Attribute Table does not show correctly on high resolution (2880x1620) monitors

Added by Jakob Lanstorp about 10 years ago. Updated over 9 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:GUI
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:19631

Description

The rows in the attribute table are truncated in height, when using a large screen resolution 2880x1620). It is not possibly to read the data, without first extending the height of a specific row by manually mouse interaction of each row, dragging the row to a large height.

![Attribute table dialog image](/image2.jpg?raw=true "Attribute table")

Image of attribute table with too litle height:
https://dl.dropboxusercontent.com/u/69660002/Image2.jpg

As a temporary workaround I use this Python code to raise the row height:

from PyQt4.QtGui import QApplication, QTableView

attrTables = [d for d in QApplication.instance().allWidgets() if d.objectName() u'QgsAttributeTableDialog' or d.objectName() u'AttributeTable' ]
i=0
for rowid in range(1632):
attrTables0.findChildren(QTableView)[0].setRowHeight( i, 40 )
i += 1

Image2.jpg (116 KB) Jakob Lanstorp, 2014-10-06 03:12 AM


Related issues

Related to QGIS Application - Feature request #11103: Support for retina displays (HiDPI) Closed 2014-08-26

History

#1 Updated by Jakob Lanstorp about 10 years ago

Using QGIS 2.4 from OSGEO4W on Windows 8.1

#2 Updated by Giovanni Manghi about 10 years ago

  • Category set to GUI
  • Status changed from Open to Feedback
  • Priority changed from Normal to Low

is qgis master affected?

#3 Updated by Jakob Lanstorp almost 10 years ago

Yes, qgis master has the same problem as QGIS 2.4.

#4 Updated by Giovanni Manghi almost 10 years ago

  • Priority changed from Low to Normal
  • Affected QGIS version changed from 2.4.0 to master
  • Status changed from Feedback to Open

see also #11791

#5 Updated by Giovanni Manghi almost 10 years ago

see also #11780

#6 Updated by Giovanni Manghi almost 10 years ago

see also #11103

#7 Updated by Andrea Danamaita over 9 years ago

Hi all, after a looong research over my problem I finally found my answer!!! This workaround works great, it solves the small icon problem and the too small height of rows in tables.
So this is my two cents of contribution, follow this link and read the instruction: http://www.danantonielli.com/adobe-app-scaling-on-high-dpi-displays-fix/

This is not the ideal solution but it should make it usable again. I hope in the future this problem will be corrected directly in QGIS.
My configuration is: laptop DELL Precision M3800 64bit; OS Win 8.1; monitor res 3200x1800; QGIS 2.6.1

Bye,
Andrea

#8 Updated by Alessandro Pasotti over 9 years ago

This is an attempt to fix this issue:
https://github.com/qgis/QGIS/pull/2014

#9 Updated by Alessandro Pasotti over 9 years ago

  • Status changed from Open to Closed

#10 Updated by Jürgen Fischer over 9 years ago

fixed in 15c1dbc

Also available in: Atom PDF