rich2014
42f7e27f41
Cocoq: release a global variables issue #41170
2024-10-04 23:08:09 +08:00
Željan Rikalo
c56446c89c
Qt5, Qt6: simplified code, use GetTextExtentExPoint from lclintf implementation.
...
(cherry picked from commit f528ace9dc
)
Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-10-02 13:31:30 +00:00
mattias
62bcb0a627
set fixes version to 3.7
2024-09-28 10:15:36 +02:00
mattias
597cb17457
set fixes version to 3.6
2024-09-28 10:09:00 +02:00
rich2014
9ace9bb511
Cocoa/Theme: improve on f84e081
2024-09-25 20:03:00 +08:00
rich2014
f84e08173d
Cocoa/Theme: fix themed button/checkbox issue #41150
2024-09-23 22:48:21 +08:00
wp_xyz
9be03897ee
LCL/Forms: Overload function TCustomForm.GetFormImage with procedure requiring the bitmap as argument. Issue #41140 .
...
(cherry picked from commit 55ac08a505
)
2024-09-18 15:58:45 +03:00
rich2014
2b4c5041c4
cocoa: fix some legacy transparent icon format issues #41131
...
there are two transparent formats:
1. the one with alpha channel like modern graphic formats (supported previously)
2. the other historical legacy with extra 1bit/pixel MaskBitmap (fixed this time), scaled mask supported also.
2024-09-17 21:05:39 +08:00
rich2014
b12de1fee6
Cocoa: fix transparent image drawing , issue #41131
2024-09-15 12:12:49 +08:00
rich2014
3bdd810b85
Cocoa: fix the length of BUTTON_CAPTION_ARRAY in CocoaConst
2024-09-15 12:02:40 +08:00
rich2014
ec321189ad
Cocoa: fix the crash when set TComboBox.DropDown with csDropDownList
2024-09-15 12:00:37 +08:00
rich2014
55c4e2ffe8
Cocoa: unify window titles
2024-09-15 11:59:50 +08:00
rich2014
60f26594ad
Cocoa: fix i18n in TCocoaWidgetSet.PromptUser(), issue #41053
2024-09-15 11:58:58 +08:00
rich2014
12009ca3c7
Cocoa: fix LCLViewExtension.lclLocalToScreen() when the Control is in ScrollView #39706
2024-09-15 11:49:06 +08:00
rich2014
0eb826dee1
Cocoa: fix the issue that both LCL and COCOA handle Dragged Event
...
try Drag lite item in TListBox
2024-09-15 11:47:44 +08:00
Željan Rikalo
7ec936059f
Qt5,Qt6: allow paste text if mime type contains charset attribute
...
(cherry picked from commit 9f0c74432d
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2024-09-11 13:57:20 +00:00
Željan Rikalo
2f84b5c689
Qt5,Qt6: fixed invalid behaviour of columns. issue #41125
...
(cherry picked from commit de24da1877
)
Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-09-07 19:34:33 +00:00
Željan Rikalo
c8c5d06ff9
Qt5,Qt6: Fixed ugly item sizes in TListView with ViewStyle vsIcon,vsSmallIcon. issue #23187
...
(cherry picked from commit f9e932cb46
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2024-09-07 19:32:59 +00:00
Juha
830ac027c9
LCL: Prevent crash in RadioGroup when hidden radiobutton is selected by arrow keys. Issue #41093 .
...
(cherry picked from commit 48cf66858d
)
2024-08-28 18:26:21 +03:00
wp_xyz
3ae3be09ad
LCL/RadioGroup: Fix radiogroup with buttons hidden in TForm.OnCreate handler. Issue #41091 .
...
(cherry picked from commit 9ec4b13788
)
2024-08-28 18:26:20 +03:00
Juha
18f1d06255
LCL-GTK2: Fix a crash due to postponed actions after a widget loses focus. Issue #28840 .
...
(cherry picked from commit 9dccbc008f
)
2024-08-05 17:22:58 +03:00
Juha
579c3ed607
LCL: Update Caption of a TPageControl when something is docked there. Issue #40741 , patch by Anton Kavalenka.
...
(cherry picked from commit d944f9f554
)
2024-08-05 17:22:58 +03:00
Željan Rikalo
1840363662
Gtk2: fixed weird window resizing under xfce. issue #41012
...
(cherry picked from commit 8d0afe3d1f
)
Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-07-21 19:22:47 +00:00
rich2014
c11434dd55
Cocoa: fix the issue of Notification on macOS 13+, issue #41016 , Merge branch 'cocoa/notify'
2024-07-09 22:50:53 +08:00
rich2014
6b03d7c4dd
Cocoa: fix the issues of TrayIcon, Merge branch 'cocoa/trayicon'
2024-07-09 22:50:53 +08:00
rich2014
501f6f9ab6
Cocoa: Fix and Improve TManualScrollView related base on 2ee50f0
, Merge branch 'cocoa/scroll'
2024-07-05 21:32:26 +08:00
rich2014
e95dec3baa
Cocoa: improve Overlay Style Scroller to support Trackpad Tapping and keep it consistent with the native Scroller. Merge branch 'cocoa/scroll'
2024-07-03 23:19:21 +08:00
rich2014
0f0c5e56b6
Cocoa & Db: enable dbedit/dbmemo to input when FDataLink.Field=nil, patch by Ugo Boccardi
2024-07-03 23:19:10 +08:00
rich2014
dc0c436a40
Cocoa: fix the issues related to Canvas Clipping, especially on version < macOS 11
2024-07-03 23:19:06 +08:00
rich2014
d71dce5eac
Cocoa: improve the handling of the mouse passing through the Overlay Style Scroller quickly
2024-07-03 23:18:57 +08:00
rich2014
521ea0a9a8
Cocoa: fix #40081 #40853 by completely reimplementing TManualScrollView with Legacy/Overlay Style Scroller, Merge branch 'cocoa/scroll'
...
TCocoaManualScrollView is based on NSView without native Scroller.
it doesn't require the document to have the full size it claims, so it is usually suitable for components of unlimited size.
it corresponds to components such as TreeView, Grid, SynEdit.
Legacy and Overlay style Scroller were implemented, they have visual effects highly similar to native Scrollers.
on the contrary, TCocoaScrollView is based on NSScrollView with native Scroller.
it requires the document to have the full size it claims, so it is usually suitable for components of limited size.
it corresponds to components such as ListBox, ListView, ScrollBox, Form.
2024-07-03 23:18:34 +08:00
rich2014
ea0c4a2b76
Cocoa: fix #40853 again, Merge branch 'cocoa/scroll'
2024-06-20 23:02:45 +08:00
rich2014
584c173e83
Cocoa & Db: Fix #40985 the issue that Space can't activate editing
2024-06-19 22:28:28 +08:00
rich2014
3ed46ace8f
dbmemo: Fix blob issue in TDBMemo.LoadMemo()
2024-06-15 22:18:15 +08:00
rich2014
35d2dae2a3
Cocoa & Db: Fix #40985 , Merge branch 'lcl/dbedit'
2024-06-15 22:18:06 +08:00
rich2014
531122b3b7
Cocoa: fix the context setting in TCocoaReadOnlyComboBox(TComboBox)
2024-06-10 11:24:20 +08:00
rich2014
9c43c3f1d9
Cocoa: fix the issue with Flipped Coordinates, Merge branch 'cocoa/flip'
...
note that on Cocoa:
1. Not Flipped: opposite to win32
2. Flipped: like win32
2024-06-10 11:24:20 +08:00
rich2014
9bd6cc792f
LCL: Add CM_THEMEDCHANGED to TWinControl.WndProc to catch widget system light/dark change
...
See merge request freepascal.org/lazarus/lazarus!293
2024-06-09 15:52:40 +08:00
rich2014
db6ce9345e
Cocoa: Fix the issue introduced @ 8ecc0ea
...
for example, the Icon cannot be displayed normally in VirtualTrees
2024-06-09 15:52:40 +08:00
rich2014
1b9571bfcd
Cocoa: Fix the issue introduced @8bdb42c
...
for example, the Header cannot be displayed normally in VirtualTrees
2024-06-09 15:52:40 +08:00
rich2014
2216170cde
Cocoa: Fix the context size in TCocoaTableListView.drawRow_clipRect (TListBox)
2024-06-06 23:17:55 +08:00
rich2014
2099ac1c1f
Cocoa: fix the Drawing issue #36714 , Merge branch 'cocoa/cgcontext'
2024-06-06 11:29:39 +08:00
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