Next card delay is working on iPad but not on Max - livecode

I have 2 cards and input command "go to next card" and "go to prev card" with effect.
The first card code on button:
on mouseUp
visual effect push left very fast
go to next card
end mouseUp
And the second card code on button:
on mouseUp
visual effect push right very fast
go to prev card
end mouseUp
It's delay is 2 seconds. I have tested it on iPad which works, but on Mac there is no delay.
I use livecode version 6.7(dp4) on macOS.
What's happening?
Thank you.

I have tested this with LiveCOde 6.0 on Mac OS X 10.6.8. Your code is correct and it works fine.
You don't write which version of Mac OS X you're using. Perhaps, this visual effect doesn't work correctly on your version of Mac OS X. Also, I have QuickTime 7.6.6 installed. If you have a different version of QT, this may be the culprit.
Perhaps your Mac is just too fast to show "very fast" visual effects. In this case, I would report it to RunRev as a bug and they might make a some small adjustment to make it work on your Mac and your version of OSX.
It is also possible that there is a bug in LiveCode 7, which makes the syntax dysfunctional. You may try this:
on mouseUp
lock screen for visual effect
go to next card
unlock screen with visual effect push left very fast
end mouseUp
When I read the LiveCode dictionary, I notice that most visual effects are listed together with the platform on which they work. There is no platform listed for the push effect. Perhaps there is a known problem that makes it not work on some versions of Mac OS X.
Either way, this is probably a bug and you might report it as such, if you want.

Related

Linux (POP OS) JetBrains applications has no top toolbar?

So I just installed Pop OS to my system, but notice, that neither of JetBrains apps has a top toolbar. Firstly, it's just a dark line, but after some time it just disappears.
Tried to install the software in a different ways, but got the same results. I cannot move the window, exit or minimize (since there is no options, of course), only resize it. Any ideas?
If anyone is wondering, the problem was, that "Show Window Titles" was disabled by default for me. You can turn it on on Extensions -> Pop Shell -> Show Window Titles.

The Godot Engine Editor's IDE/GUI seems to be slow and to ignore mouse interaction

I'm using Godot_v3.2.1-stable_win64.exe(current Godot version) on my Windows 10. When running a project everything seems to work fine but when using the actual IDE of the Godot engine it seems like the IDE screen doesn't update fluidly on every mouse interaction but like only every 5 seconds instead (as like FPS would be low).
So mostly on hovering or clicking something it would light up or be triggered after you clicked on some other thing elsewhere (which is stupid of course).
This makes it even impossible to hit a button sometimes in the IDE.
E.g. when renaming a file a Window/Box for renaming pops up but you do not see it, because the IDE screen isn't updated. So if you don't blindly click on the box (which you don't see) the option for renaming is lost, because the box closes when clicking anywhere else. See what I mean?
Thank you for listening. Have a great day.
This is a known issue. Try updating your graphics driver to the latest version provided by Intel (not your OEM).

QTabWidget tab switch shortcuts don't work under some Linux DE

I'm writing a rather complex editor with a huge number of keyboard shortcuts (or "hotkeys"), using standard Qt's way like QShortcut/QKeySequence. I have no prob with all this until the recent time.
For the QTabWidget easy tab switching i used documentation-recommended Alt- shortcuts, adding &-symbol to the tab's title text.But under Windows 7/Linux + Gnome 3 this way works well, and under Linux + KDE/Unity - it doesn't.I'm assume the problem is somethere in the X11 desktop environment shortcut handling mechanics. Maybe it handle Alt+ sequences itself and don't pass to the clients, for example.
Can i debug such situations in the clear way? Debugging the KDE code, for example, is too time-consuming :( Understand ALL Linux DEs shortcut code... the mission is completely impossible.
Or maybe i'm just using invalid way to write a really crossplatform Qt application?Or, the third option - i'm just catched a bug :)
This problem occurs due to Qt bug: https://bugreports.qt-project.org/browse/QTBUG-32908

Does anyone know how to map Microsoft's Instant Viewer mouse function to a keyboard?

After reading Jeff's review of Microsoft's Natural Ergonomic Keyboard 4000. I decided to get one. It comes with this really nice Instant Viewer feature that it assigns to the middle button of your mouse. Not wanting to lose my middle button "open in new tab" function. I wanted to assign it to the keyboard. I'v looked at task manager when using it and it seems to be part of the ipoint.exe.
Does anyone know if its possible to assign it to the keyboard and how?
Did you try to do it using Microsoft's keyboard software (IntelliType Pro) and mouse software (IntelliPoint)?
I just installed Intellitype Pro 7.1 on XP (I didn't install Intellipoint) and it does let you assign Instant Viewer to a key. You might need a Microsoft keyboard to use it though (you need an M$ mouse for Intellipoint).

Customizing/Replacing the Windows CE 5.0 Taskbar?

I'm currently getting my feet wet with Win CE 5.0 to update some code on an existing platform. We're interested in deploying a custom shell/home screen/application launcher as well and I had a couple questions:
1) We're running the standard CE shell and I'm assuming it can be customized because the source code is made available with Platform Builder. I was wondering how "painful" it would be to completely replace it with something like a status bar at the top of the screen (think iPhone). I was thinking task switching could then be handled by shortcut keys exclusively. I have my doubts about this.
2) If it can't be removed, can the taskbar be resized and moved to the top of the screen? We're basically trying to find a way to reserve the first 20 or so pixel rows at the top of the screen for our own status bar and prevent maximized application windows from drawing over top of it.
Thanks very much for the help.
-ksudeadeye
I was happy and angry when I found the solution because it's more easy than I expect.
For 2) reserve space you need to do this:
RECT rc;
SetRect(&rc, 0, 25, GetSystemMetrics(SM_CXSCREEN),GetSystemMetrics(SM_CYSCREEN));
SystemParametersInfoW(SPI_SETWORKAREA, 0, (void*) &rc, SPIF_SENDCHANGE);
With this code you reserve 25 pixels in the top of the screen.
:D
If you have doubts maybe this can help you or this.
Good luck.
To hide the task bar is a simple registry change:
; Hide the windows tasbar by default.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\AutoHide]
""=dword:1
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\OnTop]
""=dword:0
As far as customizing, your own, that is a little more work, and not something I've attempted.
I have some experience with modifying the taskbar in CE 5.0. It is not an easy task, but the results can really add that personal touch to the device. I was tasked with adding a user mode second taskbar with a password dialog and a second type of shell notification to add icons to the user bar.
In the end, it is just standard Windows CE programming - the taskbar, notification tray, start button, etc. are just like any other windows in the CE environment.
You should start exploring here:
C:\WINCE500\PUBLIC\SHELL\OAK\HPC\EXPLORER\TASKBAR\taskbar.cpp
Be careful, clone your code, and be prepared for lots of debug cycles. This is more than 5000 lines of serious spaghetti code.

Resources