bugPSPP - Bugs: bug #46567, osx: Column width in variable view...

 
 

bug #46567: osx: Column width in variable view can not be changed via mouse

Submitter:  Friedrich Beckmann <beckmanf>
Submitted:  Sun 29 Nov 2015 04:18:59 PM UTC
   
 
Category:  GTK3 Severity:  5 - Average
Status:  Wont Fix Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 02 Dec 2015 10:43:20 AM UTC, comment #3: 

I checked the behavior in gnumeric 1.12.24 on osx. Gnumeric behaves in the traditional way (no one second wait after a push required to change column size, but also no scrolling by push and move). Gnumeric allows the "kinetic scrolling" according to the usual osx behavior (two finger move on the trackpad).

So I think we should follow that implementation. But I did not look into the code how they did it.

Friedrich

Friedrich Beckmann <beckmanf>
Group Member
Tue 01 Dec 2015 08:08:08 PM UTC, comment #2: 

Ähm. I guess this is supposed to be a feature and not a bug. It is related to the button capturing for "kinetic-scrolling".

https://developer.gnome.org/gtk3/stable/GtkScrolledWindow.html#gtk-scrolled-window-get-capture-button-press

This allows to scroll the content of the window by pushing the mouse button and moving the mouse. Only if the button is pushed and not moved for about one second, the underlying widgets will receive the button pressed event. For psppire this means you have to push the mouse button for about one second before you move the mouse in order to change the column width. For changing the width of the columns this is quite unusual compared to the existing user experience (for me).

The button press capture is only active when the window is in scroll mode. So once there are enough variables such that the case does not fit in the data window, the capture behavior (i.e. for us: one second wait to change column width) can be observed in the data window also.

The behavior could probably be changed via gtk3 api. I think it is supposed to be activated in touch environments only. So maybe my mac laptop with touchpad is considered "touch". However on osx the "kinetic scrolling" via the usual osx two finger gesture is not kinetic at all for the gtk3 application...

Friedrich Beckmann <beckmanf>
Group Member
Sun 29 Nov 2015 07:33:34 PM UTC, comment #1: 

It does not work in version

HEAD ist jetzt bei ab97e70... Merge "gtk3" branch into "master".

in osx. Seems to be related to the gtk3 version?

Friedrich Beckmann <beckmanf>
Group Member
Sun 29 Nov 2015 04:18:59 PM UTC, original submission:  

On the current development branch 69e4fa8dcb515 (Test 605 failed on osx) the width of the columns in the variable view window can not be changed via the mouse.

To test this:

- Open psppire
- Type a name in the variable name field to create a variable
- Try to change the column width with the mouse

=> The width does not change. The whole window content can be moved to left.

The environment is macports on osx 10.9.5 with gtk3 version 3.18.3
I cannot see the problem on debian stable with gtk3 version 3.14.5

Maybe related and visible on linux and osx is the strange behavior that clicking on the column headers highlights the header names. But this is not reversible. See the attached screenshot.

Friedrich Beckmann <beckmanf>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by beckmanf (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-12-01 beckmanf StatusNone Wont Fix
        Open/ClosedOpen Closed
    2015-11-29 beckmanf Summaryosx: Column width in variable view can not be change via mouse osx: Column width in variable view can not be changed via mouse
    2015-11-29 beckmanf Attached File- Added Bildschirmfoto 2015-11-29 um 17.17.03.JPG, #35592

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code