rich2014
0c1f7c3b17
Cocoa: Fix "Access Violation" in TCocoaWSCustomListView.SetImageList(), by Michalis Kamburelis
2024-06-03 08:55:12 +08:00
rich2014
46b4ce12e9
LCL: fix the issue #19685 that painting TGraphicsControl on Designer Overlay DC
...
1. the issue only occurs at design time
2. the issue is that Control should not be painted on Designer Overlay Layer
2024-06-03 08:55:12 +08:00
rich2014
3f43638383
Cocoa: make MenuItem State Images configurable
2024-06-03 08:55:12 +08:00
rich2014
1ee73b9b31
Cocoa: adapt Radio MenuItem to Dark Theme
2024-06-03 08:55:12 +08:00
rich2014
07bf33ea2b
Cocoa: LM_CONTEXTMENU is sent when the right mouse button is released instead of being pressed
...
1. consistent with Win32
2. avoids the problem that is easy to occur in APP, because the context menu pops up after the APP receives LM_CONTEXTMENU, which will lose the LM_MOUSEUP event. For example, in IDE Form Designer, if you right-click to pop up the context menu, after closing the context menu, the Designer is still in the MouseDown state by mistake
2024-06-03 08:55:12 +08:00
rich2014
6272c6d82b
Cocoa: TSplitter fixed, issue #40974
2024-05-29 20:04:35 +08:00
Maxim Ganetsky
57e2fc3852
LCL: Do not throw error inside SetActiveControl if we are embedded designer. issue #40833
...
(cherry picked from commit 34eace3587
)
Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-05-25 20:06:58 +00:00
rich2014
246652ca2a
Cocoa: Fixed Key Modifiers handling in TCocoaApplication.nextEventMatchingMask_untilDate_inMode_dequeue()
2024-05-25 11:01:29 +08:00
rich2014
abac1d0235
Cocoa: Fixed MouseDragged Event handling in TLCLCommonCallback.MouseMove()
2024-05-25 11:01:29 +08:00
rich2014
d3efbb470f
Cocoa: Fix the position issue in TCocoaManualScrollHost.setFrame()
...
for example: TTreeView
2024-05-25 11:01:28 +08:00
rich2014
a5a234879e
Cocoa: Fix an issue where the position was reset when changing the size of a scrollable control
...
for example, Source Editor in Lazarus IDE.
2024-05-25 11:01:28 +08:00
rich2014
5a9c80ba17
Cocoa: fix #40622 in TCocoaCustomControl that if the frame is changed during the Paint event
2024-05-25 11:01:28 +08:00
rich2014
6c494be0ea
Cocoa: add support for scrollWheel on ScrollBar, Merge branch 'cocoa/scrollbar'
...
for example, the scrollWheel on the ScrollBar of SynEdit works properly noew
2024-05-25 11:01:28 +08:00
rich2014
44a6236999
Cocoa: reset the cursor to the default when the mouse is on the ScrollBar
...
for example, previously, in the Lazarus IDE editor, the IBeam cursor might be retained when the mouse moved over the scroll bar.
2024-05-25 11:01:28 +08:00
rich2014
3670e936f8
Cocoa: Fix #40939 arithmetic overflow in TabControl
2024-05-25 11:01:28 +08:00
rich2014
cf53186c8e
Cocoa: Fix #40937 the linefeed issue in TCocoaMemoStrings (patch by David Jenkins)
2024-05-25 11:01:28 +08:00
mattias
c78aa26ce4
set fixes version to 3.5
2024-05-24 22:41:38 +02:00
mattias
34295aa424
set fixes version to 3.4
2024-05-24 22:33:14 +02:00
Bart
a3dd55f404
TCustomTabControl: only call MaybeSelectFirstControlOnPage if APage is not nil. Remove duplicate checks.
...
(cherry picked from commit db41ce26cf
)
2024-05-20 15:39:18 +03:00
Bart
81a04b7e01
TCustomTabControl: fix not firing OnChange after commit e5a63799
.
...
(cherry picked from commit 36c308d1f6
)
2024-05-20 15:39:17 +03:00
Bart
5bc173beba
TCustomTabControl: rename a method. No functional changes.
...
(cherry picked from commit 148735d8fb
)
2024-05-20 15:39:17 +03:00
Bart
caef884d89
TCustomTabControl: don't check for parent in call to FindNextControl in ActivateFirstControlOnPage. Part of issue #40775 .
...
(cherry picked from commit 5e54b2f921
)
2024-05-20 15:39:17 +03:00
Bart
31e54e32fa
TCustomTabControl: don't steal foucus in ActivateFirstControlOnPage. Part of issue #40775 .
...
(cherry picked from commit f3aa0586d9
)
2024-05-20 15:39:17 +03:00
Bart
08788350f6
TCustomTabControl: activate first control on page after page changed. Issue #40775 .
...
(cherry picked from commit e5a637999d
)
2024-05-20 15:39:17 +03:00
Bart
d81e62425d
TFilenameEdit: don't force the TOpenDialog.InitialDir to current directory if InitialDir is empty string. Issue #40845 .
...
(cherry picked from commit 7446930ef3
)
2024-05-20 00:54:38 +03:00
Bart
3769dc41c4
Win32: make ListView columns not-clickable if ColumnClick is False. Issue #40787 .
...
(cherry picked from commit 57bb5a13e1
)
2024-05-20 00:51:30 +03:00
Bart
ab817f24ee
Win32: fix TListView losing focus after EndUpdate. Issue #40786 .
...
(cherry picked from commit 88827aa909
)
2024-05-20 00:51:30 +03:00
Bart
7de8a80ca0
Cocoa: adapt issues.xml after commit e8132d72
(issue ##19169).
...
(cherry picked from commit a4ab5f4aa2
)
2024-05-19 22:37:12 +03:00
rich2014
7e1756c3ee
Cocoa: Fix #19169 , TCustomListView.OnChanging()
...
(cherry picked from commit e8132d722a
)
2024-05-19 22:37:12 +03:00
Bart
4e7fdfe3a3
Issues.xml: TListView.OnChanging not supported (cocoa,gtk2,gtk3,qt,qt4,qt5,qt6. the other WS don't have an issue.xml, or are deprecated).
...
(cherry picked from commit 55a3ce52e0
)
2024-05-19 22:37:12 +03:00
Bart
0d09d073c9
Merge branch 'lvonchanging'
...
(cherry picked from commit 76bbc6e2e5
)
2024-05-19 22:37:11 +03:00
wp_xyz
a18e2e9fda
LCL/Grids: Fix TCustomGrid.ShowCellHintWindow to use screen coordinates for the hint window. Issue #40867 , patch by Iluha Companets.
...
(cherry picked from commit e9425e930f
)
2024-05-19 16:20:14 +03:00
wp_xyz
49a4819d96
LCL/TComboboxEx: Draw scaled icons. Issue #40905 , patch by foxpas.
...
(cherry picked from commit 755dea7b4d
)
2024-05-19 16:20:13 +03:00
Bart
ab1bf5dbc1
TLabeldEdit: publish property NumbersOnly.
...
(cherry picked from commit 76182b6c00
)
2024-05-19 16:20:13 +03:00
Maxim Ganetsky
75b70bbbc0
LCL-Gtk2: more fine-grained Fly/Openbox workaround. Patch by Garry Wood, issue #40583 .
...
Fixes crashes on Ubuntu 23 after
d538fbd4f7
.
(cherry picked from commit 262066a6ae
)
2024-05-19 16:20:12 +03:00
Željan Rikalo
9e4dc74ca5
Qt5,Qt6: fixed readOnly status for TQtTextEdit on FreeBSD. issue #40930
...
(cherry picked from commit 0a7ff2fb3d
)
Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-05-05 14:27:17 +00:00
Željan Rikalo
d126b7b202
Qt6: Fixed setting TQtTextEdit readOnly param under mac.Part of issue #40246
...
(cherry picked from commit 90c13af409
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2024-05-05 14:26:24 +00:00
Maxim Ganetsky
b6a59c00e9
Qt: Fixed menus backed by multi-resolution image lists always using the 96ppi image rather than the resolution-specific one.
...
The existing code attempts to use/overwrite the preexisting AMenuItem.Bitmap property, but the ImageList.ResolutionForPPI.GetBitmap call triggers TMenuItem.BitmapChange, which frees the updated image. The subsequent setImage(AMenuItem.Bitmap.Handle) call then goes through its standard behavior again, which is to always retrieve the 96ppi variant.
(cherry picked from commit 532ecb2653
)
Co-authored-by: Zoë Peterson <zoe@scootersoftware.com>
2024-04-30 18:43:30 +00:00
Željan Rikalo
7a0060b726
Qt5, Qt6: Initialize MaxCount in GetTextExtentInfo().Patch by Alexander Koblov. issue #40934
...
(cherry picked from commit 720fc1261d
)
Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-04-30 13:16:07 +00:00
Željan Rikalo
6a3d138171
Qt6: removed deprecated QString::IsSimpleText() from cbindings. issue #40901
...
(cherry picked from commit b71e3074a3
)
2024-04-14 14:15:53 +00:00
Željan Rikalo
29dad3d307
Gtk2: fixed compilation on non x11 targets. Patch by Giuliano Colla, issue #40870
...
(cherry picked from commit 00fb3bf31b
)
2024-03-29 11:20:17 +00:00
rich2014
41bcd7b0a5
Cocoa: fix Font Orientation issue #40855 (by Johann)
2024-03-29 15:33:13 +08:00
wp_xyz
381cf5293e
LCL: Fix ChildSizing ignoring adjusted client rectangle. Issue #40838 , patch by Henner Drewes.
...
(cherry picked from commit 3aaae1a6a8
)
2024-03-20 18:40:53 +03:00
Juha
f289407d16
LCL-GTK2: Prevent a SIGSEGV in function DeliverMouseUpMessage(). Issue #40793 , patch by Iluha Companets.
...
(cherry picked from commit dcaf7e6bbe
)
2024-03-20 18:24:10 +03:00
Maxim Ganetsky
43686ffed6
LCL-Gtk2: make FillRect (winapi emulation) work even when current DC's brush is null, issue #40823 , patch by Artem Izmaylov
...
(cherry picked from commit b70f3fdbe6
)
2024-03-20 18:24:10 +03:00
rich2014
413f1659e6
Cocoa: fix #40853 , Merge branch 'cocoa/scroll'
2024-03-17 22:44:54 +08:00
wp_xyz
e0c857ad0c
LCL/TTrackbar: Avoid flickering in Windows 7 and older. Issue #40836 .
...
(cherry picked from commit 0b7f1f3c0c
)
2024-03-11 20:07:54 +03:00
Željan Rikalo
77cb1db567
Qt,Qt5,Qt6: fixed wierd focus behaviour. issue #10155
...
(cherry picked from commit 559078741e
)
2024-03-08 19:42:46 +00:00
Željan Rikalo
342a3886e4
Gtk2: fixed SetWindowOrg() to work similar as in Delphi. Patch by Artem Izmaylov. Issue #40817
...
(cherry picked from commit 0c0b40c6e5
)
2024-03-06 16:09:18 +00:00
Željan Rikalo
2d3e4890c3
Qt,Qt5,Qt6: Fixed LpToDp() result. issue #40817
...
(cherry picked from commit 42ad212654
)
2024-03-05 15:00:06 +00:00