Commit Graph

70 Commits

Author SHA1 Message Date
zeljko
abdba4431a Qt,Gtk2,Carbon: do not try to show form as non-modal over modal if lcl parent is assigned.
git-svn-id: trunk@36177 -
2012-03-20 12:45:30 +00:00
zeljko
c66c521fbe Gtk2: fixed bug where wsFullScreen windowState does not work on form showing.
git-svn-id: trunk@36104 -
2012-03-17 08:57:28 +00:00
zeljko
1f615514a7 Gtk2: check if we are designed form when showing nonmodal over modal.
Qt: do not apply nonmodal over modal rules for darwin - it simply does not work.

git-svn-id: trunk@35920 -
2012-03-13 10:22:12 +00:00
zeljko
7f09bdfb96 Gtk2, Qt: allow show nonmodal form over modal form. issue #21459
git-svn-id: trunk@35919 -
2012-03-13 09:33:04 +00:00
zeljko
2203de7ea1 Gtk2: compositeManagerRunning moved from Gtk2WSForms into Gtk2Int.
git-svn-id: trunk@35625 -
2012-02-29 19:07:33 +00:00
zeljko
948afeefd5 Gtk2: fixed regression with THintWindow introduced in r34676 #93ebe05b41. issue #21194
git-svn-id: trunk@35277 -
2012-02-09 19:28:08 +00:00
zeljko
0bba1c10de Gtk2: do not allow form resizing if border style bsDialog or bsSingle.issue #20741
git-svn-id: trunk@34680 -
2012-01-09 14:10:42 +00:00
zeljko
93ebe05b41 Gtk2: fixed showing and handling of popup forms over modal forms.issues #20074 and #20369
git-svn-id: trunk@34676 -
2012-01-09 11:41:32 +00:00
zeljko
2ce9d7f56a Gtk2: introduced GetWindowManager functino to fix various wm's behaviour under X11.Fixes modal windows problems under kwin with gtk2lcl.issues #18323 and #18823
git-svn-id: trunk@34003 -
2011-12-06 17:11:56 +00:00
zeljko
01385540aa Gtk2: add GDK_WINDOW_TYPE_HINT_DIALOG to modal windows, so gtk is happy on all window managers
git-svn-id: trunk@33960 -
2011-12-04 17:25:01 +00:00
juha
620534553b LCL: Fix scrolling TFrame inside a TScrollBox with mouse wheel, in TGtk2WSScrollingWinControl.CreateHandle. Issue #20540
git-svn-id: trunk@33057 -
2011-10-23 20:02:42 +00:00
juha
42967bec9c LCL: formatting TGtk2WSScrollingWinControl.CreateHandle
git-svn-id: trunk@33056 -
2011-10-23 20:02:30 +00:00
zeljko
d7a4f586a0 Gtk2: TScrollingWinControl: fixed scrolling when pressed scrollbar arrows.Patch by August Klein. issue #19676
git-svn-id: trunk@31566 -
2011-07-05 06:30:23 +00:00
paul
cb7061fa17 gtk2: when FillRect is called with a hatched/bitmap brush first fill the rect with a BkColor if BkMode = OPAQUE
git-svn-id: trunk@31472 -
2011-06-30 10:09:56 +00:00
juha
550b1d3a3a LCL, GTK2: Update ScrollBox.VertScrollBar.Position when scrolling with mouse wheel. Patch from August Klein, issue #19428
git-svn-id: trunk@30967 -
2011-05-29 23:08:52 +00:00
zeljko
6b1b1b22d1 Gtk2: respect TCustomForm.ShowInTaskbar in case of modal form.Only when value is stAlways modal form will be visible in taskbar.Moved GtkWindowShowModal() to gtk2proc.
git-svn-id: trunk@30236 -
2011-04-07 13:07:57 +00:00
paul
0373c8de84 lcl: make ScrollBy more delphi compatible:
- invert direction of scroll
  - add TWinControl.ScrollBy to scroll inner controls
  - scroll controls in TScrollingWinControl (fixes issue #0016721)

git-svn-id: trunk@29944 -
2011-03-21 02:41:43 +00:00
mattias
b3a8dd03b1 fixed typos: childs
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +00:00
zeljko
9815e521d3 Gtk2: reset LastWFPResult used by WindowFromPoint() in case when shown/hidden,enabled/disabled,moved,resized widget overlaps current cache.Fixes issue #17389
git-svn-id: trunk@28288 -
2010-11-17 08:59:09 +00:00
paul
b385553fb5 qt, gtk, carbon: send LM_MOUSEENTER(LEAVE) instead of CM_MOUSEENTER(LEAVE). CM_ messages must be sent by LCL, not a widgetset
git-svn-id: trunk@27934 -
2010-10-29 04:50:26 +00:00
zeljko
22c960e012 Gtk2: fixed configure event when moving form under compiz. fixes #17625
git-svn-id: trunk@27705 -
2010-10-14 07:22:55 +00:00
zeljko
9da784edf0 Gtk2: removed unused units.
git-svn-id: trunk@27642 -
2010-10-10 18:11:22 +00:00
zeljko
eab39ab766 Gtk2: Gtk2WSForms.ShowModal() code moved to Gtk2WSForms.ShowHide(), since gtk_window_present() will call show on widget if it isn't already visible.
git-svn-id: trunk@27640 -
2010-10-10 17:54:25 +00:00
zeljko
afb190401d Gtk2: fixed setCapture(), now it uses new way of capturing, old can be used with -dGTK2_USE_OLD_CAPTURE.
fixed unwanted focus grab of THintWindow.
fixed bug when scrollbar button double clicked, we need 2 clicks to focus our client area. Fixed bugs #13878 #17596.

git-svn-id: trunk@27638 -
2010-10-10 15:26:45 +00:00
zeljko
d9e439282b Gtk2: fixed alien configure events from composition manager (usually compiz). fixed #17523
git-svn-id: trunk@27625 -
2010-10-08 18:47:02 +00:00
zeljko
94827d66c8 Gtk2: fixed form focus. fixes #17533, #17544
git-svn-id: trunk@27596 -
2010-10-07 06:31:58 +00:00
zeljko
76d62da455 Gtk2: use GDK_CONFIGURE event on TCustomForms to avoid multiple triggering of OnResize() event. fixes #17015
git-svn-id: trunk@27414 -
2010-09-19 18:32:24 +00:00
zeljko
1a283e877f Gtk2: fixed asserts from gtk2 lib when using gtk_window_set_keep_above() but our form is reparented to some other control (eg. TPanel).
git-svn-id: trunk@27288 -
2010-09-10 09:50:05 +00:00
zeljko
67fa623ccb Gtk2: check if form is designing when using gtk_window_set_keep_above()
git-svn-id: trunk@26765 -
2010-07-21 20:11:48 +00:00
zeljko
960c3f895a Gtk2: use gtk_window_set_keep_above() just before show/hide. fixes #16595
git-svn-id: trunk@26764 -
2010-07-21 20:02:23 +00:00
zeljko
354b05f27c Gtk2: reimplemented Gtk2WSScrolledWindow.ScrollBy(), also GtkWSCustomForm.ScrollBy() using patch from Mazen Niefer as better approach so gtk 2.8 is supported also.
git-svn-id: trunk@26258 -
2010-06-22 17:40:37 +00:00
marc
46ebaabc7a gtk-splitup: merged gtk source into gtk2, removed gtk1 ifdefs
git-svn-id: trunk@26012 -
2010-06-09 23:01:52 +00:00
mattias
f60167a4e3 gtk intf: clean up
git-svn-id: trunk@25798 -
2010-05-31 08:02:58 +00:00
dmitry
54910c2c04 gtk2: change FormStyle on run-time
git-svn-id: trunk@25732 -
2010-05-28 17:46:31 +00:00
zeljko
3dfe0e61f3 Gtk2: use SetResizeRequest() instead FormSavedPos (removed my latest patch for for positioning after hide).fixes #16507
git-svn-id: trunk@25549 -
2010-05-20 17:59:22 +00:00
zeljko
d7de33e1aa Gtk2: fixed restoring form position after form is hidden, and then shown.
Fixes #15069,#15417,#16507

git-svn-id: trunk@25519 -
2010-05-19 17:33:54 +00:00
zeljko
a5e15bfc90 Gtk2: fixed infinite loops with windowstate change events.WindowState callback is handled by GDK_WINDOW_STATE event instead of signal.
Added new member (TGdkEventWindowState) into TWidgetInfo to track real changes of window state. fixes #16505.
Prevented recursion by AppMinimize by checking current window state in TWidgetInfo.FormWindowState.

git-svn-id: trunk@25509 -
2010-05-19 09:00:39 +00:00
zeljko
ba561e84f3 Gtk2: fixed LM_MOUSEENTER & LM_MOUSELEAVE for forms. fixes #14574
git-svn-id: trunk@25483 -
2010-05-17 17:42:32 +00:00
zeljko
7bb68e7dfa Gtk,Gtk2: reworked app activate / app deactivate, now it works fine, added AppBringToFront. fixes #15859
LCL: removed workaround in TApplication.Deactivate which was there only because of gtk & gtk2.

git-svn-id: trunk@25478 -
2010-05-17 10:59:41 +00:00
mattias
0f03af74d5 gtk2 intf: change BorderStyle for nested forms: do not recreatewnd
git-svn-id: trunk@25373 -
2010-05-13 16:36:17 +00:00
zeljko
c4a4395865 Gtk2: implemented TGtk2WSCustomForm.SetFormBorderStyle so it does not recreate handle for nothing also fixes #16407
git-svn-id: trunk@25369 -
2010-05-13 15:07:11 +00:00
mattias
708e6de6d9 LCL: implemented Application.TaskBarBehavior, bug #13537
git-svn-id: trunk@24682 -
2010-04-17 19:28:43 +00:00
zeljko
ecf56f9f71 Gtk2: implemented Gtk2WSScrollingWinControl.ScrollBy(), gtk >= 2.8 uses "changed-value" instead "value-changed" on all TScrollingWinControls (GtkRange instead GtkAdjustment callbacks) from now on.NOTE: with gtk >= 2.18 users must set environment variable GDK_NATIVE_WINDOWS=1 otherwise GdkWindow paintings will be funny (when scrolling GtkScrolledWindow). fixes #7321, #10390.
git-svn-id: trunk@24217 -
2010-03-26 11:35:06 +00:00
mattias
c4527d2bc9 translations: german: updates from Joerg Braun
git-svn-id: trunk@24101 -
2010-03-19 18:25:41 +00:00
paul
0c1c7b1a6c lcl, gtk, gtk2: fix some ParentWindow problems when assigned to TCustomForm
git-svn-id: trunk@23984 -
2010-03-14 07:29:50 +00:00
zeljko
3b8ff2f3ba Gtk2: do not ignore fsStayOnTop for borderless forms. fixes #15953
git-svn-id: trunk@23965 -
2010-03-12 14:56:33 +00:00
mattias
37a024507a gtk2 intf: implemented fsStayOnTop for other BorderStyles than bsNone, bug #8988
git-svn-id: trunk@23946 -
2010-03-11 16:10:01 +00:00
paul
6265a0532d gtk: implement TCustomForm.PopupParent
git-svn-id: trunk@23739 -
2010-02-19 07:22:18 +00:00
paul
b24bd8f15d gtk2: implement TWsCustomForm.SetAlphaBlend
git-svn-id: trunk@23568 -
2010-01-27 08:34:20 +00:00
paul
393c3eea5f gtk: formatting
git-svn-id: trunk@20425 -
2009-06-05 08:40:43 +00:00