octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #56347] Implement figure "pointer" property


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #56347] Implement figure "pointer" property
Date: Tue, 21 May 2019 18:34:17 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Follow-up Comment #10, bug #56347 (project octave):

@Rik: AFAICT both Matlab and Qt have platform dependent behaviors, what I see
on linux is very different from their respective documentation:
* Matlab [1]: I guess the images on their doc are taken from the theme they
use on Windows, but what they actually use on linux (tested at work using
ML2016a on Scientific Linux 6) is the same DMZ theme  that we now have,
including a distinction between topl and botr, botl and topr, ... and
including "fleur" corresponding to a grabbing hand.
* Qt [2]: Same here the images in the doc (Windows-like, Matlab's doc-like
icons) are not what I see in linux when using their standard set of QCursors:
I see DMZ icons (provided by the OS) but with some bugs, what should be a
forward diagonal double arrow is represented as a top right (or bottom left I
don't remember) single arrow, same kind of bug for the backward diagonal
double arrow cursor. 

As a summary, we cannot directly use Qt's standard set of cursors at least on
linux (due to the above mentioned bug) but this may not be true on Windows and
Mac. I can prepare a patch for testing. 

In any event since on linux we have distinct icons for dragging a top-right or
bottom-left corner and since even Matlab distinguishes topr and botl on this
platform, I'd keep using DMZ as is.

@Philip: Yes "crosshair" used to be an accepted value for "pointer" but had
never been implemented. Since it was removed from Matlab 5 years ago (and
since it was a pain), I didn't bother to implement it in the patch. Rik simply
made "crosshair" become a forbidden value instead of an unimplemented one.  

[1]
https://www.mathworks.com/help/matlab/ref/matlab.ui.figure-properties.html#buiwuyk-1-Pointer
[2] https://doc.qt.io/qt-5/qt.html#CursorShape-enum

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56347>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]