You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I must have gone about creating the window the wrong way? It keeps blinking/flashing a lot. I have tested in multiple terminals (ExtraTerm, Gnome Terminal, Tilix, and Yakuake)
Here is one I just took, the quality is lacking in exchange for much higher framerate. You can definitely see the crazyness. https://i.imgur.com/YtnKnGQ.mp4
I don't believe I am doing anything incorrectly in code for the screen tearing/jitter, etc?
(P.S. Aside from these silly issues. I absolutely love the way things are starting to come out. It definitely takes some time and effort, but it really am starting to like the outcome)
funcCreateTableDialog(btn*ui.Button, tableTitlestring) {
tableDialog:=new(TableDialog)
// --- Obtain terminal overall size ----------------------------------cw, ch:=term.Size()
// --- Save current values to temp value until saved -----------------tmpAssetData=AssetDetail// --- Create new popup window for table data ------------------------tableDialog.View=ui.AddWindow(cw/2-75, ch/2-16, ui.AutoSize, ui.AutoSize, TxtAssetCodes)
ui.WindowManager().BeginUpdate()
deferui.WindowManager().EndUpdate()
tableDialog.View.SetGaps(1, ui.KeepValue)
tableDialog.View.SetModal(true)
tableDialog.View.SetPack(ui.Vertical)
tableDialog.Frame=NewFramedWindowInput(tableDialog.View, tableTitle, nil)
// --- Create data table ---------------------------------------------td:=ui.CreateTableView(tableDialog.Frame, 145, 15, 1)
ui.ActivateControl(tableDialog.Frame, td)
NewFramedWindow is just a smaller helper with some defaults that I can over ride by passing something in. Mostly for practice and helping make things a bit cleaner.
MostHated
changed the title
Editable list dialog
Popup/new windows seems to tear, quickly disappear/reappear, and go off frame occasionally for fraction of second when clcking on moving it.
Jun 8, 2019
Interesting effect. I did not move windows much with a mouse and did not notice it before. But after trying to move a windows in maindemo with mouse around fast, I experienced the same issue. I am not sure how to fix it - I'll look into it later
No problem. It is appreciated. It usually happens the most if you move one, but there are times when it also happens when scrolling up/down/left/right in a table or text field. It seems to only happen when there is one window overlapping another, and it is the top window that does it in my experience so far.
I must have gone about creating the window the wrong way? It keeps blinking/flashing a lot. I have tested in multiple terminals (ExtraTerm, Gnome Terminal, Tilix, and Yakuake)
Here is an example of the flashing:
https://i.imgur.com/sT3JOEx.gifv
https://i.imgur.com/b0OmaCI.gifv
Here is one I just took, the quality is lacking in exchange for much higher framerate. You can definitely see the crazyness.
https://i.imgur.com/YtnKnGQ.mp4
I don't believe I am doing anything incorrectly in code for the screen tearing/jitter, etc?
(P.S. Aside from these silly issues. I absolutely love the way things are starting to come out. It definitely takes some time and effort, but it really am starting to like the outcome)
NewFramedWindow is just a smaller helper with some defaults that I can over ride by passing something in. Mostly for practice and helping make things a bit cleaner.
The text was updated successfully, but these errors were encountered: