[L2Ork-dev] ontop and resizable window properties

Ivica Ico Bukvic ico at vt.edu
Wed Jun 10 00:37:11 EDT 2020


Thanks. This may be a Windows issue or the fact that it uses 0.14.7. Any 
chance you can provide a quick  example change inside the pdgui.js that 
can test this? I tried messing with the manifest, as well as passing 
variables to the window creation and none of it worked. BTW, I noticed 
nw has a frame option which could allow for the creation of fake but 
nonetheless consistent window bars (for the sake of consistent sizing 
across different OSs).

Similarly, the way I got around of tkpath's also somewhat finicky 
scrollbars is that I built my own inside it (yeah, I am that big of a 
glutton for punishment...) which in turn resulted in semi-transparent 
scrollbars that did not mess anymore with patch being covered by 
scrollbars. Something for us to consider, as well? Needless to mention, 
it could look more... contemporary?

On a related note, is there a new binary release of nw.js for Windows 
and if so, why are we not using that by default?

Best,

Ico

On 6/9/2020 10:58 PM, Jonathan Wilkes wrote:
> On Tue, Jun 9, 2020 at 9:30 PM Jonathan Wilkes <jon.w.wilkes at gmail.com> wrote:
>> On Tue, Jun 9, 2020 at 8:05 PM Ivica Ico Bukvic <ico at vt.edu> wrote:
>>> Jonathan,
>>>
>>> Are these even possible to implement inside nw.js? I have been searching
>>> to solve resizable first and stumbled across a number of bug-reports
>>> inside nw community pointing to this still being an unresolved issue.
>>>
>>> The two are used in L2Ork to prevent students from messing with the
>>> window size and to ensure that relevant windows always remain on top of
>>> others in case there are unwanted pop-ups during a performance.
>> I would check with the most recent version of nw.js.
>>
>> If you download it and just click on the nw binary it will bring up a window
>> where you can right-click it and open devTools. There you can experiment
>> with the "resizable" method, setMaximumSize, setMinimumSize, etc.
> Btw-- can confirm all three methods work correctly on my Debian laptop.
>
> -Jonathan
>
>> -Jonathan
>>
>>> Best,
>>>
>>> Ico
>>>
>>> --
>>> Ivica Ico Bukvic, D.M.A.
>>> Director, Creativity + Innovation
>>> Institute for Creativity, Arts, and Technology
>>>
>>> Virginia Tech
>>> Creative Technologies in Music
>>> School of Performing Arts – 0141
>>> Blacksburg, VA 24061
>>> (540) 231-6139
>>> ico at vt.edu
>>>
>>> www.icat.vt.edu
>>> www.performingarts.vt.edu
>>> l2ork.icat.vt.edu
>>> ico.bukvic.net
>>>
>>> _______________________________________________
>>> L2Ork-dev mailing list
>>> L2Ork-dev at disis.music.vt.edu
>>> https://disis.music.vt.edu/listinfo/l2ork-dev
> _______________________________________________
> L2Ork-dev mailing list
> L2Ork-dev at disis.music.vt.edu
> https://disis.music.vt.edu/listinfo/l2ork-dev

-- 
Ivica Ico Bukvic, D.M.A.
Director, Creativity + Innovation
Institute for Creativity, Arts, and Technology

Virginia Tech
Creative Technologies in Music
School of Performing Arts – 0141
Blacksburg, VA 24061
(540) 231-6139
ico at vt.edu

www.icat.vt.edu
www.performingarts.vt.edu
l2ork.icat.vt.edu
ico.bukvic.net



More information about the L2Ork-dev mailing list