[Qgis-developer] Bugs in QGIS Master

Alex Mandel tech_dev at wildintellect.com
Thu Jul 25 12:07:34 PDT 2013


You are correct that dialogs too big to fit on such screens is a big
usability problem. I'm pretty sure I filed a bug a long time ago stating
that all dialogs need to be checked that they fit in 1024x768, more
preferably that they can be re-sized to 800x600 on their minimum end
even if they look bad. If we don't take care to do that we make QGIS
unusable on many computers.

My laptop and many others out there are 1366x768 (Close to 40% of
machines on the net would have this issue according to
http://netmarketshare.com/report.aspx?qprid=17 )

FYI, on Unity (Recent Ubuntu), if you hold alt and then click and drag
with the mouse you can move the window however you want)

Thanks,
Alex

On 07/25/2013 05:57 AM, Oscar van Vliet wrote:
> Dear Etienne,
> 
> Thanks for the suggestion. If I close the creation options in the DEM, I am
> still a bit short: I see the gdaldem ..... window, but the OK and Close
> buttons still end up below the bottom of my screen.
> 
> I am using Mac OS X 10.6.8 on a 13" Macbook with a resolution of 1280*800
> (which, I admit, is a bit small for this sort of thing).
> 
> As for the python error, I don't know if it is Mac-specific. Maybe someone
> else can confirm before I file a bug? I managed to run gdal_rasterize from
> the command line and it worked fine, so the problem is definitely between
> QGIS and my Mac.
> 
> Best wishes,
>  Oscar
> 
> 
> 2013/7/25 Etienne Tourigny <etourigny.dev at gmail.com>
> 
>>
>>
>> On Thu, Jul 25, 2013 at 3:28 AM, Oscar van Vliet <ovvldc at gmail.com> wrote:
>>
>>> Dear QGIS developers,
>>>
>>> Thanks for all the hard work, I have been using the almost 2.0 builds
>>> with some satisfaction. Unfortunately, all is not well. I am using
>>> yesterday's Master build, and there seems to be a few bugs still.
>>>
>>>
>>> First of all, the dialog window for Raster|Analysis|DEM is too tall for
>>> my Macbook, which only has 800 pixels vertically. You might consider
>>> rearranging it a little. I can still use it by starting the analysis by
>>> hitting Enter, but I cannot actually see the bottom row of buttons or the
>>> resize widget.
>>>
>>
>> Admittedly the vertical size of that dialog is a bit large.
>> If you close the "Creation Options" section, can you resize the window and
>> see the bottom buttons?
>>
>>
>>>
>>>
>>> Second, I have some errors in the Raster|Conversion|Rasterise dialog that
>>> make it unusable for me.
>>>
>>> I am trying to rasterise a vector layer that I saved as a selection from
>>> a layer that I had previously vectorised.
>>>
>>> I understand this dialog is just a front for GDAL tools, but the bridge
>>> seems to be broken: I get the following python error when I try to select a
>>> filename for the rasterised output layer:
>>>
>>>  Traceback (most recent call last):
>>>   File
>>> "/Applications/GIS/QGIS_2.0-dev_SnoLeo.app/Contents/MacOS/../Resources/python/plugins/GdalTools/tools/doRasterize.py",
>>> line 102, in fillOutputFileEdit
>>>     outputFile = fileDialogFunc(self, self.tr( "Select the raster file
>>> to save the results to" ), Utils.FileFilter.allRastersFilter(),
>>> lastUsedFilter)
>>>   File
>>> "/Applications/GIS/QGIS_2.0-dev_SnoLeo.app/Contents/MacOS/../Resources/python/plugins/GdalTools/tools/GdalTools_utils.py",
>>> line 413, in getSaveFileName
>>>     return self.getDialog(parent, caption, QFileDialog.AcceptSave,
>>> QFileDialog.AnyFile, filter, selectedFilter, useEncoding)
>>>   File
>>> "/Applications/GIS/QGIS_2.0-dev_SnoLeo.app/Contents/MacOS/../Resources/python/plugins/GdalTools/tools/GdalTools_utils.py",
>>> line 362, in getDialog
>>>     dialog.selectNameFilter(selectedFilter)
>>> TypeError: QFileDialog.selectNameFilter(QString): argument 1 has
>>> unexpected type 'QPyNullVariant'
>>>
>>> Python versie:
>>> 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
>>> [GCC 4.2.1 (Apple Inc. build 5646)]
>>>
>>>
>>> QGIS versie:
>>> 1.9.0-Master Master, 5c2e3f3
>>>
>>> Python pad:
>>> ['/Applications/GIS/QGIS_2.0-dev_SnoLeo.app/Contents/MacOS/../Resources/python',
>>> '/Users/XX/.qgis2/python', '/Users/XX/.qgis2/python/plugins',
>>> '/Applications/GIS/QGIS_2.0-dev_SnoLeo.app/Contents/MacOS/../Resources/python/plugins',
>>> '/Library/Frameworks/SQLite3.framework/Versions/B/Python/2.6',
>>> '/Library/Python/2.6/site-packages/numpy-override',
>>> '/Library/Frameworks/GDAL.framework/Versions/1.10/Python/2.6/site-packages',
>>> '/Library/Frameworks/cairo.framework/Versions/1/Python/2.6',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload',
>>> '/Library/Python/2.6/site-packages',
>>> '/Library/Python/2.6/site-packages/PIL',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode',
>>> '/Applications/GIS/QGIS_2.0-dev_SnoLeo.app/Contents/Resources/python/plugins/fTools/tools',
>>> '/Users/XX/YY/ZZ']
>>>
>>>
>>> Then if I try to run it with the existing size, I get another python
>>> error. If I choose the option with pixel size, the action just seems to
>>> hang without resolving or any error message.
>>>
>>
>> I cannot reproduce these 2 problems in linux, perhaps only a Mac bug?
>>
>> Consider filing a bug report here:
>> http://hub.qgis.org/projects/quantum-gis/issues
>>
>>
>>> I hope this makes sense. I have installed all of the required packages
>>> from kyngchaos, AFAIK. Feel free to contact me for additional data.
>>>
>>>
>>> Best wishes,
>>>
>>>  Oscar
>>>
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer




More information about the Qgis-developer mailing list