Skip to content

Entry no focus possible when table section title is set #24279

@tibuprophen

Description

@tibuprophen

Description

In a specific page layout, entry cells are not able to focus with a click (on simulators) or touch (on real device). This issue is new, but I am not sure when it first appeared.

Steps to Reproduce

  1. New Project
  2. Create the page layout like this:
<VerticalStackLayout>
    <TableView>
        <TableRoot>
            <!-- Removing Title property fixes the issue --> 
            <TableSection Title="Test">
                <EntryCell />
            </TableSection>
        </TableRoot>
    </TableView>
    <!-- Removing one of the EntryCell fixes the issue -->
    <Entry />
</VerticalStackLayout>
  1. Run the App on a simulator or real device. The Bug appears as described.
  2. I am not 100% sure, but some other Visual Elements are generating the same issue.

Link to public reproduction project repository

https://github.com/tibuprophen/MauiAppEntryTableSectionTitleBug

Version with bug

8.0.80 SR8

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 10 and up

Did you find any workaround?

See comments in code, but not really a workaround.

Relevant log output

After the first "missed" touch (when it should focus) the console is spammed with that:



08-16 14:00:12.494 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.497 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.498 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.498 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.510 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.514 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.518 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.518 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.526 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.529 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.533 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.533 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.544 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.549 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.554 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.554 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.563 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.567 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.571 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.571 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.580 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.584 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.588 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.590 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.596 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.600 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.603 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.603 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.612 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.615 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.617 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.618 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.628 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.631 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.634 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.634 D/InsetsController(11117): show(ime(), fromIme=true)
08-16 14:00:12.645 I/LatinIME( 1656): Starting input. Cursor position = 7,7
08-16 14:00:12.651 I/LatinIME( 1656): Starting input. Cursor position = 7,7

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-listviewListView and TableViewp/2Work that is important, but is currently not scheduled for releaseplatform/androidt/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions