| Anonymous | Login | Signup for a new account | 2010-07-31 04:19 CEST |
| All Projects | FPC | Lazarus: Packages, Patches | Lazarus CCR | Mantis | fpGUI |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||||
| 0015052 | [Lazarus] LCL | major | always | 2009-11-11 00:43 | 2010-03-22 12:29 | ||||||||
| Reporter | Hans-Peter Diettrich | View Status | public | ||||||||||
| Assigned To | Zeljan Rikalo | ||||||||||||
| Priority | normal | Resolution | fixed | ||||||||||
| Status | resolved | Product Version | 0.9.28.3 (SVN) | ||||||||||
| Summary | 0015052: Application minimize/restore not noticed by Application object | ||||||||||||
| Description |
The TApplication.IntfAppMinimize and .IntfAppRestore methods are never invoked, on Linux/KDE/gtk2. Consequently the OnMinimize/OnRestore handlers are never called. |
||||||||||||
| Additional Information | Breakpoints set in the beforementioned methods never are reached. | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Fixed in Revision | 24168 | ||||||||||||
| LazTarget | 1.0 | ||||||||||||
| Widgetset | GTK 2 | ||||||||||||
| Attached Files |
|
||||||||||||
|
|
|||||||||||||
Relationships |
|||||||||||||||||||||
|
|||||||||||||||||||||
Notes |
|
|
(0033815) samuel herzog (developer) 2010-01-23 15:44 |
My attached example works fine on win32 with today's SVN 23535. Please test on GTK 2. |
|
(0034021) Paul Ishenin (manager) 2010-01-29 15:32 |
On windows we have a special application window handle and therefore we can track that window state change. On minimize/maximize of that window we can fire appropriate Application object events. When do you expect those events should be fired on other platforms where LCL has no special application object? |
|
(0034109) samuel herzog (developer) 2010-01-31 12:13 |
Hello Paul, I am trying to find out what makes all those troubles about resizing behavoir of the lazarus IDE. I have uploaded 3 screenshots: 1.) I have my virtualbox in fullscreen mode and placed all IDE windows the way I like it. 2.) I press "ctrl-f" to leave the fullscreen mode. 3.) And press "ctrl-f" to re-enter the fullscreen mode. And as you can see, all the IDE windows (except the messages-window) have totally forgotten their positions. This is very annoying because now have to re-position all the IDE-windows again. I have found out so far, that some part's take the PixelsPerInch-Info from the global variable "ScreenInfo" in the unit "graphics.pp" while other part's take the info from TScreen. While the information inside TScreen.UpdateScreen are updated, the information on the global variable "ScreenInfo" is not updated. So all this bugtracker about resizing issues might have something to do with this. But I am not good enough in debugging lazarus find the real problem. |
|
(0034110) samuel herzog (developer) 2010-01-31 12:15 |
Sorry, what I described here belongs more to report 0013919. But this report is also related to report 0013919. |
|
(0035566) Flávio Etrusco (developer) 2010-03-15 15:53 |
I've just realized that gtk/x11 allows a zero sized window without border, so it would be possible the implement the same behavior as in Windows/Delphi7-. |
|
(0035604) Hans-Peter Diettrich (reporter) 2010-03-15 23:27 |
Resizing of a VM can cause any trouble to the running applications. On Windows guests even minimized applications are resized and repositioned (Explorer, Delphi...), and never are are restored to their previous extent. I see no urgent need for special handling in Lazarus. Instead the VM or guest OS should be configured for a fixed virtual screen size, with scrollbars when the window size becomes smaller than the virtual screen size. |
|
(0035612) Flávio Etrusco (developer) 2010-03-16 05:21 |
DoDi, do you really want to mess your original report with this crazy VM/screen/desktop resize "issue"? |
|
(0035905) Zeljan Rikalo (developer) 2010-03-22 12:28 |
Test and close if ok. |

