Paul Licameli
8eb64f5f71
Bug1676: correct repaint of rearranged tracks on Linux...
...
... This little one-line fix is the right thing to do. I do not understand
deeply enough how Linux repainting events are sequenced differently from
Windows or Mac, but I understand the code history enough to know where the
bug was introduced.
Problem was that full Refresh of TrackPanel used to be done earlier, in our
handlers of custom events emitted by TrackList; but now that handling is
delayed, for good reasons, so it is correct that the UIHandle object
should request the early full refresh explicitly, not relying on TrackList
event handling.
See explanations here http://bugzilla.audacityteam.org/show_bug.cgi?id=1676#c6
2017-08-07 13:57:19 -04:00
Paul Licameli
f0de38dec1
Scanned for bad naked new; found none; changed comments, used safenew
2017-07-23 09:35:01 -04:00
Paul Licameli
c982db5e20
Time track menu items for lin/log display are radios again
2017-07-22 10:47:45 -04:00
James Crook
9fa63763f4
Avoid attempting to translate empty string.
2017-07-22 11:49:32 +01:00
Paul Licameli
a9d8da62af
Adjust existing sel bound: erase any snap from start position on move
2017-07-21 10:54:43 -04:00
Paul Licameli
3e1890f20d
Bug1627 again: Fix it so that we don't disable all scrub, though!
2017-07-21 02:12:05 -04:00
Paul Licameli
57e040070c
Bug1627: Fix infinite recursion of error dialogs, failing start scrub
2017-07-21 01:39:13 -04:00
Paul Licameli
59dab5222b
Bug1697: Fix selecting with Snap To in effect
2017-07-20 22:21:29 -04:00
Paul Licameli
bb4a1b862a
Bug1688, more: fix Midi stretch when selection goes to end
2017-07-20 10:21:12 -04:00
Paul Licameli
207db5e547
Improved Note Track vertical ruler zooming...
...
... Make consistent zoom in and out limits for mouse picks and for scrollwheel
Make scrollwheel do in or out by a constant multiplier, analogously with wave
track
The Note track remembers a continuously varying key height, but rounds it off
whenever it draws
2017-07-19 14:28:17 -04:00
Paul Licameli
ea9f86e541
remove unused variable
2017-07-18 16:10:46 -04:00
Paul Licameli
7f289a9ed9
Revert "Remove unused variable"
...
This reverts commit 0ca907a1a7 .
2017-07-18 16:06:25 -04:00
Paul Licameli
0ca907a1a7
Remove unused variable
2017-07-18 16:03:18 -04:00
Paul Licameli
48889d36f0
Precaution in case a certain assertion fails (I haven't observed it)
2017-07-18 14:10:29 -04:00
Paul Licameli
4925d0a54b
Fix cursor changes for selection
2017-07-18 11:10:45 -04:00
Paul Licameli
a9a6f01214
Stop showing the tooltip for track rearrange after button down
2017-07-17 17:34:18 -04:00
Paul Licameli
64ce79fef8
Change Menu button tooltip, and it includes the shortcut
2017-07-17 12:10:40 -04:00
Paul Licameli
17c964e392
Distinct status bar message for Time track envelope edit
2017-07-17 11:59:25 -04:00
Paul Licameli
ed4300fed1
Move status bar message texts out of class ToolsToolBar
2017-07-17 11:39:32 -04:00
Paul Licameli
1b8f3daaec
Again disable tooltips for vertical rulers.
2017-07-17 11:11:41 -04:00
Paul Licameli
e86fd3c990
Bug1688: MIDI stretch when select time extends beyond track end...
...
... The cursor may be the center or the right depending where you pick; both
those cases needed fixing.
2017-07-17 10:05:22 -04:00
Paul Licameli
1faa234b9e
Fix bug 1662 (crashing TCP menu commands on Windows) differently...
...
Previous fix was at commit f9865f39ef
But then that had this strange effect on Mac: when a menu command such as
rename brought up a modal dialog, then the first click in the dialog would pass
through to the tracks behind it, changing the selection, and only a repeated
click on the OK button would dismiss the dialog.
I don't know exactly why that happened. This avoids it.
2017-07-17 02:58:37 -04:00
Paul Licameli
f3574c6238
build fix
2017-07-17 02:59:11 -04:00
Paul Licameli
bb970364c8
Tooltips for Wave & Note track vertical rulers
2017-07-17 02:26:41 -04:00
Paul Licameli
77d5a4cfa8
Tooltip for click and drag on TCP
2017-07-17 02:26:41 -04:00
Paul Licameli
42921b7e55
Tooltips for TCP buttons
2017-07-17 02:26:38 -04:00
Paul Licameli
fa96dcffb9
Cursor was meant to change to hand only after click on TCP
2017-07-16 22:56:12 -04:00
Paul Licameli
7a038c9e51
Remove tab key target cycling and snap escape; reimplement for Esc
2017-07-15 20:37:39 -04:00
Paul Licameli
d3572ebe10
Same tolerance for hitting clip boundaries as for selection snap
2017-07-15 14:12:32 -04:00
Paul Licameli
89c8e8ac39
null checks
2017-07-15 14:05:03 -04:00
Paul Licameli
e81df8314f
more use of final
2017-07-15 12:05:47 -04:00
Paul Licameli
c5fc8eef03
Revert "Split lines now only show over middle third of track height."
...
This was the fix for Bug 800 now considered unsatisfactory.
This reverts commit dc1193a0af .
(Some merge resolution was needed)
2017-07-14 23:09:41 -04:00
Paul Licameli
7b93a3afe2
Whoops, we lost the non-multi draw tool! Fix that.
2017-07-14 23:05:44 -04:00
Paul Licameli
812f3649de
Bug 1685: garbage status bar messages and tooltips, scrub in Windows
2017-07-14 23:02:32 -04:00
Paul Licameli
aaed921fd3
Track panel tooltips, including TAB key hint...
...
... and distinguish snapping or not in Select tool.
2017-07-13 22:46:28 -04:00
Paul Licameli
0ba91ea9a5
Don't make the finger cursor when hovering over the split line...
...
... which was implemented at commit aa8be0c413
Preview snap lines should make that unnecessary.
2017-07-13 12:29:54 -04:00
Paul Licameli
2150bde578
Implement selection snap lines before click, and TAB to cancel them
2017-07-13 12:29:51 -04:00
Paul Licameli
b7ae012ece
A single UIHandle can define multiple rotation states
2017-07-13 12:11:25 -04:00
Paul Licameli
33c6a77f8c
SelectHandle gets snap information in hit test
2017-07-13 12:11:13 -04:00
Paul Licameli
49b04208b3
ChooseBoundary takes separate x and y arguments
2017-07-13 12:11:13 -04:00
Paul Licameli
7903e20143
Rewrite SelectHandle snapping; selection really matches snapped start
2017-07-13 12:11:13 -04:00
Paul Licameli
67282cbb61
SnapManager::Snap returns its results in a struct
2017-07-13 12:11:13 -04:00
Paul Licameli
f24a704a5b
Fix TAB key cycle with cutline in Select tool
2017-07-13 10:52:37 -04:00
Paul Licameli
14d0d8a051
fix build
2017-07-12 14:21:07 -04:00
Paul Licameli
050824f467
Remove some unnecessary #includes
2017-07-12 14:15:16 -04:00
Paul Licameli
d7738c403f
Handles mark need for highlight in new Enter() method not ctor...
...
... So this can be called more than once in its lifetime, in response to
TAB key rotation.
2017-07-12 13:03:14 -04:00
Paul Licameli
308d89b0e6
Reuse SelectHandle object during movement, as with other handle types
2017-07-12 13:03:09 -04:00
Paul Licameli
d148c39c2d
More use of override
2017-07-12 11:38:44 -04:00
Paul Licameli
fa010f643b
Fix #include paths, and unnecessary redrawing
2017-07-11 14:17:06 -04:00
Paul Licameli
b11c3c8ccf
Highlighting of Wave and Note track vertical rulers
2017-07-11 13:57:59 -04:00