Re: [MSEide-MSEgui-talk] To Martin family.
I can not believe this message :/ . His sudden absence was unlike him, just thought that he took earlier winter vacations or something. We will miss you ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Need Help
I'm also worrying about him ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] OS X?
pon., 3 gru 2018 o 22:17 fredvs napisał(a): > I am also big fan of MSEgui and fpGUI. > > But the reality is that Mac does not like anything else than himself. > IIRC fpGUI has support for OS X but I'm waiting for "Alien windows" feature in this framework. Both have pros and cons and it is always dilemma for me which one pick :) ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] OS X?
pon., 3 gru 2018 o 21:03 fredvs napisał(a): > Hello. > > Did you try Wine for Mac? > No and it isn't option for us :( . It must be standalone, tiny, easy to install and ready to go app for target users. Deploy whole Wine backend doesn't make my app "lightweight" anymore and that is why I'm big fun of MSE GUI and fpGUI frameworks ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] KDE Neon, TrayWidget and "not decorated" error instead of popup
sob., 1 gru 2018 o 18:51 fredvs napisał(a): > Last try: > > begin > application.createform(tmainfo,mainfo); > > application.processmessages; // add this > > application.run; > end. > > If no, you need Martin. > Same error :/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] KDE Neon, TrayWidget and "not decorated" error instead of popup
sob., 1 gru 2018 o 18:40 fredvs napisał(a): > Hello. > > Could you try with this: > > begin > application.createform(tmainfo,mainfo); > sleep(100); // add this > application.run; > end. > Nope, didn't help ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] KDE Neon, TrayWidget and "not decorated" error instead of popup
Hi Martin, I have problem with popup in traywidget which worked fine so far. Don't know what broke it because I didn't execute this popup for a long time, very probably my KDE Neon upgrade from 16.04 to 18.04 few weeks ago. KDE Neon is ubuntu based on fresh KDE Plasma releases (but in stable branch) and newests Qt libs so maybe there is some regression. Attached demo and screenshot. When click on traywidget (using left or right mouse button) my whole plasma desktop freezes for a ~5 seconds and then I get this "not decorated" error. GDB break in: /common/kernel/linux/mseguiintf line 1738 MSE GUI git master, recent FPC 3.0.4 64bit KDE Neon LTS 5.12 (based on ubuntu 18.04) 64bit Plasma version 5.12.7 Plasma skeleton 5.52.0 Qt version 5.11.2 Kernel 4.15.0-39 Graphic: Intel HD 520 Regards not_decorated_error.7z Description: application/7z-compressed ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] OS X?
Hi Martin, Are you planning port MSEGUI to OS X? I know that most apple users are accustomed to native looking apps but this trend becomes less annoying and some companies forced unique look over all platforms like spotify, skype, signal etc (although electron based apps). I'm working with my friend on some project using MSE, he is responsible for server side and web API. We have almost ready desktop app for linux and windows but he have recent Macbook Air and for tests he must switch to some PC with Ubuntu or Windows or use virtualbox. He also work on OS X version using Electron framework and try to make same look as my MSE but this is just double work. We could be your beta testers :) Regards ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] TPopUpMenu - checkbox frame margin
wt., 2 paź 2018 o 16:47 Martin Schreiber napisał(a): > AFAIK frameo_* has no influence in tskincontroller.popupmenu.frame or > itemframe, please use tskincontroller.popupmenu.checkboxframe. > Thanks! That was it ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] TPopUpMenu - checkbox frame margin
Hi Martin, I'm writting from my another email subscribed to this list because my previous was always reported as a SPAM. Do you remember? I wrote to you directly. I'm skinning TPopUpMenu. Added some item margin by changing Framei* in TFrameComp but seems that it doesn't affect on checkbox frame. It is too much stick to the whole menu frame. How to add some extra space on right side? Look at attached screenshot. Regards ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] Tooltip / hint window with auto disappear
Hi Martin, I know how to do it by my self but maybe MSEGUI has something build-in and there is no sense to reinvent the wheel. Even if not, I'll need your help anyway I guess. I need some kind of mix between hint and tooltip which I bet you seen many times in web and desktop apps: 1. The first one is very simple. I have window with listview. It has action in popmenu which copy selected rows into another table in sqlite. I have assigned "Q" shortcut to it but I want show to user that this event happened successfully in not annoying and not focus stealing way. You probably seen it many times in web apps - smooth small hint with simple message "You copied N rows into clipboard" which automatically disappear after N seconds or when you click on it. The call interface should be also simple because I'll use it a lot. Some kind of: ShowTooltip("You copied N rows into clipboard", , , ); The option is questionable, I guess that we may be limited here with X window / GDI but it would be cool to have this visual effect 2. This one is extended version of point 1. I want to prepare some kind of tips for newbie users. For example, user first time open some window and he get tooltip under button which says "Click here to do something" with optional check box "Do not show me this message again" which result I save in my config file While I'm writting this post, it reminds me Lazarus LCL customizable component called TPopupNotifier. It has basic template, icon on the left, title on top, descritpion in the middle and expiration time. Regards -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tdirdropdownedit.OnSetValue doesn't work properly with eo_showfocused
2018-04-16 10:28 GMT+02:00 Martin Schreiber: > git master dd7e9a107a5139bd922d092d1131047b4f3fa17f updates empty text > state in tedit.settext() instead in tcustomdataedit.setdropdowntext(), > experimental. Fixed. Thanks! -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] tdirdropdownedit.OnSetValue doesn't work properly with eo_showfocused
Hi Martin, Something changed recently which I guess worked fine. Opened window in my app which has tdirdropdownedit and with empty option eo_showfocused, variabale AValue in OnSetValue event is empty. Without it everything works fine. Attached demo. Regards dropdown.7z Description: application/7z-compressed -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Tray hint doesn't work?
Ehh, don't bother with that. Probably they are changing something again with KDE. I have Plasma 5.12.3 -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Tray hint doesn't work?
2018-02-24 10:01 GMT+01:00 Martin Schreiber <mse00...@gmail.com>: > On 02/23/2018 05:08 PM, Martin Schreiber wrote: >> On 02/23/2018 01:06 AM, Krzysztof wrote: >>> One interesting thing. On your screenshot tray icon is transparent >>> (not fully, looks like semi transparent, pixels are 0 or 1). This is >>> weird X window regression which I can't understand. I remember having >>> fully (I mean real full alpha) transparent tray icon in one of my old >>> KDE (don't remember which one, Linux Mint KDE edition or KDE on >>> Kubuntu). >> >> Works for me with bmo_graymask, see icon1.png, with bmo_colormask the >> mask seems to be a bitmap, see icon2.png. I'll take a look. >> > Please try again wit git master e6eebe7b49a5beea46faaa4b2647f9e9c20e1d6e. Still can't get transparency, both with bmo_graymask or bmo_colormask (cleared timagelist and readded icon when changes such option). Even changed ttraywidget.color to cl_transparent. But please don't bother with that, I really have square tray icon so transparent is not necessary for me -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Tray hint doesn't work?
Hmmm this scenario also happen with other apps which are in tray icon. It's late night, I'll back to this tomorrow -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Tray hint doesn't work?
Tried to record my dekstop as a prove but could not reproduce this even after dozens times now, grrr, just started working fine. Finally got it with other scenario (but still don't understant why plasma stopped crashing for everytime when I run app after that). Look at attached video https://drive.google.com/open?id=1kRr1KadN3JITaP0aBS9ivy16wLywz-lz -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Tray hint doesn't work?
Hmmm another weird things which I noticed now: 1. Why MSE app show also "tray caption" as a name of the app instead of "my window" (tray1.png)? For example my Clementine music player in task bar show "NowEntryUnder..." which is currently playing song on radio station (clementine window caption) and when expand try icons I see "Clementine" as app name? 2. Randomly when I run this demo, my Plasma Shell is crashing and automaticaly restoring (bottom task bar panel is disappearing for a second). Also when my MSE app is running I don't see items in tray settings (tray2.png) but when close my app and open tray settings again then everything is fine (tray3.png). Seems like two_usedbus is blocking something. Now when writting this message, plasma crash everytime when I run this demo, thought that reason is two_usedbus. Disabled it and few first runs were ok but now also plasma is crashing almost everytime (less than with two_usedbus). Realy weird, also can't reproduce anymore empty items in tray settings. Do you want some syslogs or something? -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Tray hint doesn't work?
One interesting thing. On your screenshot tray icon is transparent (not fully, looks like semi transparent, pixels are 0 or 1). This is weird X window regression which I can't understand. I remember having fully (I mean real full alpha) transparent tray icon in one of my old KDE (don't remember which one, Linux Mint KDE edition or KDE on Kubuntu). It worked only with one timagelist.option mask (also don't remember if it was bmo_graymask or bmo_colormask). Now in my KDE Neon (which have the most recent KDE version because this ubuntu "distro" is from KDE guys) I can't enable it anymore (see attachment, this is the same demo which you run). It's not issue for me because I always known that MSEGUI doesn't have support for transparency in single window widget, so I'm painting nice looking square tray icon which fill whole rect. But did you ever wonder from where this regression came from? Although never tested this transparency behavior on some GNOME or Windows environment P.S. On screenshot I have black theme but I don't think it is important -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Tray hint doesn't work?
Great! ttraywidget.caption works perfect! So I have to update caption and hint together? Caption for KDE and hint for Windows and probably Gnome? -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] Tray hint doesn't work?
Hi Martin, Does tray hint work? On button it is fine but on tray not and no matter if with or without dbus option. ow_hinton options widget also doesn't change anything. Attached example. Don't forget that I have this troublesome KDE Plasma (now it is KDE Neon with plasma 5.12.1) Regards trayhint.7z Description: application/7z-compressed -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] TrayWidget - popup is not showing if tray has frame
2018-01-03 6:06 GMT+01:00 Martin Schreiber: > That fixes popup menu? Yes. Just removed normal frame reference from object inspector and added ttraywidget.OnPaint event with: procedure tmainfo.PaintTray(const sender: twidget; const acanvas: tcanvas); begin acanvas.linewidth := 4; acanvas.fillrect(sender.clientrect, MCSkinMO.GetMCColor(clBackground), MCSkinMO.GetMCColor(clIcon)); if IconMng.imlstTray.count>0 then IconMng.imlstTray.paint(acanvas,0,sender.clientrect, [al_xcentered,al_ycentered]); end; Can't understand why making frame from object inspector disable popup menu. I'll not report it yet on KDE since now it is working perfect and I'm not sure if I'm able to explain exactly what is going on in backend -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] TrayWidget - popup is not showing if tray has frame
2018-01-02 18:53 GMT+01:00 Martin Schreiber: > Works for me with framewidth 2 and 0, see attachment. Are you still on a newer > KDE desktop? Yes, Linux Mint 18.3, KDE Plasma 5.8.8. If this is too much trouble, I already handled it with OnPaint event: procedure tmainfo.MyPaint(const sender: twidget; const acanvas: tcanvas); begin acanvas.fillrect(sender.widgetrect, cl_red, cl_green); end; -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] TrayWidget - popup is not showing if tray has frame
Hi Martin, Look at attached demo. Popup is not showing when right click on tray icon but if you remove frame (tcaptionframe) instance then it is ok. Same without two_usedbus option. I noticed that framewidth has to be > 0 Regards traypopup.7z Description: application/7z-compressed -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Missing icon smoothing / antialias in OS task manager
You are right! Just made 64px main icon instead of 16px and it looks much much better in all OS places, even better than Opera browser (look at attached screen). I'll leave it as it is, maybe at the end I'll play more especialy with _NET_WM_ICON because I think this is what LCL does -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] Missing icon smoothing / antialias in OS task manager
Hi Martin, All my icons are from FontAwesome with timagelist.options set to bmo_colormask := true. I noticed that icon in task manager has bad look (see attached screenshot). Icon in main window decorator had same issue but I fixed it with setting tmainfo.icon.options.bmo_colormask to True too. But seems that it doesn't affect on icon in task manager. I set it in mainform by: timagelist1.getimage(iICO16_MAIN, Self.icon); Same issue in second screenshot, it is list of opened windows triggered by ALT+TAB shortcut, all MSE related windows have blurry icons due to stretch effect from 16px to X, for example Opera browser or other apps has clear high quality icons. I remember that in Lazarus LCL I had to prepare special icon in Gimp, it was one .ico file with array of 16px, 24px, 32px...256px and that icon was set by Application.Icon property and OS could pickup correct size in his enviromnent but I can't find anything similar in mse tguiapplication. So my question actually has two issues. One is why 16px icon is not copied from main form into task manager with antialias (seems that they both are 16px so it is not a matter of stretch effect). Second, how to set icons with different sizes for OS needs? About last one, I hope that we are not limited here by GNOME / KDE Api layer. I think that on linux it could be a matter of prepare physical .ico file (with all sizes) in some dir compatible with freedesktop standard, similar what dpkg do with .deb files, I have to read about that. But what with Windows? I think here all icons sizes has to be compiled into app executable binary file. Maybe on windows such icon has to be included as ICO resource https://drive.google.com/open?id=1F6kNUWbS3uQ_VF1qlu1e71KNKVG0gqFF https://drive.google.com/open?id=1HNebMQPd_ifAuN-vDJ7C51rCg_qad7_0 Regards -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Issue with hint window
Ok I think I found it, in application object: function screenrect(const awindow: twindow = nil): rectty; //nil -> virtualscreeen function workarea(const awindow: twindow = nil): rectty; //nil -> current active window -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Issue with hint window
Quick question. How to obtain screen / desktop resolution? I want to adjust volume window position if it popup outside desktop -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Issue with hint window
Works. Thanks! -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] Issue with hint window
Hi Martin, Another issue which I think worked long time ago. In my app I have volume form which inherit from hint window. Main behavior of this form is that it should be freed when click on ANY other widget or just hidden when click on window from another app (and bring back when click on my app). So basically similar behavior of popup menu. Everything is working fine except that volume window is not released when click on window decorator (top bar outside the X window which have _ and X buttons). In this topic I mentioned about this but you wrote that it is hard to implement: https://www.mail-archive.com/mseide-msegui-talk@lists.sourceforge.net/msg09969.html Although, I remember that I reported same issue for popup menu and you finally managed to fix it (which you also see on attached video). So my question is, what trick did you use in popup menu? OnDeactivate and OnExit events are not triggered. Thought that this proc has to be extended: procedure TfrmVolume.applicationev(const sender: tactcomponent; var aevent: tmseevent; var handled: Boolean); begin writeln('Event ', aevent.kind); if (aevent.kind = ek_buttonpress) then begin with tmouseevent(aevent) do begin if (fwinid <> window.winid) or //click in other window not pointinrect(fpos,widgetsizerect) then begin //click out of window in case of modal writeln('Release volume'); release(); end; end; end; end; ... but none events are triggered when click on decorator :/ Regards and happy new year by the way :) https://drive.google.com/open?id=1D-i8pN0Pq4mBYz7798u3QkewKHNT8X9g volumeissue.7z Description: application/7z-compressed -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Weird behavior of my skincontroller
Thanks! Works perfect now -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] Weird behavior of my skincontroller
Hi Martin, Reposting this message because attached too big file and got sourceforge notification. Added it on GDisk and attached shared link instead. As you know I'm reactivating my project. Noticed some weird behavior of my skincontroller which I don't remember him act like this when I suspended project (I'm working on current mse git dev branch). Look at my attached video, some MSE widgets change cl_text set by my skincontroller (red color). tdirtreeview do it immediately, tdirdropdownedit do it when you popup dir window. There is small regression, in my project tdirtreeview doesn't do it immediately, only tdirdropdownedit popup does it (these widgets are deep in tsimplewidget->tsimplewidget->tsimplewidet->tdirdropdownedit / tdirtreeview hierarchy). I have few other examples where it does it but I hope that this is related bug. Affected controls are all which use cl_text, so labels, edits and grid header captions. Attached also demo with my skincontroller source https://drive.google.com/open?id=1G-JXEwzEkareVagfs5zZ8m5danEbv76O colorchangeissue.7z Description: application/7z-compressed -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Reactivate my project
> Huh, sincerely, I thought that you did it work No, since I suspended my project which needed that :) > Huh, about ICY Data, do you know a application that can deal with it (to see > what must be the result). Not really. This is not urgent for me now. Maybe I'll even try to continue this later when nothing else left in my app -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] Reactivate my project
Hi Martin, Long time since I did something with my MSEGUI project. Had to postpone it due to a lot of work in my company. Called today git pull, a really big bunch of changes! Great. But have few questions: 1. MSEIDE build fine, but when try to compile my project I get error related to msefreetype: procedure initializefreetype(const sonames: array of filenamety); const funcs: array[0..19] of funcinfoty = ( (n: 'FT_Done_Face'; d: @FT_Done_Face),//0 (n: 'FT_Done_FreeType'; d: @FT_Done_FreeType),//1 (n: 'FT_Get_Char_Index'; d: @FT_Get_Char_Index), //2 (n: 'FT_Get_Kerning'; d: @FT_Get_Kerning),//3 (n: 'FT_Init_FreeType'; d: @FT_Init_FreeType),//4 (n: 'FT_Load_Char'; d: @FT_Load_Char),//5 (n: 'FT_Load_Glyph'; d: @FT_Load_Glyph), //6 (n: 'FT_New_Face'; d: @FT_New_Face), //7 (n: 'FT_Set_Char_Size'; d: @FT_Set_Char_Size),//8 (n: 'FT_Set_Pixel_Sizes'; d: @FT_Set_Pixel_Sizes),//9 (n: 'FT_Set_Transform'; d: @FT_Set_Transform),//10 (n: 'FT_Outline_Decompose'; d: @FT_Outline_Decompose),//11 (n: 'FT_Library_Version'; d: @FT_Library_Version),//12 (n: 'FT_Get_Glyph'; d: @FT_Get_Glyph),//13 (n: 'FT_Glyph_Copy'; d: @FT_Glyph_Copy), //14 (n: 'FT_Glyph_To_Bitmap'; d: @FT_Glyph_To_Bitmap),//15 (n: 'FT_Glyph_Transform'; d: @FT_Glyph_Transform),//16 (n: 'FT_Done_Glyph'; d: @FT_Done_Glyph), //17 (n: 'FT_Glyph_Get_CBox'; d: @FT_Glyph_Get_CBox), //18 (n: 'FT_Render_Glyph'; d: @FT_Render_Glyph) //19 ); errormessage = 'Can not load Freetype library. '; begin initializedynlib(libinfo,sonames,freetypelib,funcs,[],errormessage,@initft); end; msefreetype.pas(462,76) Error: Incompatible type for arg no. 7: Got "", expected "" msefreetype.pas(467,33) Error: Incompatible type for arg no. 2: Got "", expected "" 2. I saw some changes in mseaudio. This is what I always wanted to ask you. When looked at msegui source I saw a lot of solutions not stricte related to GUI (like dbus, cryptography etc.). Does MSGUI have something for playing mp3 music? So far I always used low level headers for libvlc, SDL or Bass library. Does msegui have something own or wrappers arround these libs? Same question about networking, does it have something for websockets (client side)? I'm using mORMot package for this. This is not feature request, just wondering if msegui has already something which fit better with MSEGUI by itself. Regards -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] Wasn't a member of msegui mailing list anymore :(
Hi Martin, After long time wrote to this mailing list and got response that my message is waiting for moderator approval. Seems that I'm not a member anymore. Subscribed again. Did you get my message with subject "Reactivate my project"? Why I was removed? Some changes in sourceforge? That is bad, I probably missed a lot of interesting discussions, I have to catch up everything by reading sourceforge history, grrr :/ Regards -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Different font and image color selected row in twidgetgrid
2017-04-18 8:17 GMT+02:00 Martin Schreiber: > > > There is a new property ttreeitemedit.itemlist.colorlineactive. Please > set it > to cl_none. Thanks! -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Different font and image color selected row in twidgetgrid
Ah and another question. What if some node doesn't have image and should not have any selected image neither? Is it safe to set: constructor TDataNode.create(const aowner: tcustomitemlist; const aparent: ttreelistitem); begin inherited create(aowner, aparent); imagenr := imagelist.count * (-1); FId := -1; FFilename := ''; end; -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Different font and image color selected row in twidgetgrid
2017-04-14 13:55 GMT+02:00 Martin Schreiber <mse00...@gmail.com>: > On Friday 14 April 2017 12:43:01 Krzysztof wrote: > > Thanks a lot! Only one thing left, the expand box aka arrow :D . It it > also > > possible change image when node is selected? Attached updated example and > > screenshot > > It uses itemlist.colorglyph (not published up to now). I can add > colorglyphactive but it does not help because you change > stockobjects.glyphs > from monochrome to rgb where glyph color has no meaning. Yes, I'm overriding stock glyphs with RGB fontawesome. Is there any other trick which don't need messup code on your side? -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Different font and image color selected row in twidgetgrid
Great, seems doable but can't understand ttreeitemedit1.itemlist.imnr_X policy. Can you explain that too? -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Different font and image color selected row in twidgetgrid
2017-04-10 13:36 GMT+02:00 Martin Schreiber: > > > 2. Is it possible to set different image for selected row in > ttreeitemedit? > > My icons are dark and I would like to set them as "negative" color when > > selected. So it should be also from different timagelist (which I init > with > > brighter color). Or some trick to do this on the fly when image is > painted. > > > The selected imagelist item is defined by the sum of > TTreeItemEdit.ItemList.Imnr_* + the image number of the datanode. > TimageList > can have a lookup table ("IndexLookup") in order to save duplicate images. > Can you explain this? Lets say that I have timagelist1 which contain images for normal grid state, initialized with timagelist1.bitmap.init(cl_black) or any other color and second timagelist2 which contain exactly same images but for selected state and are initialized with timagelist2.bitmap.init(cl_white) or any other color. Now, how to make them work with grid (ttreeitemedit)? Is it possible to have only one timagelist and init different color per image, not per whole timagelist? Because I think that for IndexLookup I have to use only one timagelist. Note that I'm creating images at runtime with mseftglyphs and base color cl_black. It depends on user which color scheme he choice (that is why timagelist.bitmap.init() is called) P.S. It is really cosmetic think, so don't bother with that. I'm just curious :) -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Change tdialogstringedit frame buttons from
Thanks! -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] Change tdialogstringedit frame buttons from
Hi, I would like to modify edit's frame buttons from tskincontroller, especialy change color to cl_foreground so only icon is visible, also set fso_flat and fso_noanim. I can do this with tdialogstringedits belongs to my project by changing it individually but don't know how to do this from tskincontroller because I want to files dialog be affected too. Regards -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] Different font and image color selected row in twidgetgrid
Hi Martin, Two questions: 1. How to change font color for selected row in twidgetgrid (ttreeitemedit)? From tscincontroller. Is there any definded color which I can override by setcolormapvalue()? Something like cl_gridselectedtext? 2. Is it possible to set different image for selected row in ttreeitemedit? My icons are dark and I would like to set them as "negative" color when selected. So it should be also from different timagelist (which I init with brighter color). Or some trick to do this on the fly when image is painted. This is only cosmetic, don't bother if this is too much work. Regards -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Rounded slider button
I'm polishing slider button. Made new shape bitmaps with gimp. This time gimp created different pixels on each side, some of them have transparency (base color was black for circle shape, it is a result of smooth / antyalias option). TImagelist size is 7x7 because this is size of top-left, bottom-left, bottom-right and top-right corners. For rest edges it is enough to have 1px width/height because I can use "stretch" option while adding png files into timagelist. Unfortunately these 1 pixel bitmaps have transparency. When adding them as stretched, they becomes some kind of gradient. Don't know if this is just normal stretch policy (algorithm) or I need to check something when exporting to PNG in gimp. Currently my options are as on second screenshot. Translation from Polish is "save background color" and "save color's values for transparent pixels", compression is set to 0. In first screenshot, indexes 1 and 3 are added with stretch mode, they sizes are 7x1 and 1x7, just simply one black pixel with transparency arround 60%. I can solve this by making these 1x7px bitmaps as 7x7 by simply copy and paste in gimp and add without stretch check. That is not a problem because size of my slider buttons is fixed. But just wondering if it's possible to add such bitmaps as "repeated", not "stretched". If not then it could be cool feature, for example make small pattern in gimp which is repeated and looks uniformly, like grip in splitters. BTW: How to make transparent colorty at runtime? For example, I would like to make shape in gimp with base color stricte black (it may have black transparency pixels due to smoothing / antyaliasing). Add it to image list as base shape and then manipulate at runtime, for example set color to green (or still black) with alpha 50%: timagelist.bitmap.init(rgbtocolor(0,127,0,50)). Can't find any rgbtocolor related function with alpha param -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] TSkincontroller button framei and issue in files dialog
2017-04-04 6:39 GMT+02:00 Martin Schreiber: > > It has been changed to "cl_buttondefaultrect" because of easy selection > of "cl_default" in objectinspector, see VERSION.TXT. Ahh, indeed. Now it is compiling and issue with file dialog fixed. Thanks! -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Rounded slider button
2017-04-04 8:01 GMT+02:00 Martin Schreiber: > Set scrollbar.face1.framei_right and scrollbar.face2.framei_left to -8, see > attachment. > Excellent! Attached final result. Cool. I have to fix shape in gimp because this was on quick but even now it looks very fancy. Thanks a lot! -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] TSkincontroller button framei and issue in files dialog
Mmm can't compile my project, because: "Error: Identifier not found "cl_defaultrect"". This is what you added for topic "tframecomp - how to modify focused frame" :) -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Rounded slider button
Perfect! See attached result :) . Corner masks are amazing. But there is one cosmetic thing. See screen2.png and screen3.png. "Inner" fade color is nicely blended with frame shape transparency pixels but it is not possible with face1 and face2 because they are outside of the button. Is there any easy trick for this?. Attached demo slider.7z Description: application/7z-compressed -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] TSkincontroller button framei and issue in files dialog
It is not completed yet. Attached mcskin.7z Description: application/7z-compressed -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Rounded slider button
I mean, it looks different than I did with scrollbar -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Rounded slider button
So it is ok or not? Because I'm confused, I thought that I have to set timagelist3 in faceSlider.template.frameimage_list, not in frameSlider.template.frameimage_list. I'm not sure how to make it working now, I don't even see green fade color :) -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] TSkincontroller button framei and issue in files dialog
Hi Martin, Added some extra space for buttons in framei (4x4x4x4) by tskincontroller. "OK" and "Cancel" buttons are overlaping "Show hidden files" checkbox. Is it easy to fix? See attached screenshot Regards -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Rounded slider button
Sorry for delay. Trying test it today but something is wrong. As always called pull on git, removed all *.ppu and *.o files, rebuild mymseide. Opened my test project, added some random corner masks to see how it is working. Didn't see any change at runtime, compiled project, run and at runtime everything disappear. At design time everything is fine. Removed corner masks but still same. Can't tell if it happened after touch corner mask property or what was a reason. Tried also remove timagelist and readd bitmaps but still same. See attached. Also attached my demo. It is weird because also fade color disappear too (fso_flat effect is visible at design and runtime). Attached also demo buttonskin.7z Description: application/7z-compressed -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] Rounded slider button
Hi Martin, I know that you are busy lately. I'll just leave here this topic. Answer whenever have a time :) After successfully scrollbar skin I would like to try make rounded slider button like on this picture: http://cdn.osxdaily.com/wp-content/uploads/2011/08/visible-scroll-bar-mac-osx.jpg I followed same rules as in scrollbar skinning. Made 8 small pictures for each edge and corner in frameface. Set properly button size to make it perfect round without stretch. But now I have problem with background. Framei offset will not help here because it is rounded too much. Can I apply some rounded mask here, for example black filled circle smaller than frame circle? Notice that I want to do as much as possible with MSE, external bitmaps are only for main shape, frame color I'm changing with timagelist.bitmap.init() and face with fade color. Attached screenshot how it looks now :P Regards -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Skinning scrollbars globally
2017-03-30 12:42 GMT+02:00 Martin Schreiber: > > How should it look? Same as on attached screenshot. I added framewidth=2 with colorframe=cl_transparent so button has some extra space in scroll. Nothing is wrong here, just wondered if I can do this same without framewidth. Really nevermind, if it work it fit :) -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Skinning scrollbars globally
2017-03-30 12:09 GMT+02:00 Martin Schreiber: > > git master ca2f222583a3b99d58571092d512ca447cb99af6 has buttonendlenght > scrollbar properties in tskincontroller. > It is also possible to use tskincontroller.onbeforeupdate and > onafterupdate in > order to make special settings. Thanks a lot! Didn't know about OnBeforeUpdate, very handy -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Skinning scrollbars globally
2017-03-29 15:25 GMT+02:00 Martin Schreiber: > > Later, I have no time at the moment. > That is not a problem. Work first :) . Thanks anyway -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Skinning scrollbars globally
Or you know what? Don't bother if it is too much trouble. I'll make them less noticeable by setting them flat with light arrow glyph like in GTK scrollbars (see attached screenshot) -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] Skinning scrollbars globally
Hi Martin, I successfully created this rounded scrollbar (this is not my MSE app ;) ) using tfacelist and sliced bitmaps. http://cdn.osxdaily.com/wp-content/uploads/2011/08/visible-scroll-bar-mac-osx.jpg How can I apply it globally in tskincontroller? Main problem is that I can't set button start and end to -1 from tskincontroller.sb for hide them. Do I must do this manually for each scrollbar? Regards -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tdialogstringedit - bring back empty text when clear edit
Thanks! -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] tdialogstringedit - bring back empty text when clear edit
Hi Martin, It is very cosmetic thing so don't bother if it need some change in source code :) . Just wondering if I can do this with current version. I have added clear button in tdialogstringedit. OnExecute event call tdialogstringedit.text := '' but "empty" text is missing. It is show when I change focus on another widget but it is just fine :) . See attached video. Regards filterclear.mp4 Description: video/mp4 -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] MSE IDE - weird disappearing behavior when submodule
Got it again but don't remember what I did. I think that had also opened original sumbodule (as new form) and main form where submodule is placed was docked as tabsheet in docker where source editor is. But I'm not sure. After reopen MSE IDE everything is working fine. I'll keep eye on it and let you know when get more info. First occurrences were very rare and I wasn't sure if it was what I think it was, but when in object inspector tried assign timagelist in tdialogstringedit.frame.button.imagelist then issue appeared totally on each popup as previous -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tframecomp - how to modify focused frame?
2017-03-24 18:32 GMT+01:00 Martin Schreiber <mse00...@gmail.com>: > On Friday 24 March 2017 18:06:58 Krzysztof wrote: > > 2017-03-24 9:38 GMT+01:00 Martin Schreiber <mse00...@gmail.com>: > > > Git master a5b18945edc6326a4e3464c8d5b03fc6558f4d84 has cl_defaultrect > > > and frame.colorframedefault. > > > The defaultrect width is hardcoded to 1. If you need full control use > > > frame images and frame.frameimage_offset1. offset1 will be added to the > > > imageindex > > > if the button has the defaultstate in order to select the according > image > > > group. > > > > Override cl_defaultrect works but frame.colorframedefault not (see > > screenshot). I removed all *.o and *.ppu files > > > colorframeactive overrides colorframedefault if the button is active. > Activate > tbutton.state as_default of one of the buttons and focus the editwidget in > order to see the effect of frame.colorframedefault. > Right, but if it override then what is this black frame next to green? Can't change it from tframecomp > > > > P.S.: The screenshot shows that you have a buggy X-server which does > not > > > paint > > > the line endpoints: > > > https://bugzilla.opensuse.org/show_bug.cgi?id=1021803 > > > --NOZEROLINES commandline switch activates a workaround in MSEgui. > > > > Thanks, didn't notice that. Where I have to add this switch? > > At the command line of MSEide or any other MSEgui program. For debugging > programs use MSEide 'Target'-'Environment'-'Parameters'. Mmm personally I don't see any difference. Attached two screenshots, one is normal, second is started with "./popupskin --NOZEROLINES" -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tframecomp - how to modify focused frame?
2017-03-24 9:38 GMT+01:00 Martin Schreiber: > > Git master a5b18945edc6326a4e3464c8d5b03fc6558f4d84 has cl_defaultrect and > frame.colorframedefault. > The defaultrect width is hardcoded to 1. If you need full control use frame > images and frame.frameimage_offset1. offset1 will be added to the > imageindex > if the button has the defaultstate in order to select the according image > group. > Override cl_defaultrect works but frame.colorframedefault not (see screenshot). I removed all *.o and *.ppu files > > P.S.: The screenshot shows that you have a buggy X-server which does not > paint > the line endpoints: > https://bugzilla.opensuse.org/show_bug.cgi?id=1021803 > --NOZEROLINES commandline switch activates a workaround in MSEgui. > Thanks, didn't notice that. Where I have to add this switch? -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Skinning tpopupmenu - remove 3D light
2017-03-23 9:02 GMT+01:00 Martin Schreiber: > > Please use tframecomp.optionsskin fso_flat and fso_noanim. > Thanks! -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] MSE IDE - weird disappearing behavior when submodule
2017-03-23 12:08 GMT+01:00 Martin Schreiber: > > Good catch! :-) > Please try again with git master 3459e9228bf2b18c8b10228d66421d59955b8a85. > Fixed, thanks :) -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] MSE IDE - weird disappearing behavior when submodule
Hi Martin, About week ago I noticed weird behavior with my IDE. Thought that it was a result of my mess up with docking into one window. Today removed .prj file and tried from the beginning and finally found what is a reason. Problem is when main form contain submodule. See link to video below. Tested also with latest git update made 5 minutes ago (I rebuild mymseide). I think it could be related to the issue with closing app when popup is showing. Also attached demo on which you can test. Note: This issue is affected in mainmenu, context menus and also editcomboboxes (recent projects lists) Video (main action at 37sec) https://drive.google.com/open?id=0B33a2H5HSPjSd05tQkhPemh2MnM menu.7z Description: application/7z-compressed -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] FontAwesome - change icon height on the fly
2017-03-17 7:00 GMT+01:00 Martin Schreiber: > > Please send a simple testcase. Attached. Click on tbutton1 with left mouse button and then try to close app. I must first click somewhere inside the app for close popup menu popup.7z Description: application/7z-compressed -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] object inspector problem
2017-03-16 10:46 GMT+01:00 Julio Jiménez: > > A picture is worth a thousand words. ;) > Thanks a lot Julio! Finally understand it! What I did wrong is that I always added not enough panels so tabs for "source | mainform |" didn't work properly (they disappeared when tried add components palette at top or messages at bottom of dock panel). For this case, (each) component palette, source and messages must be in own container and then they can be merged into one so source editor container keep its tabs. @Martin. You could put that video in git repo or somewhere in sourceforge wiki so we don't lose it, it is only 1.4MB and very helpfull for newbies in docking :) . Now I must try to port Lazarus code completion (missing global vars / object methods hints in MSE IDE) and I'll be happy as never have been :) -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] FontAwesome - change icon height on the fly
2017-03-15 16:01 GMT+01:00 Martin Schreiber: > > It still works for me. When I open a popup menu and click on close button > of > the window decoration the popup closes. Forgot to add important detail that I'm showing popup menu manually on left button click: procedure TfrmViewTree.ShowViewPopup(const sender: TObject); begin popView.show(btnView,translateclientpoint(application.mouse.pos,nil,btnView)); end; With context menus indeed it is working fine -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Frame offset after skinning
2017-03-13 9:03 GMT+01:00 Martin Schreiber: > > Yes, please try again with git master > e6fc342877b9a6b80ca62cd8a8e7df6bd46d6c07. Works perfect, thanks! -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Frame offset after skinning
2017-03-12 7:47 GMT+01:00 Martin Schreiber: > > - Set twidgetgrid.anchors to [an_top,an_bottom]. > - Select twidgetgrid1 in tsimplewidget3.linkbottom (tsimplewidget3 is a > tlayouter). > BTW: recommended place_* settings for tsimplewidget3 are maxdist = 4, > midist = > 4, mode = wam_start, options = [plo_endmargin]. With current settings > reducing the width and enlarging again will not work well. Mmm, but it didn't change anything. Maybe I wasn't clear, look at attached screenshot. Problem is in circle, twidgetgrid1 and tsimplewidget3 (tlayouter) have same width but even so, afer skinning right borders are not on same place -- Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power your apps and projects. Get started today and enter our developer competition. http://sdm.link/oxford___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Frame offset after skinning
2017-03-11 18:44 GMT+01:00 Martin Schreiber: > Please send a simple testporject which shows the problem. > Attached. If you run it with skin not active then it is fine, with active, filter edit's and widgetgrid's right edges are not vertically on the same line skinning.7z Description: application/7z-compressed -- Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power your apps and projects. Get started today and enter our developer competition. http://sdm.link/oxford___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] Frame offset after skinning
Hi Martin, I'm preparing "flat" ala Win10 skin without 3D and all inner/outer levels, just with framewith = 1. Problem is that when I turn on skin, then widget frames are not on the same line. Look at attached screenshot. There is twidgetgrid and above is tlayouter with align Y and place X. Both controls have anchors left and right and same width, at design time they look correct but with skin twidgetgrid frame hase weird offset -1. What I can check to fix it? Regards -- Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power your apps and projects. Get started today and enter our developer competition. http://sdm.link/oxford___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] FontAwesome - change icon height on the fly
2017-03-10 7:05 GMT+01:00 Martin Schreiber: > > Not that I am aware of. Can you point to the message thread were we > discussed > it? Here https://www.mail-archive.com/mseide-msegui-talk%40lists.sourceforge.net/msg10546.html -- Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power your apps and projects. Get started today and enter our developer competition. http://sdm.link/oxford___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] FontAwesome - change icon height on the fly
Hi Martin, Currently, FA icon height can be set in tftglyphs constructor. Height property is read-only. Is it possible to change it to write too? I'm trying to override stock glyphs with FontAwesome at runtime, so they fit to my app needs and have nice antialiasing. Also, with bmo_colormask option I can change their color at runtime without any quality loss (user has color scheme creator), with MSE buildin glyphs and bmo_graymask I got weird artifacts (and icons disappear) after call timagelist.bitmap.init(AColor), it is very probably related to issues with my Intel HD 530 on Kubuntu, I don't want back to it :). Anyway, so I'm doing this: // Stock 15px stockobjects.glyphs.clear; stockobjects.glyphs.options := [bmo_masked,bmo_colormask]; glyphs:= tftglyphs.create('FontAwesome.otf',0,15); b := tbitmapcomp.create(nil); try b.bitmap.masked := True; b.bitmap.colormask := True; l := stockobjects.glyphs; _Add(61534,cl_default); // stg_none _Add(61452,cl_default); // stg_checked _Add(61713,cl_default); // stg_checkedradio _Add(61590,cl_default); // stg_box _Add(61767,cl_default); // stg_boxexpanded _Add(61846,cl_default); // stg_boxexpand _Add(61658,cl_default); // stg_arrowright _Add(61656,cl_default); // stg_arrowup _Add(61657,cl_default); // stg_arrowleft _Add(61655,cl_default); // stg_arrowdown ... ... finally glyphs.free(); b.Free; end; Problem is that stock imagelist size is 15x15 but not all icons have to be this fixed size, for example circle for stg_checkedradio has to be much smaller - arround 10px, same for arrows for scrollbars and so on. For such "jump" between sizes I have to free tftglyphs instance and create it again with new height and all initializations. Hawing writable Height make it much easier and faster. Regards -- Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power your apps and projects. Get started today and enter our developer competition. http://sdm.link/oxford___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Form icon issue (again)
2017-03-08 7:55 GMT+01:00 Martin Schreiber: > > AFAIK you use options two_usedbus? Are there messages in 'View'-'Target > Console'? Maybe killing the application disturbs DBUS. > Please report if you find a reproducible testcase. > Yes, I use two_usedbus. I'll dig deeper when get it next time -- Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power your apps and projects. Get started today and enter our developer competition. http://sdm.link/oxford___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] fpCEF3 port?
2017-02-27 10:00 GMT+01:00 Martin Schreiber: > > > Why not? What does not work? Well, in LCL, "CreateBrowser" is called in virtual CreateWnd (this is where X / GDI handler is requested). With MSE Twidget I had to move "CreateBrowser" into construction because twidget.createwindow was never called. Result was that when create TChromium control, my whole application was cloned (even two buttons in task bar), but control by itself was not show. When changed to twindowwidget, createwindow is also not called. In which MSE method, X handler is received? This is not something urgent, just curiosity, I'm thinking about some hobby project. I'll back to this case over the weekend -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] fpCEF3 port?
Hi Martin, Is it possible (from technical view) port fpCEF3 since MSEgui has only one X window / GDI? Tried by my self, component is compiling but it doesn't work. I probably did something wrong, there was a lot of LCL methods Details: http://wiki.freepascal.org/fpCEF3 Regards -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Form icon issue (again)
Ok installed FPC 3.0.0 in my home directory and changed paths in MSEIDE configuration. Did quick tests and seems that tray icon is working perfect. Don't know what you meant with net_system_tray_opcode but I need to use two_usedbus option, without this option tray icon behave as previous (pop menu on wrong position etc). I'll do more tests tomorrow but looks very good, thanks a lot. BTW I have now KDE Plasma 5.8.5, got big stable release update week ago on my Linux Mint 18. Regards -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Form icon issue (again)
Yes, the goal for my project is to use FPC 3.0 but on my main machine I need to have FPC 2.6.4 due to my company restrictions. Never have two FPC versions on same OS, is it even possible? If not then I prepare new virtualbox guest with complete FPC 3.0 enviromnent -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Form icon issue (again)
I did git pull few minutes ago. Trying to build mymseide and getting a lot of compiler errors. I have FPC 2.6.4 64bit msedbusinterface.pas(639,37) Error: Incompatible types: got "PPTypeInfo" expected "PTypeInfo" msedbusinterface.pas(1092,22) Error: Identifier not found "pmanagedfield" msedbusinterface.pas(1092,22) Error: Error in type definition msedbusinterface.pas(1098,43) Error: Incompatible type for arg no. 1: Got "PPTypeInfo", expected "PTypeInfo" msedbusinterface.pas(1102,33) Error: identifier idents no member "managedfldcount" msedbusinterface.pas(1102,61) Error: identifier idents no member "managedfldcount" msedbusinterface.pas(1103,16) Error: identifier idents no member "managedfldcount" msedbusinterface.pas(1105,39) Error: Illegal qualifier msedbusinterface.pas(1106,5) Error: Operator is not overloaded: inc "" msedbusinterface.pas(1192,22) Error: Identifier not found "pmanagedfield" msedbusinterface.pas(1192,22) Error: Error in type definition msedbusinterface.pas(1199,40) Error: Incompatible type for arg no. 1: Got "PPTypeInfo", expected "PTypeInfo" msedbusinterface.pas(1203,33) Error: identifier idents no member "managedfldcount" msedbusinterface.pas(1203,61) Error: identifier idents no member "managedfldcount" msedbusinterface.pas(1204,16) Error: identifier idents no member "managedfldcount" msedbusinterface.pas(1206,33) Error: Illegal qualifier msedbusinterface.pas(1207,5) Error: Operator is not overloaded: inc "" msedbusinterface.pas(1367,19) Error: Identifier not found "pmanagedfield" msedbusinterface.pas(1367,19) Error: Error in type definition msedbusinterface.pas(1393,23) Error: Illegal qualifier msedbusinterface.pas(1393,23) Error: Ordinal or string expression expected msedbusinterface.pas(1393,23) Fatal: Syntax error, "OF" expected but "identifier KIND" found -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Form icon issue (again)
2017-01-02 17:38 GMT+01:00 Martin Schreiber: > > git master 30abcbe9abb89d1733fd75ca824227a258b8ed17 uses DBus if > available and > traywidget.options two_usedbus is set. Overhead and development effort are > crazy... > There are also workarounds for net_system_tray_opcode on newer window > managers > so it is possible that ttraywidget is usable on your KDE version without > two_usedbus. Thanks! I'll test this today evening -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Form icon issue (again)
2016-12-07 6:43 GMT+01:00 Martin Schreiber: > What happens with a MSEgui tray icon if the application has been closed > and started again? For me it shows only the first time. Work fine here on git master -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Form icon issue (again)
2016-12-06 20:31 GMT+01:00 Martin Schreiber: > > I don't know. Or KDE makes their compatibility layer so that it works with > Skype. Did you try to kill Skipe and check if the icon still works after > restart in the same session? Don't know if understood question. Did quick test: 1. Run skype 2. command "killall skype" 3. Tray icon disappear immediately 4. Run skype again 5. Tray icon show immediately too Linux Mint 18 KDE edition, Plasma 5.6.5 -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Form icon issue (again)
I'm not familiar with background but wondering how it is possible that on old Skype app which wasn't update from a years for linux, tray icon and pop up is still working fine? They build it on DBUS from the beginning? -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Form icon issue (again)
2016-12-06 18:36 GMT+01:00 Martin Schreiber <mse00...@gmail.com>: > On 11/27/2016 02:47 PM, Krzysztof wrote: > > 2016-11-26 17:54 GMT+01:00 Martin Schreiber <mse00...@gmail.com>: > >> > >> It seems most of current windowmanagers have broken support for the > >> net_system_tray_opcode protocol. That means that I must implement a > >> complete DBus interface in MSEgui. A very big Expenditure only in order > >> to show a tray icon, it will take a while. > > > > > > No problem. I do not hurry > > > The amount of work to show a tray icon on modern desktop environments is > completely crazy. A full blown DBus connection is necessary. And I fear > that there are slight differences in how the different environments > work. So currently I am not sure whether I have enough capacity to > finish the job. > The beauty of linux's distros defragmentation :/ . I'm wondering what awaits us when Wayland become more popular :( -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Form icon issue (again)
2016-11-26 17:54 GMT+01:00 Martin Schreiber: > > It seems most of current windowmanagers have broken support for the > net_system_tray_opcode protocol. That means that I must implement a > complete DBus interface in MSEgui. A very big Expenditure only in order > to show a tray icon, it will take a while. No problem. I do not hurry -- ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] twidgetgrid - how to hide standard popupmenu?
2016-11-24 7:11 GMT+01:00 Martin Schreiber <mse00...@gmail.com>: > > > On 23.11.2016 21:58, Krzysztof wrote: > > Hi Martin, > > > > Assigned own tpopupmenu to the twidgetgrid and it appear below > > standard popupmenu (Undo, Copy...). How to hide this standard menu and > > show only my? Can't find it in optionswidget. > > > Please disable tcustomgrid.optionsgrid og_autopopup. > Thanks. I need to update popup items before it show, is tpopupmenu.OnUpdate for it? Because tpopupmenu.menu.onbeforeexecute is never fired -- ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Form icon issue (again)
2016-11-23 19:00 GMT+01:00 Martin Schreiber: > > > On 21.11.2016 08:56, Martin Schreiber wrote: > > On 11/21/2016 08:26 AM, Martin Schreiber wrote: > >> I'll try with some other window manger in order to reproduce the > problem. > >> > > Yup, it happens with "modern" compositing window managers which seem to > > implement the embedding protocol differently. I'll try to find > workarounds. > > > It becomes difficult... > I spent many hours with experiments, see > https://www.mail-archive.com/kde-devel@kde.org/msg09024.html Did you look how Qt5 is handle it? Maybe you find something useful in qsystemtrayiconXXX: http://code.qt.io/cgit/qt/qtbase.git/tree/src/widgets/util -- ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] twidgetgrid - how to hide standard popupmenu?
Hi Martin, Assigned own tpopupmenu to the twidgetgrid and it appear below standard popupmenu (Undo, Copy...). How to hide this standard menu and show only my? Can't find it in optionswidget. Regards -- ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Form icon issue (again)
2016-11-23 19:00 GMT+01:00 Martin Schreiber: > > It becomes difficult... > I spent many hours with experiments, see > https://www.mail-archive.com/kde-devel@kde.org/msg09024.html That not sound good :/ On Linux Mint 18 I have KDE Plasma 5.6.5 but there is 5.8 on the way soon from kubuntu backports -- ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] ttreelistedititem.getselectednodes doesn't work?
2016-11-22 8:17 GMT+01:00 Martin Schreiber: > > > Another option is to set ttreeitemedit.itemlist.options > no_cellitemselect which updates ns_selected by the cell selection state. > Thanks! That is what I wanted, just get selected items without checkboxes -- ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] ttreelistedititem.getselectednodes doesn't work?
Hi Martin, How to get selected childs from ttreelistedititem? For example this code: procedure TfrmViewTree.PrintSelected(const sender: TObject); begin writeln(length(ttreeitemedit1.selecteditems),'|',Length(FLibraryNode.getselectednodes())); end; ttreeitemedit1.selecteditems return <>0 but FLibraryNode.getselectednodes() is 0. They have the same meanings right? Tried with all getnodemodety 1. Run attached demo 2. Select random node from "Library" root 3. Click "btnView" with opened console output. Regards mseselectednodes.7z Description: application/7z-compressed -- ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Form icon issue (again)
2016-11-19 10:59 GMT+01:00 Martin Schreiber: > Probably a sideeffect. Please try again with git master > e23b0fed97e80a2c1dc0d414fe3860c84af37f57. > Thanks. Mouse seems to responding fine now, but there are two issues which may could be improved: 1. Menu is showing on the screen's right edge. Can it show at icon as other tray menus? See attached movie 2. When main form is focused (or window from another program) then I have to right-click twice to show tray context menu. Seems like trayicon is stealing focus first, and then second right click is showing menu. Other apps dont' have this problem Video: https://drive.google.com/open?id=0B33a2H5HSPjSOWlZMjJJUFpKWVE -- ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Form icon issue (again)
Ahh forgot that form icon has own mask options :/ . Now everything is working fine except that tray regression. I'll try to debug this -- ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Expandtoroot - weird behavior
Fixed. Thanks! -- ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] Expandtoroot - weird behavior
Hi Martin, See attached video. I want to expand item to root. When I do this after first load then whole tree is messed up (duplicates in odd positions) and click on item raise exception. When I first expand and collapse items manually then expandtoroot work fine. Attached simple demo (click on left button) https://drive.google.com/open?id=0B33a2H5HSPjSd2llRHgtcUN1N1E Regards msetree.7z Description: application/7z-compressed -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] ttreelistedititem - different icon for expanded item
2016-11-07 8:13 GMT+01:00 Martin Schreiber: > > Works for me, see attachment. Do you use current MSEgui git master? > Support of > focused ellipse textflags caused several changes in basesystem. > Indeed. Updated git, removed all *.o and *.ppu from git and project source and now it is working perfect. I had git revision from last saturday. So seems that issue is outdated, sorry -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] ttreelistedititem - different icon for expanded item
2016-11-05 17:12 GMT+01:00 Martin Schreiber: > Works for me. Please send a simple program which shows the problem. Attached demo. Here is also video made with attached demo: https://drive.google.com/open?id=0B33a2H5HSPjSRjdMZnh2RU1QTEE Note: Treeview is added on mainform as frame testmseetree.7z Description: application/7z-compressed -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk