Author Topic: [fixed] 3.7.1-svn Problems with listbox hotkeys and screenshots  (Read 1335 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
My last checkin (rev 1924 ) already mentioned it: If you press "shift+e" a screenshot is taken. but you need this combination to use the new listbox navigation using shift+letter+button. ( By the way the list box hotkey feature is in menu state connected now too )
« Last Edit: 22 November 2012, 12:56:41 by tomreyn »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: 3.7.1-svn Problems with listbox hotkeys and screenshots
« Reply #1 on: 20 November 2012, 01:12:55 »
Fixed in svn rev#: 3931

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: 3.7.1-svn Problems with listbox hotkeys and screenshots
« Reply #2 on: 20 November 2012, 23:58:35 »
this still makes trouble because:

If I define the "!"-key to take a screenshot in the keyboard settings, I get into trouble now. That's because shit+1 is "!" on a german keyboard. This results in not beeing able to take screenshots now.

Update: For example the default key to show special teamcolor markers "*" is blocked too now ( at least on a german keyboard where "*" is reachable via "shift" )
« Last Edit: 21 November 2012, 00:12:02 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: 3.7.1-svn Problems with listbox hotkeys and screenshots
« Reply #3 on: 21 November 2012, 00:36:24 »
No easy solution for that. Cannot use ctrl or alt as they change the key being pressed.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: 3.7.1-svn Problems with listbox hotkeys and screenshots
« Reply #4 on: 21 November 2012, 18:30:34 »
I thought all day about this, but I have no idea how to fix it without complete UI changes.
So here a suggestion how to fix it for the moment:

- remove the new feature ( or better disable it )
- introducce a new feature where list boxes switch 10 steps at once if ctrl is pressed.
- revert the fix you did trying to fix this
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: 3.7.1-svn Problems with listbox hotkeys and screenshots
« Reply #5 on: 22 November 2012, 05:38:13 »
To me this sounds like the best approach, too. Thanks to everyone working on this.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: 3.7.1-svn Problems with listbox hotkeys and screenshots
« Reply #6 on: 22 November 2012, 06:16:31 »
I'm not sure if titi posted before or after i fixed the issue. What is the final direction we want to take (Based on the current svn functionality)?

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: 3.7.1-svn Problems with listbox hotkeys and screenshots
« Reply #7 on: 22 November 2012, 06:39:40 »
I just reviewed the situation. Titi posted this here on the forums before you committed r3938 and before you two last discussed it on IRC.
I'm having a hard time understanding the outcome of said discussion. If it's considered fixed by now then I guess this thread could be closed and it would help to state how it was fixed in the end.
Sorry if I'm complicating this matter.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: 3.7.1-svn Problems with listbox hotkeys and screenshots
« Reply #8 on: 22 November 2012, 09:27:16 »
For me all is working now and I would declare it as fixed at the moment. But maybe softcoder can tell us something about the exact behaviour we have now ?
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: [fixed] 3.7.1-svn Problems with listbox hotkeys and screenshots
« Reply #9 on: 22 November 2012, 17:00:13 »
Everything is as it was a few weeks ago (when shift-E caused screenshots) except for now when screenshots hoitkey is checked it CANNOT use ctrl, alt or shift with the screenshot hotkey. Everything else functions as it did before. Screenshot hotkey is unique because it is used for all screens in the game (in main.cpp)