Status: New
Owner: ----
Labels: Version-3.6.0 Type-Bug Priority-Medium OpSys-Linux Dist-Other  
Arch-X86 Desktop-KDE GUI-QT4

New issue 583 by [email protected]: GridView.Select does not behave as  
documented
https://code.google.com/p/gambas/issues/detail?id=583

1) Describe the problem.

The documentation for GridView.Select  
(http://gambaswiki.org/wiki/comp/gb.qt4/gridview/select) states, "If  
[Length] is not specifed, then one row is selected. If it is negative, then  
all rows from Start up to the last row of the GridView are selected."

However, when Length is not specified, Select behaves as though a negative  
Length was specified.


2) Give information about your system. Use the 'System information' menu in
the Gambas IDE, and paste the result there.

[System]
Gambas=3.6.0
OperatingSystem=Linux
Kernel=3.10.58-desktop-1.mga3
Architecture=x86
Distribution=Mageia 3
Desktop=KDE4
Theme=Oxygen
Language=en_US.UTF-8
Memory=1005M
[Libraries]
Cairo=libcairo.so.2.11200.12
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.2
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.5.0
GTK+3=libgtk-3.so.0.600.4
GTK+=libgtk-x11-2.0.so.0.2400.17
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.34.0.0
Qt4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4

Note: Theme is incorrectly reported as Oxygen. Truly, it is QtCurve-Luna.


3) Indicate the Gambas version in the issue labels, and if it is a bug, a
crash, or an enhancement request.

Done.


4) Provide a little project that reproduces the bug or the crash.

Attached.


5) If your project needs a database, try to provide it, or part of it.

N/A


6) Explain clearly how to reproduce the bug or the crash.

Load the attached project; click the two buttons to see the different  
behaviour between a Select with no Length specified and a Select with a  
Length of 1.


Attachments:
        GridviewSelectTest-0.0.1.tar.gz  4.3 KB

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to