Jump to content
The Dark Mod Forums

Recommended Posts

Posted (edited)

The layer hierarchy is very welcome!

 

edit: it doesn't seem to work when compiling from code on Linux...

Edited by thebigh

My missions:           Stand-alone                                                      Duncan Lynch series                              

                                      Down and Out on Newford Road              the Factory Heist

                                The Wizard's Treasure                             A House Call

                                                                                                  The House of deLisle                                                                                                  

                              

Posted
On 10/9/2022 at 4:08 PM, thebigh said:

The layer hierarchy is very welcome!

 

edit: it doesn't seem to work when compiling from code on Linux...

Did you file a bug report yet?  I noticed that I can drag the layers, but dropping them doesn't do anything.

Posted

Thanks for all the awesome work!!!!

I still have the issue with the brushes not being highlighted when selected in ortho views, clearly an AMD thing though.

I always assumed I'd taste like boot leather.

 

Posted
On 10/9/2022 at 10:08 PM, thebigh said:

edit: it doesn't seem to work when compiling from code on Linux...

I just pushed a fix to issue #6129 to github, I think it'll be working now

42 minutes ago, AluminumHaste said:

I still have the issue with the brushes not being highlighted when selected in ortho views, clearly an AMD thing though.

I wish I could do something about it... I have no machine with an AMD card around, neither at home nor at work, or anybody I know.

Posted
3 hours ago, greebo said:

I just pushed a fix to issue #6129 to github, I think it'll be working now

Yep, it's working now

My missions:           Stand-alone                                                      Duncan Lynch series                              

                                      Down and Out on Newford Road              the Factory Heist

                                The Wizard's Treasure                             A House Call

                                                                                                  The House of deLisle                                                                                                  

                              

Posted
6 hours ago, greebo said:

I just pushed a fix to issue #6129 to github, I think it'll be working now

I wish I could do something about it... I have no machine with an AMD card around, neither at home nor at work, or anybody I know.

You can remote into my desktop and run whatever tests you need to.

I always assumed I'd taste like boot leather.

 

Posted (edited)

I'm running linux; darkradiant compiled from source (most recent commit of master).

In the 'Regular' and 'RegularLeft' window layouts keyboard input doesn't work at all. Some windows (console or media browser) don't open.

The layer dialog does not work as supposed. I can't assign a parent layer by drag and drop. Hiding through the checkboxes does nothing. Everything else seems to work.

Maybe not a bug:

When the media browser is shown (or some other window with a search function) the search field captures keypresses. Which is really, really annoying and disruptive.

Edited by Baal
Posted
10 hours ago, Baal said:

In the 'Regular' and 'RegularLeft' window layouts keyboard input doesn't work at all. Some windows (console or media browser) don't open.

I can reproduce this. It doesn't surprise me much since these legacy GtkRadiant layouts are hardly maintained or tested these days. I recommend using the Dockable layout instead and dragging the dock windows to the positions you want.

10 hours ago, Baal said:

The layer dialog does not work as supposed. I can't assign a parent layer by drag and drop. Hiding through the checkboxes does nothing. Everything else seems to work.

I also see the checkboxes not doing anything. Drag and drop partially works for me, although I can only create a parent relationship. I cannot find a way to unparent a layer and bring it back to the top level.

10 hours ago, Baal said:

When the media browser is shown (or some other window with a search function) the search field captures keypresses. Which is really, really annoying and disruptive.

I think the Dockable layout would avoid that problem too (because the media browser would no longer be a top-level window).

Posted
Quote

these legacy GtkRadiant layouts are hardly maintained or tested these days. I recommend using the Dockable layout instead and dragging the dock windows to the positions you want.

I much prefer the old behaviour of opening the media browser or entity view in a temporary window. This way you can make them comfortably large and they dont't waste screen space when you don't need them (which is most of the time).

Quote

I think the Dockable layout would avoid that problem too (because the media browser would no longer be a top-level window).

Mostly yes. But it is still a problem. You cannot quickly switch to the media browser and then back to another view. I think this behaviour of capturing keys and stop shortcuts to work as expected is bad. If it's not to difficult to implement, I would say ditch the automatic search on keypress.

Posted
22 hours ago, OrbWeaver said:

I also see the checkboxes not doing anything. Drag and drop partially works for me, although I can only create a parent relationship. I cannot find a way to unparent a layer and bring it back to the top level.

Gotta love these little platform-specific differences. The wxDataViewEvent sent in wxGTK is not delivering the correct column, so the event handler is not reacting. I rewrote the event handler in #6130, the checkbox should work now.

About the drag-and-drop: this is another problem that seems to affect wxGTK only... in Windows, I can drag the layer to the top border of the view and it will deliver an empty target wxDataViewItem, which means make it toplevel - in wxGTK it doesn't seem to be possible to drag it to the top.(*)

I can think of two possibilities right away

  • either restrict the system such that the Default layer can never have child layers. Dragging a layer onto the Default layer will make the dragged layer a top-level layer
  • Add a context menu item called "Make Top-Level"

I don't like either of the two very much. Suggestions?

(*) Yes, there's a guard in the wxGTK event handler:

wxDataViewItem item(GetOwner()->GTKPathToItem(path));
if ( !item )
   return FALSE;

this prevents any empty item from being forwarded to the event.

Posted
2 minutes ago, Baal said:

Maybe drag the child onto the parent to unparent (make a sibling)?

Hm, I might try that to see if it feels intuitive.

Posted

Ok, hiding via the checkbox works now.

Drag and drop seems to work to, but I can't tell where I am dropping a node (above, below or on it). The highlight needs to colored more clearly.

  • Like 1
Posted

Yep, hiding layers via the checkbox works for me now as well. Rearranging the layers is still a bit unintuitive but that's no big deal.

My missions:           Stand-alone                                                      Duncan Lynch series                              

                                      Down and Out on Newford Road              the Factory Heist

                                The Wizard's Treasure                             A House Call

                                                                                                  The House of deLisle                                                                                                  

                              

Posted

I think the drop indicators are out of my control, they are subject to the platform wxWidgets is running on.

But I'm open to suggestions, if anyone has ideas on how to improve the hierarchy arrangement.

Posted
39 minutes ago, Baal said:

Is it possible to reorder layers with drag and drop?

It's sorted alphabetically right now. The layers don't persist any sort order in the map files.

40 minutes ago, Baal said:

Parenting and unparenting layers works; but it is trial and error.

Yes, drag and drop works much better in Windows, the wxGTK port is not giving good visual feedback about where you're going to drop the layer. 😑

Posted

After working with the layer hierarchy for a bit, I've come to the conclusion that only the leaf nodes should contain geometry. You can't easily select  a parent node alone; you have to move its contents to a child if you want to do that.

So instead of making one node the child of another node, they should be selected, then grouped. That would create a new, empty parent with the grouped layers as children.

Unless there is some error in my thinking, this makes more sense to me.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • snatcher

      Author of the Visible Player Hands mod: please come forth and collect a round of applause!
      · 2 replies
    • nbohr1more

      Holiday TDM Moddb article is now up: https://www.moddb.com/mods/the-dark-mod/news/happy-holidays-from-the-dark-mod
      · 0 replies
    • nbohr1more

      Cool thing: Thanksgiving break means I don't have to get my son up before dawn

      Not cool thing: My son stays up all night on my PC so I don't get much TDM time...
      · 3 replies
    • datiswous

      Does anyone know if the mission/map in this video posted by @Springheel can still be found somewhere and played? Looks like fun.
       
      · 2 replies
    • taffernicus

      I'm curious about doom and thief multiplayer netcode 😂 or how these games handle networking for multiplayer in general
      a youtube channel called battle(non)sense sometimes posts about netcode analysis
      · 2 replies
×
×
  • Create New...