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

 
 

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

Submitted by:  Friedrich Beckmann <beckmanf>
Submitted on:  Sun 29 Nov 2015 04:18:59 PM UTC  
 
Category: GTK3Severity: 5 - Average
Status: Wont FixAssigned to: None
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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>
Project 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>
Project 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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 01 Dec 2015 08:08:08 PM UTCbeckmanfStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed
    Sun 29 Nov 2015 04:19:20 PM UTCbeckmanfSummaryosx: Column width in variable view can not be change via mouse=>osx: Column width in variable view can not be changed via mouse
    Sun 29 Nov 2015 04:18:59 PM UTCbeckmanfAttached File-=>Added Bildschirmfoto 2015-11-29 um 17.17.03.JPG, #35592

    Back to the top


    Powered by Savane 3.1-cleanup1